Skip to main content

endless-sky-parse

A working, tested Python conversion of the C++ parser for Endless Sky DataFiles

How to install

$ pip install endless-sky-parse

How to use

from endless_sky.datafile import DataFile

f = DataFile("/usr/share/games/endless-sky/data/human/ships.txt")
it = f.root.filter(["ship", "Blackbird"])
ship = next(it)
ship.children[0]
# DataNode(tokens=['sprite', 'ship/blackbird'], children=[])
next(ship.filter_first("description")).tokens[1][:80]
# 'The Tarazed Blackbird is a high-class passenger transport, designed to move larg'

Development

$ python -m venv venv && . venv/bin/activate
$ pip install -r dev_requirements.txt

Run tests with

$ python setup.py test

Metadata

Release files for endless-sky-parse 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for endless-sky-parse 0.1.2
File Size Uploaded Provenance Actions
endless-sky-parse-0.1.2.tar.gz 7.8 kB Without provenance Details for endless-sky-parse-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for endless-sky-parse 0.1.2
File Interpreter ABI Platform Actions
endless_sky_parse-0.1.2-py3-none-any.whl Python 3 none any Details for endless_sky_parse-0.1.2-py3-none-any.whl

Total release size: 13.5 kB

Release files / endless-sky-parse-0.1.2.tar.gz

Download URL endless-sky-parse-0.1.2.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
01a437d203934fe566fcba811c6397845f5d03459dd545ded5d28ae9db53ede7
BLAKE2b-256 checksum
How to use checksums
6d1daf57664ab2cf4255702d3bd4cc213c102badb693b0e446fb00accecd4269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

Release files / endless_sky_parse-0.1.2-py3-none-any.whl

Download URL endless_sky_parse-0.1.2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
763a51aa7473d81c42919ddfe22510ee8ac4cb1fa3a743009befb58a5212dc58
BLAKE2b-256 checksum
How to use checksums
47b79edd496161db87fe688963e181e9bb9453a7eb58c5f87a8184502d025685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

Security for endless-sky-parse 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page