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 test.pypi
python -m twine upload --repository-url https://test.pypi.org/legacy/ 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-0.0.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for countries_utils-0.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f1c151e06f01b352ec11c692146a54a35c740b20bd3aeab1d861cf16d37e39 |
|
MD5 | d53546ee8b8f291bc89c12d7b98e357f |
|
BLAKE2b-256 | 4b54cf4852b917ffe4770131655b0b8abe8bbc6811d6d577ae0f1bcf1490bcf1 |