Skip to main content

FarmDirect Core AI Library

This is the core intelligence engine for the FarmDirect platform. It powers the Android/iOS application with AI capabilities, running offline via Chaquopy or online via a backend API.

Features

  • Demand Prediction: Analyze market trends to predict product demand.
  • Smart Pricing: Get AI-driven pricing recommendations based on competition.
  • Crop Health: (In-development) Image analysis for disease detection.

Installation

pip install farmdirect-core

Usage

from farmdirect_core.ai_engine import engine

# Predict Demand
result = engine.predict_demand('{"product_name": "Tomato", "price": 40, "season": "winter"}')
print(result)

# Get Pricing Advice
advice = engine.recommend_pricing("Tomato", 40.0, 45.0)
print(advice)

License

This project is licensed under the Business Source License 1.1 (BSL 1.1). See LICENSE for details.

Metadata

Release files for farmdirect-core 0.1.0

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

Source distribution (sdist)

Source distribution for farmdirect-core 0.1.0
File Size Uploaded Provenance
farmdirect_core-0.1.0.tar.gz 2.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for farmdirect-core 0.1.0
File Interpreter ABI Platform
farmdirect_core-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / farmdirect_core-0.1.0.tar.gz

Download URL farmdirect_core-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
79d3aa0d8b589f446e34a7486ece89add60356b0affe885804c656fa8cebf299
BLAKE2b-256 checksum
How to use checksums
0d2f06d4328729b12659978e960b00caea07f93327395b487530f92d9de9554b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Release files / farmdirect_core-0.1.0-py3-none-any.whl

Download URL farmdirect_core-0.1.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30024dc95a38abcbf589f3803b02f6b986bdb9dd6e46435ff948baa82e758565
BLAKE2b-256 checksum
How to use checksums
fb6e9c3d29501bf04f99dec83d4af3c744970a6068c0f9b3d19d8a901e431225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Security for farmdirect-core 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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