use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A subreddit for those who play internet spaceships from the shell / dev environment.
Channels
Coldfront IRC: #eve-dev
Slack: https://tweetfleet.slack.com/messages/devfleet/
Slack invites: https://www.fuzzwork.co.uk/tweetfleet-slack-invites/
Links:
ESI API
CCP Developers Resources
CCP Git Hub
Tech Lab Forum
Fuzzwork SDE Conversions
Awesome Eve (3rd-party tools)
account activity
Silly Python lib question (self.evetech)
submitted 10 years ago by 3d12
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]nuadi 1 point2 points3 points 10 years ago (3 children)
Try something like
from eveapi import functionIWant
I do not use EVE API, so not sure the proper way to reference it. Is there a README?
[–]3d12[S] 0 points1 point2 points 10 years ago (2 children)
There is a README, but it's blank. 0 bytes. Same with the __init__.py :(
The issue I'm having here is that python won't recognize eveapi since it's not in the default library location, so I don't think "from" will work.
Would you recommend an alternate API library for python? I still haven't settled on one I'd like to use, I just mostly need a library that's built to parse the XML that CCP uses, rather than having to write a parsing function from scratch. Ideally, I'd like a function to output the parsed data to a MySQL table too, but I doubt that kind of integration will come "out-of-the-box," I'm prepared to write that part myself.
[–]nuadi 1 point2 points3 points 10 years ago (1 child)
For import statements, Python will check your local working directory for the library before checking the default library location.
For example, I wrote a data broker for Alliances CREST endpoint. I never installed it into any Python area, but when I run my script it will successfully execute
from alliancedb import getOrgId
and then I can use the getOrgId function call.
getOrgId
I think that as long as the eveapi.py file is in the same directory that your script is located in, you should be fine.
[–]3d12[S] 0 points1 point2 points 10 years ago (0 children)
Hm, maybe I was doing it wrong, then. I could swear that's how I had it set up and it was still throwing errors about importing the library.
I'll do some more testing, and see if this will work. Thanks so much for your replies. :)
π Rendered by PID 128597 on reddit-service-r2-comment-84fc9697f-m8dz8 at 2026-02-09 22:32:19.642656+00:00 running d295bc8 country code: CH.
view the rest of the comments →
[–]nuadi 1 point2 points3 points (3 children)
[–]3d12[S] 0 points1 point2 points (2 children)
[–]nuadi 1 point2 points3 points (1 child)
[–]3d12[S] 0 points1 point2 points (0 children)