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 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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 123d3c7d1a4013ebd540818220119068c598928a48d44b7c868c2bc223d03de1 |
|
MD5 | 9cd5d59161117689b41253eabab97394 |
|
BLAKE2b-256 | 1f33fe4fed91d3441d002019d97f2b80776c0eb637752a7f77fd3fbb6c8dbe15 |
Hashes for vavacars_data_utils-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb1d0d58da3f627cef94f7d99f7c439b4c172d69cc9af04d13dca977bbc948c6 |
|
MD5 | 1e358b4d3a9144c432a7e6db3682f930 |
|
BLAKE2b-256 | 892dcf419cc36310d67131f7bb1d96dde7edd14b9208b5c06714a63184f87c01 |