Skip to main content

Collects daily rice prices from CBSL (Central Bank of Sri Lanka) reports.

Project description

CBSL Rice Price Collector

PyPI Build

rice_price_collector collects rice prices from the CBSL website and provides tools for downloading, parsing, and processing rice price data.


Installation

Install from PyPI:

pip install cbsl_rice_price_collector

Or install from source:

git clone https://github.com/ChamoChiran/rice_price_collector.git
cd rice_price_collector
pip install .

Usage

Download rice price PDFs and process them:

from rice_price_collector.downloader import pdf_downloader
from rice_price_collector.parser import parser

# Download PDFs
data_dir = "./data/raw/2024"
pdf_downloader.download_pdfs(data_dir)

# Parse PDFs
parsed_data = parser.parse_pdfs(data_dir)

See the docs for more details and advanced usage.


Project Organization

├── LICENSE
├── Makefile
├── README.md
├── data/
│   ├── processed/
│   └── raw/
├── docs/
├── models/
├── notebooks/
├── pyproject.toml
├── references/
├── reports/
│   └── figures/
├── requirements.txt
├── rice_price_collector/
│   ├── __init__.py
│   ├── config.py
│   ├── downloader/
│   └── parser/
└── tests/

Contributing

Contributions are welcome! Please open issues or pull requests for improvements or bug fixes.

License

This project is licensed under the terms of the MIT License. See the LICENSE file for details.

Contact

For questions or support, open an issue or contact ChamoChiran.

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

rice_price_collector-0.1.3.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

rice_price_collector-0.1.3-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file rice_price_collector-0.1.3.tar.gz.

File metadata

  • Download URL: rice_price_collector-0.1.3.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rice_price_collector-0.1.3.tar.gz
Algorithm Hash digest
SHA256 db360180b7adb80b17d9ac8535b30ce7a823489e7f74a63b8f96b21f7f3d0eb5
MD5 70f0d8abf9fa1720eccf0f8afe3c7f23
BLAKE2b-256 7a2a9c9fec084833466c6c034fabb79ddf73554516a99ca79b545d4f1cb04182

See more details on using hashes here.

File details

Details for the file rice_price_collector-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for rice_price_collector-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1fc87966a9e5dd2a43a4693b79e22851ccb29d20b1be13e580dbae1225eb2e80
MD5 6e79cc3846c33db2973ee7e0e589afd6
BLAKE2b-256 fad86f4e680b1888b96194b66609bf327938b1c06367ba5f4c830bd0e8c0d8bc

See more details on using hashes here.

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