What's it?
It is a simple contracts loader with storage and filtering functionality for official UzAuto dealers.
Basic use case
from uzautoprom import InMemoryDB, RLoader, FullMatchField
import local_settings
db = InMemoryDB(
RLoader(local_settings.LOGIN, local_settings.PASSWORD).contracts()
)
spark_contracts = db.contracts(
FullMatchField("Модель", "SPARK")
)
print(spark_contracts)
About
uzautoprom produce 3 abstract classes:
- Field — representation of contract field used for flexible filtering
- Database — storage and filter contracts
- Loader — contracts loader
Built-in realizations:
- RLoader - based on requests sessions loader
- FullMatchField - field, whose match criteria is full matching
- StrictlessMatchField - field, whose match criteria is containing field value
- InMemoryDB - simple in memory database
Install
pip install uzautoprom
Metadata
Release files for uzautoprom 1.4
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 | Actions |
|---|---|---|---|---|
| uzautoprom-1.4.tar.gz | 4.9 kB | Without provenance | Details for uzautoprom-1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uzautoprom-1.4-py3-none-any.whl | Python 3 | none | any | Details for uzautoprom-1.4-py3-none-any.whl |
Total release size: 17.4 kB
Release files / uzautoprom-1.4.tar.gz
| Download URL | uzautoprom-1.4.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02b73e84a4f50c1046e7b845161205202dae5bfbdb6c868c382744396c3e4954
|
|
BLAKE2b-256 checksum How to use checksums |
dabd8b270f6775ea0dceb31708680cec8a77a626916127cabd21446c337031ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|
Release files / uzautoprom-1.4-py3-none-any.whl
| Download URL | uzautoprom-1.4-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d5f762f3b5ac5a17f035a17216b6f71268ebf2195ab338926925bc92c057f98
|
|
BLAKE2b-256 checksum How to use checksums |
90120eb2d5978b046861daff56f51049f98b0817c9a872dec1cb84af04686f17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|
Security for uzautoprom 1.4
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.