Skip to main content

Data from https://github.com/EDCD/FDevIDs bundled in Python data structures.

Project description

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'}

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 to the code in this repository only.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fdev_ids-1.2.0.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fdev_ids-1.2.0-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file fdev_ids-1.2.0.tar.gz.

File metadata

  • Download URL: fdev_ids-1.2.0.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for fdev_ids-1.2.0.tar.gz
Algorithm Hash digest
SHA256 49024060e216a19989e51f8b90f09c3f76b584580def51c33859246c87b0d98d
MD5 f202b989d7ab115b6577ad81c1ab6809
BLAKE2b-256 7e4f692eebba38234e5b1a0c96e7d3c71dd7064420e6bef2b7d0f86ee67c7360

See more details on using hashes here.

File details

Details for the file fdev_ids-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: fdev_ids-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for fdev_ids-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4667ba6c2ac7c959a3c03b9a952076b0e3a6b73ed35fa2866a301978fc01a258
MD5 526582d1ee4b42dcf158c3b1f2c06828
BLAKE2b-256 9b90d5c556682c43f5ca081e82a8901391ede8e3bc4abc4f326f3907f672b0c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page