Skip to main content

Country Info CloudCity

A simple wrapper around pycountry that collects all relevant data for a countr

  • Country info
  • Languages
  • Currency
from cc_country import CountryInfo

# An example on how to use this:
"""
be_result = CountryInfo('BE')
print(be_result.__dict__)

be_result = {
    'country_code': 'BE',
    'languages': {
        'nl': {'alpha_2': 'nl', 'alpha_3': 'nld', 'bibliographic': 'dut', 'name': 'Dutch', 'scope': 'I', 'type': 'L'},
        'fr': {'alpha_2': 'fr', 'alpha_3': 'fra', 'bibliographic': 'fre', 'name': 'French', 'scope': 'I', 'type': 'L'},
        'de': {'alpha_2': 'de', 'alpha_3': 'deu', 'bibliographic': 'ger', 'name': 'German', 'scope': 'I', 'type': 'L'}},
    'country': {
        'alpha_2': 'BE', 'alpha_3': 'BEL', 'flag': '🇧🇪', 'name': 'Belgium', 'numeric': '056',
        'official_name': 'Kingdom of Belgium'},
    'currency': {
        'alpha_3': 'EUR', 'name': 'Euro', 'numeric': '978'},
    'search_res': {
        'name': 'Belgium', 'native': 'België', 'phone': [32], 'continent': 'EU', 'capital': 'Brussels',
        'currency': ['EUR'],
        'languages': ['nl', 'fr', 'de']
    }
}
"""

if __name__ == '__main__':
    c = CountryInfo('BE')
    print(c.__dict__)

Metadata

Release files for countryinfo-cloudcity 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for countryinfo-cloudcity 1.0.5
File Size Uploaded Provenance Actions
countryinfo-cloudcity-1.0.5.tar.gz 12.7 kB Without provenance Details for countryinfo-cloudcity-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for countryinfo-cloudcity 1.0.5
File Interpreter ABI Platform Actions
countryinfo_cloudcity-1.0.5-py3-none-any.whl Python 3 none any Details for countryinfo_cloudcity-1.0.5-py3-none-any.whl

Total release size: 25.4 kB

Release files / countryinfo-cloudcity-1.0.5.tar.gz

Download URL countryinfo-cloudcity-1.0.5.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
805a328d21eb121ee2c82d79d8436674cd4fe1aaae72cbb640bbf17a949c7179
BLAKE2b-256 checksum
How to use checksums
a32b673f21d6700060434678bf9465b42f264e0df280abbbafe2956be536cf81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / countryinfo_cloudcity-1.0.5-py3-none-any.whl

Download URL countryinfo_cloudcity-1.0.5-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44fcf3dd9922487d2e97ee9f75aa993f68743a0a42f5fbaf132c589a3800509a
BLAKE2b-256 checksum
How to use checksums
946ed2060e13a7a1ea9d7b0d9bfed07510a693216dc46f7b66d2135ef2a48fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Security for countryinfo-cloudcity 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page