eveprosper / prosperapi Goto Github PK
View Code? Open in Web Editor NEWAPI endpoints for working with EVE Prosper data sources
License: MIT License
API endpoints for working with EVE Prosper data sources
License: MIT License
https://pypi.python.org/pypi/pytest-pylint/0.7.0
Add pylint validation to pytest test suite.
In an effort to subdue crawlers, add a robots.txt
to publicAPI/static
Notes:
publicAPI/static
to MANIFEST.in
publicAPI/static/*
to package_data
in setup.py
test_crest_endpoint.py
Though we are covered for exceptions with req.raise_for_status()
we are not capturing all the error information.
All deployed apps should report their version. Move version into publicAPI/_version.py
and add a /CREST/info/version
REST endpoint to check it
For parallel containers, a shared cache is desired.
TinyDB
connections to tinymongo
onespymongo
connectionBe able to roll readthedocs.org docs for project. Also, allow for test failure if docstrings aren't acceptable
Use intelpython docker package: https://software.intel.com/en-us/articles/docker-images-for-intel-python
Config/Logger utilities were overhauled in v0.2.x to v0.3.x. Need to upgrade/update calls to config and how logger is created
PLEX 29668
is splitting on May 9th
Database will need to backfill the split, and handle the type conversion across split-date.
Expected behavior
typeid=29668
: newplex * 500typeid=44992
: oldplex / 500EMD requests are causing major issues:
self.chunk_left = int(line, 16)
E ValueError: invalid literal for int() with base 16: b''
https://travis-ci.org/EVEprosper/ProsperAPI/builds/482103441#L703
ESI calls are failing ~1%. Add retry
[ERROR:crest_utils.py--fetch_market_history:354]
ERROR: unable to fetch market history from CREST
type_id: 39
region_id: 10000002
Traceback (most recent call last):
File "/opt/venvs/prosper-api/lib/python3.5/site-packages/publicAPI/crest_utils.py", line 343, in fetch_market_history
config=config
File "/opt/venvs/prosper-api/lib/python3.5/site-packages/publicAPI/crest_utils.py", line 303, in fetch_esi_endpoint
req.raise_for_status()
File "/opt/venvs/prosper-api/lib/python3.5/site-packages/requests/models.py", line 909, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://esi.tech.ccp.is/latest/markets/10000002/history/?datasource=tranquility&type_id=39
[ERROR:forecast_utils.py--fetch_extended_history:201]
ERROR: trouble getting data from CREST
region_id=10000002
type_id=39
Traceback (most recent call last):
File "/opt/venvs/prosper-api/lib/python3.5/site-packages/publicAPI/crest_utils.py", line 343, in fetch_market_history
config=config
File "/opt/venvs/prosper-api/lib/python3.5/site-packages/publicAPI/crest_utils.py", line 303, in fetch_esi_endpoint
req.raise_for_status()
File "/opt/venvs/prosper-api/lib/python3.5/site-packages/requests/models.py", line 909, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://esi.tech.ccp.is/latest/markets/10000002/history/?datasource=tranquility&type_id=39
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/venvs/prosper-api/lib/python3.5/site-packages/publicAPI/forecast_utils.py", line 194, in fetch_extended_history
logger=logger
File "/opt/venvs/prosper-api/lib/python3.5/site-packages/publicAPI/crest_utils.py", line 361, in fetch_market_history
mode.name
publicAPI.exceptions.CRESTBadMarketData```
Right after logger.info()
at the start of each get()
, a record should be saved of the following:
args
of requestThis should be saved somewhere other than cache
to avoid steamrolling when installing. /var/
or /opt/
might be the place. In testmode, could save to ROOT
level of project. Add path to app.cfg
Improve performance by making sure ujson is integrated everywhere in the stack it should be.
Update system to take advantage of new packaging on ProsperCommon.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.