Scientific mass arbitration engine for the India-Bangladesh trade corridor.
Project description
phytrade v1.1.8: The Global Standard for Trade Physics
High-precision thermodynamic deconvolution and mass arbitration for international commerce.
phytrade is a specialized Python engine designed to resolve mass discrepancies in porous materials (Cotton, Jute, etc.) by reconciling scientific equilibrium with commercial regulatory standards.
🚀 Key Features (v1.1.8)
- ASABE D245.7 Compliance: Implements the Modified Halsey Equation using certified agricultural engineering coefficients.
- ASTM D2495 Interoperability: Bridges the gap between scientific Equilibrium Moisture Content (EMC) and commercial weight allowances.
- Mass Arbitration: Identify "Ghost Weight" variances in maritime and land-based cargo.
- Audit-Ready Reporting: Generates timestamped reports with legal and scientific citations.
🛠 Installation
pip install phytrade
##Resolving a dispute
from phytrade.engine import MassArbitrator
# Initialize the Arbitrator for a Cotton shipment
arb = MassArbitrator(material="Cotton")
# Run a side-by-side audit of ASABE vs ASTM standards
audit = arb.arbitrate(mass=25000, moisture=0.12, rh=75, temp_c=32)
print(f"ASABE Scientific Mass: {audit['asabe_scientific_mass']} kg")
print(f"ASTM Commercial Mass: {audit['astm_commercial_mass']} kg")
print(f"Variance: {audit['variance_kg']} kg")
print(f"Verdict: {audit['verdict']}")
Project details
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 phytrade-1.1.8.tar.gz.
File metadata
- Download URL: phytrade-1.1.8.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70a9279c43f141635825c7d5dd9b2de9e755079bacef5a94ba28417d66330e91
|
|
| MD5 |
b6a590f7d8c4dbc408be6b8b2941eae2
|
|
| BLAKE2b-256 |
b2fcd15a2fc1857c3e1556407dd15b53118ba66750630c12c5c4d6de656fbb8f
|
Provenance
The following attestation bundles were made for phytrade-1.1.8.tar.gz:
Publisher:
publish.yml on ksaad20/phytrade
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phytrade-1.1.8.tar.gz -
Subject digest:
70a9279c43f141635825c7d5dd9b2de9e755079bacef5a94ba28417d66330e91 - Sigstore transparency entry: 1219735050
- Sigstore integration time:
-
Permalink:
ksaad20/phytrade@0a03288e0e58687b088f9e7bf8937c69a7d9a023 -
Branch / Tag:
refs/tags/v1.1.8 - Owner: https://github.com/ksaad20
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0a03288e0e58687b088f9e7bf8937c69a7d9a023 -
Trigger Event:
push
-
Statement type:
File details
Details for the file phytrade-1.1.8-py3-none-any.whl.
File metadata
- Download URL: phytrade-1.1.8-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dc8c6034ae8ae396526eff95d4cc7d17c49a7d808858cfdb55c462b560fc843
|
|
| MD5 |
c9ea1db737eedb239c156a404899de4f
|
|
| BLAKE2b-256 |
fdea16c59198fe29c76ca51df2799ac802e9ff14f798566412820a4ecc20c0e7
|
Provenance
The following attestation bundles were made for phytrade-1.1.8-py3-none-any.whl:
Publisher:
publish.yml on ksaad20/phytrade
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phytrade-1.1.8-py3-none-any.whl -
Subject digest:
4dc8c6034ae8ae396526eff95d4cc7d17c49a7d808858cfdb55c462b560fc843 - Sigstore transparency entry: 1219735060
- Sigstore integration time:
-
Permalink:
ksaad20/phytrade@0a03288e0e58687b088f9e7bf8937c69a7d9a023 -
Branch / Tag:
refs/tags/v1.1.8 - Owner: https://github.com/ksaad20
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0a03288e0e58687b088f9e7bf8937c69a7d9a023 -
Trigger Event:
push
-
Statement type: