Python tools for travel demand forecasting applications and analyses
Project description
Balsa (wsp-balsa)
Balsa is a collection of functions and tools for Python to facilitate travel demand forecasting applications and analyses. It is designed to work the the “scientific stack” of Python, namely NumPy, Pandas, and Matplotlib; which are optimized for speed and usability. Most of balsa consists of standalone functions - for input/output, for analysis, etc. - as well as a few lightweight class-based data structures for specific applications.
[!IMPORTANT] As of v2.0, this package is imported using
wsp_balsainstead ofbalsa
Key features
- I/O routines to convert from binary matrix formats (INRO, OMX, and more) to Pandas DataFrames and Series
- Matrix operations such as balancing, dis/aggregation, triple-indexing, and bucket rounding
- Plotting functions such a Trip Length Frequency Distributions
- Pretty Logging utilities for use in program applications
- and more!
Balsa is compatible with Python 3.7+
Installation
[!NOTE] For TRESO v1.4 (and older) users: TRESO is only compatible with the
v0.6.1release of Balsa, which can only be installed directly from GitHub usingpip.
Balsa can be installed with the following command:
pip install wsp-balsa
With pip directly from GitHub
Balsa can be installed directly from GitHub using pip by running the following command:
pip install git+https://github.com/wsp-sag/balsa.git
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 wsp_balsa-2.1.7.tar.gz.
File metadata
- Download URL: wsp_balsa-2.1.7.tar.gz
- Upload date:
- Size: 159.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27b17a147ee362e9a995402180f6cc4a4f01af2a8e6127358fa60503a4247155
|
|
| MD5 |
1b8999ca2ce0ca87b76a9cbd76f3fce2
|
|
| BLAKE2b-256 |
0351adb3f4f95871b1b2bcd17af85d35aa0278b31ad69342ac4e060dad4f57ef
|
Provenance
The following attestation bundles were made for wsp_balsa-2.1.7.tar.gz:
Publisher:
python-publish.yml on wsp-sag/wsp-balsa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wsp_balsa-2.1.7.tar.gz -
Subject digest:
27b17a147ee362e9a995402180f6cc4a4f01af2a8e6127358fa60503a4247155 - Sigstore transparency entry: 635234887
- Sigstore integration time:
-
Permalink:
wsp-sag/wsp-balsa@30f4849b36bfbce58afb590d2db55a4eac9340b1 -
Branch / Tag:
refs/tags/v2.1.7 - Owner: https://github.com/wsp-sag
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@30f4849b36bfbce58afb590d2db55a4eac9340b1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wsp_balsa-2.1.7-py3-none-any.whl.
File metadata
- Download URL: wsp_balsa-2.1.7-py3-none-any.whl
- Upload date:
- Size: 48.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
754f1b5a0abc44d0be987c7db94c9c8726e9af278c5ebb8d6b49a3f5569e69ee
|
|
| MD5 |
d9478236dcacaee2a63dc98d46449a04
|
|
| BLAKE2b-256 |
13e51bdfbc65e431093f2ca6ef25a427b8384a942aead54a3c3add5760460a3b
|
Provenance
The following attestation bundles were made for wsp_balsa-2.1.7-py3-none-any.whl:
Publisher:
python-publish.yml on wsp-sag/wsp-balsa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wsp_balsa-2.1.7-py3-none-any.whl -
Subject digest:
754f1b5a0abc44d0be987c7db94c9c8726e9af278c5ebb8d6b49a3f5569e69ee - Sigstore transparency entry: 635234902
- Sigstore integration time:
-
Permalink:
wsp-sag/wsp-balsa@30f4849b36bfbce58afb590d2db55a4eac9340b1 -
Branch / Tag:
refs/tags/v2.1.7 - Owner: https://github.com/wsp-sag
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@30f4849b36bfbce58afb590d2db55a4eac9340b1 -
Trigger Event:
release
-
Statement type: