nfiparcel
Python package for parcel analysis and rating.
features
- contract definitions
- zoning
- rates
- safe-guard functions
- use python-fedex if does not exist
- override with python-fedex for lanes
- python-fedex usa-all
python package development
shipments.csv
| origin_zip | dest_zip | weight |
|---|---|---|
| 07981 | 19106 | 10.2 |
| 19106 | 07981 | 5.6 |
zones.csv
ziprange: destination zip 3 or 5-digit.
filename: origin zip 5-digit.
| ziprange | zipzone | filename |
|---|---|---|
| 716-725 | 7 | 99400-99499 |
| 72611-72752 | 6 | 99400-99499 |
groundrates.csv
| weight | zones | ||
|---|---|---|---|
| lbs. | 2 | 3 | 4 |
| 1.0 | $7.37 | $7.37 | $7.37 |
| 2.0 | $7.37 | $7.37 | $7.37 |
| 3.0 | $7.37 | $7.37 | $7.37 |
python script
from nfiparcel import RateHelper
rh = RateHelper(zones='zones.csv', groundrates='groundrates.csv')
df = rh.ratecsv('shipments.csv')
Metadata
Release files for nfiparcel 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nfiparcel-0.0.0.tar.gz | 2.4 kB | Without provenance | Details for nfiparcel-0.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nfiparcel-0.0.0-py3-none-any.whl | Python 3 | none | any | Details for nfiparcel-0.0.0-py3-none-any.whl |
Total release size: 5.9 kB
Release files / nfiparcel-0.0.0.tar.gz
| Download URL | nfiparcel-0.0.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7979e9706b8976aa30eee64d803efbc6c77aa8a3ffdde6874a77dcc5cfa1461
|
|
BLAKE2b-256 checksum How to use checksums |
f3f4833bfffda749ee9dc0ad75c3329f80160a83fbd1012189b1ac504bed7ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / nfiparcel-0.0.0-py3-none-any.whl
| Download URL | nfiparcel-0.0.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
12537389f55e8d7a626b0924dfb7cf33a5ed065bda6a265113c5f53b8d7e9b59
|
|
BLAKE2b-256 checksum How to use checksums |
508d51851eb4ea7c5e15f02232d78e12ea33a472fd5dc2763d65652b3165f235
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for nfiparcel 0.0.0
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.