CairoVolt Price Tracker
A lightweight Python library to parse, format, and validate technical specifications and pricing structures for electronics and audio accessories.
This library was built by CairoVolt to automate stock synchronization and spec validation for online WooCommerce shops. For more details on running a web store, see the WooCommerce Wikipedia page.
Features
- Price Formatting: Easily format currency in EGP, USD, or EUR.
- Specification Validation: Validate charger wattages, battery capacities, and Bluetooth profiles.
- Data Export: Export structured JSON specifications for platforms like Anker and Soundcore devices.
Installation
pip install cairovolt-price-tracker
Usage
Here is a quick example of how to validate the specifications of a popular earbuds model like soundcore r50i:
from cairovolt_price_tracker.core import SpecValidator
# Initialize validator
validator = SpecValidator()
# Define product specs
product_specs = {
"brand": "Soundcore",
"model": "R50i",
"type": "Earbuds",
"driver_size_mm": 10,
"playtime_hours": 30,
"bluetooth_version": "5.3"
}
# Validate specs
is_valid, report = validator.validate(product_specs)
print(f"Is valid: {is_valid}")
print(report)
For guidelines on packaging similar Python projects, check the Python Packaging User Guide.
License
MIT
Metadata
Release files for cairovolt-price-tracker 1.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 | |
|---|---|---|---|---|
| cairovolt_price_tracker-1.0.0.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cairovolt_price_tracker-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / cairovolt_price_tracker-1.0.0.tar.gz
| Download URL | cairovolt_price_tracker-1.0.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da044db6a6103a465801660d9841c7c97f8458fd7da8b7c8d37bdb00d1f0205a
|
|
BLAKE2b-256 checksum How to use checksums |
3736403c77114c519667a9a4da103e71f25e5d6ba10542e52b8aace6fe0c8b5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / cairovolt_price_tracker-1.0.0-py3-none-any.whl
| Download URL | cairovolt_price_tracker-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5602313a51eb79645158acd7752e64e5d20a7421568bf00ff2db7803c443201
|
|
BLAKE2b-256 checksum How to use checksums |
cf1b06aa185f95d1551fb22cc9ded110db7be3a2f34e048ea77c507230ae80db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for cairovolt-price-tracker 1.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.