An open-source tool for collecting railway codes used in different UK rail industry systems.
Project description
PyRCS
PyRCS is an open-source Python package designed to simplify the collection and management of diverse codes used in different systems within the UK rail industry. It serves as a practical toolkit for researchers, practitioners, and individuals who frequently interact with the Railway Codes website and work extensively with railway codes in the UK. Leveraging the capabilities of the Python programming language, PyRCS enables efficient access to 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 listed on the Railway Codes website, PyRCS automatically loads the corresponding pre-packaged data for that category by default. Additionally, it provides functionality that enables direct access to the latest data from the data source website, ensuring users can stay updated with the most current information. Furthermore, PyRCS users can conveniently update the relevant pre-packaged data, keeping their data 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 release of pyrcs from PyPI via pip:
pip install --upgrade pyrcs
Please also refer to Installation for more information.
Quick start
For a concise guide on how to utilise PyRCS, we recommend checking out the quick-start tutorial, which features multiple illustrative examples for three frequently used code categories in the UK railway system:
- Location identifiers (CRS, NLC, TIPLOC and STANOX codes)
- Engineer’s Line References (ELRs) and their associated mileage files
- Railway station data (mileages, operators and grid coordinates)
Documentation
The complete PyRCS documentation: [HTML] [PDF].
It is hosted on ReadTheDocs and provides a wealth of detailed examples.
License
PyRCS is licensed under GNU General Public License v3 or later (GPLv3+).
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.
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{qian_fu_pyrcs_4026744,
author = {Qian Fu},
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},
url = {https://doi.org/10.5281/zenodo.4026744}
}
(Please also refer to the export options from Zenodo to reference the specific version of PyRCS as appropriate.)
Contributors
Qian Fu 🌱 💻 🧪 📖 |
Firtun 📖 |
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
Built Distribution
File details
Details for the file pyrcs-0.3.7.tar.gz
.
File metadata
- Download URL: pyrcs-0.3.7.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aecc1b844bd94cc520dc2fadcaf9457531c98abceb0d238bf2b098145497953 |
|
MD5 | ef347f154bf6c64cf6b7febb4b4dfba8 |
|
BLAKE2b-256 | b074dee1efdd71800498f6c1763b1e5aed200f4e27fa6094e0fe1b0476b84694 |
File details
Details for the file pyrcs-0.3.7-py3-none-any.whl
.
File metadata
- Download URL: pyrcs-0.3.7-py3-none-any.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b922d0fe2962fa09ca1080f86fe8f476ecbfc658c6af90d7294c784b5aec069 |
|
MD5 | fd2dd9ebd9eecfe88655736e5d851a69 |
|
BLAKE2b-256 | 382b9ef2227600fd9b3bf5ca54b48f6b1742ef53a52ea710b09469376f98dfb5 |