Skip to main content

Pytnm

A module supporting geospatial template creation, geometry conversion, and reporting for noise analyses conducted utilizing the United States Federal Highway Administration's (FHWA) Traffic Noise Model (TNM) 2.5

Installation

pip install pytnm

Create geospatial template for use in GIS editing software

from pytnm.utils import template

output_directory = "~/projects/tnm_project"
# create receiver template
template.create_receivers(output_directory)
# create existing roadway template template
template.create_existing_roadway(output_directory)
# create noise barrier template
template.create_barrier(output_directory)

Convert geospatial template files into STAMNA file, for importing into TNM 2.5

from pytnm.utils import stamina

output_directory = "~/projects/tnm_project"
condition = "Existing" | "Build" | "NoBuild" # specify which noise model
receivers = "path/to/receiver.shp"
roadways = "path/to/<existing>|<proposed>_roadway.shp"
barriers = "path/to/barrier.shp"

stamina.write_stamina_file(output_directory, condition, receivers, roadways, barriers)

Metadata

Release files for pytnm 1.1

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

Source distribution (sdist)

Source distribution for pytnm 1.1
File Size Uploaded Provenance Actions
pytnm-1.1.tar.gz 17.2 kB Without provenance Details for pytnm-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytnm 1.1
File Interpreter ABI Platform Actions
pytnm-1.1-py3-none-any.whl Python 3 none any Details for pytnm-1.1-py3-none-any.whl

Total release size: 36.3 kB

Release files / pytnm-1.1.tar.gz

Download URL pytnm-1.1.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ff98334b39ef302afd37e5f78dadcc06087d79c8019557d9cdec17714270d217
BLAKE2b-256 checksum
How to use checksums
2a80f94d3882d49cc77ef890d7462aa13d8b189f2ee2c73b89bb41e91375e9fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.5

Release files / pytnm-1.1-py3-none-any.whl

Download URL pytnm-1.1-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31ca25e4c73d8b35c38e36e08413f80c37cdd4f8df16ee83b11329984a050d6c
BLAKE2b-256 checksum
How to use checksums
18ede499fadb939eeb720bbe5bd0fc0353f1fe76f1672c35858d5af67cace34d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.5

Security for pytnm 1.1

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.

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