Package with utils
Project description
Vavacars
Vavacars utils library.
Installation
To use the library, simply install it with pip or add into requirements.txt
python3 -m pip install --updgrade vavacars_data_utils
Usage
The library includes a series of common utilities we are using in Vavacars
SIQ
- Wrapper to get quotations from SIQ
Turkey specifics:
- turkish_to_datetime(str): Date conversion from turkish dates
Other:
- get_best_match(value, list_values): Find closest string in a list (used for bodytypes, trimlevels, ...)
- deep_get(dictionary, nested_keyss)
Building
First, update at least the version number in setup.cfg
Next, install build package in your environment:
python3 -m pip install --upgrade build
Then you can run python3 -m build
to generate the distribution, this will generate the distribution files under dist/ folder. Check the folder as it may contain the files from the previous build.
Publishing
To publish it we are using twine, so first install it:
python3 -m pip install --upgrade twine
And then you can publish it running (from this folder), it will ask you for credentials in the registry:
twine upload -r VavaCars.DS dist/*
For more details, check: https://packaging.python.org/en/latest/tutorials/packaging-projects/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for vavacars_data_utils-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58200e65619d3709814bc913b8b8ebed5cb8bc9e6f024d97a581d28d9806fb5b |
|
MD5 | 9e488edd4ad8edeaea5d530e8fe8325c |
|
BLAKE2b-256 | bed4c3c2de246f020d8b0e65124d57b4f22513ba91997ae70f8348c6f372e9db |
Hashes for vavacars_data_utils-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad42f22d328b6af220eaaa503c87f7f3b04556ebb7829caf57a73f4b3abe60b |
|
MD5 | 45d1346dbddec5d19dd3905621faa278 |
|
BLAKE2b-256 | 8a5dce2c0b5fdaefc47eec09be3733a41558dbf303fe5de4e356891203e4f3ad |