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 --upgrade 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)
- return_on_failure(f,v): Run function f and return v if f yields any exception in other case it will retun f() result
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 pypi 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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09ca8d27d913b15e68a53f671b12e9a557317a3b912f4ba4d2e42e56798794f6 |
|
MD5 | d5ee2ab451e5bab973808032516dd830 |
|
BLAKE2b-256 | 6b7874445d4eff573b4220614a50197da43110c0ca3ef654b14cf501a511f28e |
Hashes for vavacars_data_utils-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f880962d08e5e3ba797dcb436001aa6282b4dd7aa4b1f12ef3cea94c96c80b36 |
|
MD5 | 55449ed6202e4538a12c3a007afb5a9e |
|
BLAKE2b-256 | 910b84190d3243525a6353ba8f39dbb36e499787266b76d64be057941378325f |