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, CField

import local_settings


db = InMemoryDB(
  RLoader(local_settings.LOGIN, local_settings.PASSWORD).contracts()
)

spark_contracts = db.contracts(
  CField("Модель", "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 — load contracts

Built-in realizations:

  • RLoader - based on requests sessions loader
  • CField - simple implementation of Field abc.
  • InMemoryDB - simple in memory database.

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.

Files for uzautoprom, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size uzautoprom-1.3-py3-none-any.whl (11.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size uzautoprom-1.3.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page