fdev-ids-python
Data from https://github.com/EDCD/FDevIDs bundled in Python data structures.
Installation
pip install fdev-ids
Usage
Load a table by specifying the lowercase table name:
>>> from pprint import pprint
>>> from fdev_ids import load_table
>>> bundles = load_table("bundles")
>>> pprint(bundles)
{129030471: {'id': 129030471,
'name': 'AX COMBAT JUMPSTART ALLIANCE CHIEFTAIN',
'sku': 'FORC_FDEV_V_CHIEFTAIN_BUNDLE_001'},
129030472: {'id': 129030472,
'name': 'LASER MINING JUMPSTART TYPE-6',
'sku': 'FORC_FDEV_V_TYPE6_BUNDLE_001'},
129030473: {'id': 129030473,
'name': 'EXPLORATION JUMPSTART DIAMONDBACK EXPLORER',
'sku': 'FORC_FDEV_V_DIAMOND_EXPLORER_BUNDLE_001'},
129030512: {'id': 129030512,
'name': 'PYTHON MK II STELLAR',
'sku': 'FORC_FDEV_V_PYTHON_MKII_BUNDLE_001'},
129030519: {'id': 129030519,
'name': 'PYTHON MK II STANDARD',
'sku': 'FORC_FDEV_V_PYTHON_MKII_BUNDLE_002'}}
Tables with a single value per ID return the value directly for each ID:
>>> factionids = load_table("factionids")
>>> pprint(factionids)
{'$faction_Alliance;': 'Alliance',
'$faction_Empire;': 'Empire',
'$faction_Federation;': 'Federation',
'$faction_FrontlineSolutions;': 'Frontline Solutions',
'$faction_Independent;': 'Independent',
'$faction_Pirate;': 'Pirate',
'$faction_Thargoid;': 'Thargoid',
'$faction_none;': 'None'}
Similarily when only the ID is defined:
>>> dockingdeniedreasons = load_table("dockingdeniedreasons")
>>> pprint(dockingdeniedreasons)
{'ActiveFighter': 'ActiveFighter',
'Distance': 'Distance',
'Hostile': 'Hostile',
'NoSpace': 'NoSpace',
'Offences': 'Offences',
'RestrictedAccess': 'RestrictedAccess',
'TooLarge': 'TooLarge'}
The list of available tables is stored in the tables module variable:
>>> from fdev_ids import tables
>>> pprint(tables)
('bundles',
'combatrank',
'commodity',
'cqcrank',
'crimes',
'dockingdeniedreasons',
'economy',
'empirerank',
'engineers',
'explorationrank',
'factionids',
'factionstate',
'federationrank',
'government',
'happiness',
'material',
'microresources',
'outfitting',
'passengers',
'rare_commodity',
'rings',
'security',
'shipyard',
'sku',
'systemallegiance',
'terraformingstate',
'traderank')
Notes
The tables are lazily loaded and cached on first access. Subsequent loading of a table returns the cached data.
Terms of Use
The data contained in this package is based on publicly available information sourced from https://github.com/EDCD/FDevIDs and subject to the Elite Dangerous EULA and Terms of Use.
The MIT license applies only to the code in this repository.
Issues & support
Report issues with the package itself at https://codeberg.org/jdlbt/fdev-ids-python/issues.
For issues with or updates to the data tables, refer to https://github.com/EDCD/FDevIDs/issues.
Development
See CONTRIBUTING.
Metadata
Release files for fdev-ids 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fdev_ids-1.6.0.tar.gz | 42.6 kB | Without provenance | Details for fdev_ids-1.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fdev_ids-1.6.0-py3-none-any.whl | Python 3 | none | any | Details for fdev_ids-1.6.0-py3-none-any.whl |
Total release size: 89.0 kB
Release files / fdev_ids-1.6.0.tar.gz
| Download URL | fdev_ids-1.6.0.tar.gz |
|---|---|
| Size | 42.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b41acc6db916f85eec22c44f7185e87becb819e1e6d2b85c63474492813b8e15
|
|
BLAKE2b-256 checksum How to use checksums |
cf7c044fec9dade16313da9e5c47f45506f77d7424297d2ea62c182b43e527ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.9
|
Release files / fdev_ids-1.6.0-py3-none-any.whl
| Download URL | fdev_ids-1.6.0-py3-none-any.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c4a785fd6fa748eda8d001a32b6587e59a36d4cc2a6f8101d89d1c0017eb24d
|
|
BLAKE2b-256 checksum How to use checksums |
6b94d85d2d52686e48563b98930c771ce79d34f21efae66bbab37e1c691962a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.9
|
Security for fdev-ids 1.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.