Skip to main content

Simple contracts loader with storage and filtering functionality for official UzAuto dealers.

Project description

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:

Install

pip install uzautoprom

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

uzautoprom-1.4.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

uzautoprom-1.4-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

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