Skip to main content

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

phytrade-1.1.8.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phytrade-1.1.8-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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

Hashes for phytrade-1.1.8.tar.gz
Algorithm Hash digest
SHA256 70a9279c43f141635825c7d5dd9b2de9e755079bacef5a94ba28417d66330e91
MD5 b6a590f7d8c4dbc408be6b8b2941eae2
BLAKE2b-256 b2fcd15a2fc1857c3e1556407dd15b53118ba66750630c12c5c4d6de656fbb8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for phytrade-1.1.8.tar.gz:

Publisher: publish.yml on ksaad20/phytrade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for phytrade-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4dc8c6034ae8ae396526eff95d4cc7d17c49a7d808858cfdb55c462b560fc843
MD5 c9ea1db737eedb239c156a404899de4f
BLAKE2b-256 fdea16c59198fe29c76ca51df2799ac802e9ff14f798566412820a4ecc20c0e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for phytrade-1.1.8-py3-none-any.whl:

Publisher: publish.yml on ksaad20/phytrade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page