Utils to deal with pycountry and country_list packages
Project description
countries-utils
Utils used by the dunning service wrapper. See https://bitbucket.org/altf1be/dunningcashflow.git
- Get the list of countries stored in the field "place" in transactions stored in twikey.
- The places are written either in FR, EN or NL.
- The method returns a List of places in English and a Set of those places if the places are using the above-mentioned languages
usage
- install the package from the test.pypi :
pip install -i https://test.pypi.org/simple/ countries-utils
dependencies
- pycountry https://pypi.org/project/pycountry
- country_list https://pypi.org/project/country_list
Build the package
-
python setup.py sdist bdist_wheel
-
upload the library on pypi.org
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
-
upload the library on pypi.org
python -m twine upload dist/*
test the library
pipenv run python countries_utils_unittest.py
Documentation
- Packaging Python Projects https://packaging.python.org/tutorials/packaging-projects/
- Managing Application Dependencies https://packaging.python.org/tutorials/managing-dependencies/#managing-dependencies
- Packaging and distributing projects https://packaging.python.org/guides/distributing-packages-using-setuptools/#distributing-packages
License
Copyright (c) ALT-F1 SPRL, Abdelkrim Boujraf. All rights reserved.
Licensed under the EUPL License, Version 1.2.
See LICENSE in the project root for license information.
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
countries-utils-1.0.3.tar.gz
(35.0 kB
view hashes)
Built Distribution
Close
Hashes for countries_utils-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0eb1e9fdbc9a3bc3e1b2da5684ff16b295e6c302a3db20df707c61efed33900 |
|
MD5 | ecf83f2994ef49694ffbc22733aad306 |
|
BLAKE2b-256 | ddbbf0a109281af2a7f2f4a1afd39016fc44bee0ab0ac44cb8e0db742ae37cdd |