Skip to main content

An open-source tool for collecting railway codes used in different UK rail industry systems

Project description

PyRCS

Python Version License ReadTheDocs Documentation GitHub Actions Workflow Status Codacy - Code Quality Codecov - Test Coverage DOI

PyRCS is an open-source Python package that simplifies the collection and management of railway codes used across different systems in the UK rail industry. It provides a practical toolkit for researchers, practitioners and frequent users of the Railway Codes website who work extensively with railway codes in the UK. By leveraging Python's capabilities, PyRCS enables efficient access, retrieval and manipulation of railway code data, enhancing productivity and effectiveness in working with these codes.

During installation, PyRCS includes a set of pre-packaged data. When users request data from a specific category on the Railway Codes website, PyRCS loads the corresponding pre-packaged data for that category by default. Additionally, it provides functionality for direct access to the latest data from the source website, ensuring users stay up to date. Users can also update the pre-packaged data as needed, keeping their resources synchronized with the latest developments.

With PyRCS, users can leverage Python's power to streamline workflows and enhance productivity when working with railway codes in the UK rail industry.

Installation

To install the latest version of pyrcs from PyPI via pip:

$ pip install --upgrade pyrcs

For more information, see the Installation.

Quick start

For a concise guide on how to use PyRCS, check out the Quick Start tutorial, which includes illustrative examples for three frequently-used code categories in the UK railway system:

Documentation

The complete PyRCS Documentation is available in HTML and PDF formats.

It is hosted on Read the Docs, and the HTML version is also accessible via GitHub Pages. The documentation includes detailed examples, tutorials and comprehensive references to help users get the most out of PyRCS.

Cite as

Fu, Q. (2020). PyRCS: an open-source tool for collecting railway codes used in different UK rail industry systems. Zenodo. doi:10.5281/zenodo.4026744

@software{Fu_PyRCS_2020,
    author = {Fu, Qian},
    title = {{PyRCS: An open-source tool for collecting railway codes used in different UK rail industry systems}},
    year = 2020,
    publisher = {Zenodo},
    doi = {10.5281/zenodo.4026744},
    license = {MIT},
    url = {https://github.com/mikeqfu/pyrcs}
}

For specific version references, please refer to Zenodo.

License

PyRCS is licensed under the MIT License.

Please note that this project was initially licensed under the GPLv3+ up to version 0.3.7. Starting with version 1.0.0, it has been re-licensed under the MIT License.

Acknowledgement

PyRCS uses data available from the Railway Codes website. The time and effort that the website's editor and all contributors put in making the site and data available are fully credited.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

pyrcs-1.0.4.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

pyrcs-1.0.4-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file pyrcs-1.0.4.tar.gz.

File metadata

  • Download URL: pyrcs-1.0.4.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pyrcs-1.0.4.tar.gz
Algorithm Hash digest
SHA256 e583564847c7aa6e2d0368e5c5c09ce6c1c75890dd186d5ccfb191f1a9c1dbc4
MD5 a82181df503f03679459124f309cd070
BLAKE2b-256 cf226053c34f4d0d78adcec0dd6e11f5db90cde23deb44ce4ca518d3be9738bd

See more details on using hashes here.

File details

Details for the file pyrcs-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: pyrcs-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for pyrcs-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 94d45365d23ae587947a2dd627eab51de4c66997390eff8bda10799aa2a8c610
MD5 1ab8b8d6cd04dd5cf8f8d8ed6acf5508
BLAKE2b-256 e0be50bc1a6cd702901759d5bf7971ed8f84b8a88b44083f840112a07b6ab733

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