Metadata-Version: 2.1
Name: uzautoprom
Version: 1.4
Summary: Simple contracts loader with storage and filtering functionality for official UzAuto dealers.
Home-page: https://github.com/IlhomBahoraliev/uzautoprom
Author: LidaRandom
Author-email: bahoralievdev@yandex.com
License: UNKNOWN
Description: ## What's it?
        It is a simple contracts loader with storage and filtering functionality for official UzAuto dealers.
        ## Basic use case
        ```python
        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](https://github.com/IlhomBahoraliev/uzautoprom/blob/master/uzautoprom/abc/field.py) — representation of contract field used for flexible filtering
        - [Database](https://github.com/IlhomBahoraliev/uzautoprom/blob/master/uzautoprom/abc/database.py) — storage and filter contracts
        - [Loader](https://github.com/IlhomBahoraliev/uzautoprom/blob/master/uzautoprom/abc/loader.py) — contracts loader
        ### Built-in realizations:
        - [RLoader](https://github.com/IlhomBahoraliev/uzautoprom/blob/master/uzautoprom/rloader.py) - based on requests sessions loader
        - [FullMatchField](https://github.com/IlhomBahoraliev/uzautoprom/blob/master/uzautoprom/fmfield.py) - field, whose match criteria is full matching
        - [StrictlessMatchField](https://github.com/IlhomBahoraliev/uzautoprom/blob/master/uzautoprom/sfield.py) - field, whose match criteria is containing field value
        - [InMemoryDB](https://github.com/IlhomBahoraliev/uzautoprom/blob/master/uzautoprom/imdb.py) - simple in memory database
        ## Install
        ```bash
        pip install uzautoprom
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
