CAF package for extracting and analysing NTEM data.
Project description
CAF.ntem
CAF package for extracting and analysing NTEM data.
Common Analytical Framework
This package sits within the Common Analytical Framework (CAF), which is a collaboration between transport bodies in the UK to develop and maintain commonly used transport analytics and appraisal tools.
Maintainers
- Kieran Fishwick (Kieran-Fishwick-TfN)
- Matt Buckley (MattBuckley-TfN)
Contributing
CAF.ntem happily accepts contributions.
The best way to contribute to this project is to go to the issues tab and report bugs or submit a feature request. This helps CAF.ntem become more stable and full-featured. Please check the closed bugs before submitting a bug report to see if your question has already been answered.
Please see our contribution guidelines for details on contributing to the codebase or documentation.
Documentation
Documentation is created using Sphinx and is hosted online at cafntem.readthedocs.
The documentation can be built locally once all the docs requirements
(docs/requirements.txt) are installed into your Python environment.
The provided make batch file, (inside the docs folder), allow for building the documentation in
various target formats. The command for building the documentation is make {target}
(called from within docs/), where {target} is the type of documentation format to build. A full
list of all available target formats can be seen by running the make command without any
arguments but the two most common are detailed below.
HTML
The HTML documentation (seen on Read the Docs) can be built using the make html command, this
will build the web-based documentation and provide an index.html file as the homepage,
docs/build/html/index.html.
The PDF documentation has some other requirements before it can be built as Sphinx will first
build a LaTeX version of the documentation and then use an
installed TeX distribution to build the PDF from those. If you already have a TeX distribution
setup then you can build the PDF with make latexpdf, otherwise follow the instructions below.
Installing LaTeX on Windows is best done using MiKTeX, as this provides a simple way of handling any additional TeX packages. Details of other operating systems and TeX distributions can be found on the Getting LaTeX page on LaTeX's website.
MiKTeX provides an installer on its website miktex.org/download, which will run through the process of getting it installed and setup. In addition to MiKTeX the specific process Sphinx uses for building PDFs is Latexmk, which is a Perl script and so requires Perl to be installed on your machine, this can be done with an installer provided by Strawberry Perl.
Once MiKTex and Perl are installed you are able to build the PDF from the LaTeX files, Sphinx
provides a target (latexpdf) which builds the LaTeX files then immediately builds the PDF. When
running make latexpdf MiKTeX may ask for permission to installed some required TeX packages.
Once the command has finished the PDF will be located at
docs/build/latex/cafntem.pdf.
Versioning
The CAF.NTEM codebase follows Semantic Versioning; the convention for most software products. In summary, this means the version numbers should be read in the following way.
Given a version number MAJOR.MINOR.PATCH (e.g. 1.0.0), increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards compatible manner, and
- PATCH version when you make backwards compatible bug fixes.
Note that the main branch of this repository contains a work in progress, and may not contain a stable version of the codebase. We aim to keep the main branch stable, but for the most stable versions, please see the releases page on GitHub. A log of all patches made between versions can also be found there.
Credit
This project was created using the Common Analytical Framework cookiecutter template found here: https://github.com/Transport-for-the-North/cookiecutter-caf
This project provides an alternate interface to the UK Department for Transport's (DfT) National Trip End Model (NTEM) data which can be found here: https://www.data.gov.uk/dataset/11bc7aaf-ddf6-4133-a91d-84e6f20a663e/national-trip-end-model-ntem
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file caf_ntem-0.1.1.tar.gz.
File metadata
- Download URL: caf_ntem-0.1.1.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee479b6afb078d7a0cec46ebabbd69bc5f644ab8b24fdd86580ba44ae2010275
|
|
| MD5 |
3d91a2fbef12b5be4f37e84804294aca
|
|
| BLAKE2b-256 |
2b0166826f85538d984defa65821907642273653851274fad256bc350b53a901
|
Provenance
The following attestation bundles were made for caf_ntem-0.1.1.tar.gz:
Publisher:
release.yml on Transport-for-the-North/caf.ntem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
caf_ntem-0.1.1.tar.gz -
Subject digest:
ee479b6afb078d7a0cec46ebabbd69bc5f644ab8b24fdd86580ba44ae2010275 - Sigstore transparency entry: 200724393
- Sigstore integration time:
-
Permalink:
Transport-for-the-North/caf.ntem@371a65c6c30366bc3307bc71fd40974332200daa -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Transport-for-the-North
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@371a65c6c30366bc3307bc71fd40974332200daa -
Trigger Event:
release
-
Statement type:
File details
Details for the file caf_ntem-0.1.1-py3-none-any.whl.
File metadata
- Download URL: caf_ntem-0.1.1-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f375143f3248fd885a27215424335064542f31aa264a9b517036b0eb04938bf
|
|
| MD5 |
9fb5434cea514ad65de0082a090271ea
|
|
| BLAKE2b-256 |
97b204bc05a046e4a37c5730f28fc81d74bd939e9429a2c01eaa72d6ebeb0958
|
Provenance
The following attestation bundles were made for caf_ntem-0.1.1-py3-none-any.whl:
Publisher:
release.yml on Transport-for-the-North/caf.ntem
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
caf_ntem-0.1.1-py3-none-any.whl -
Subject digest:
6f375143f3248fd885a27215424335064542f31aa264a9b517036b0eb04938bf - Sigstore transparency entry: 200724404
- Sigstore integration time:
-
Permalink:
Transport-for-the-North/caf.ntem@371a65c6c30366bc3307bc71fd40974332200daa -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Transport-for-the-North
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@371a65c6c30366bc3307bc71fd40974332200daa -
Trigger Event:
release
-
Statement type: