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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b71811b02b6a08e2a0212316f66af2bc1d61b3b91424dbf6e57d9817880561bf |
|
MD5 | 11c254096c68dd263ef589f768778c29 |
|
BLAKE2b-256 | 6b9512dde2acff4779a017692319b8c57c28b0680e0083cacfc0f09628047a9f |
Hashes for vavacars_data_utils-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4441fa9186f07e2dc1923f32461d0b9e0864c23747a9618896ed1d094a00c65 |
|
MD5 | ac1bd7d1d296944df751873b7fef28b9 |
|
BLAKE2b-256 | bbf590f01821d7d2ce97d234fc9de9321112a10da1ff25958968481645ed01bc |