Skip to main content

python-geoacumen-city

Installation

pip install python-geoacumen-city

Usage

>>> import geoacumen_city
>>> import maxminddb
>>> reader = maxminddb.open_database(geoacumen_city.db_path)
>>> reader.get("1.1.1.1")
{'city': {'names': {'en': 'Sydney'}},
 'continent': {'code': 'OC',
  'geoname_id': 6255151,
  'names': {'de': 'Ozeanien',
   'en': 'Oceania',
   'es': 'Oceanía',
   'fa': 'اقیانوسیه',
   'fr': 'Océanie',
   'ja': 'オセアニア',
   'ko': '오세아니아',
   'pt-BR': 'Oceania',
   'ru': 'Океания',
   'zh-CN': '大洋洲'}},
 'country': {'geoname_id': 2077456,
  'is_in_european_union': False,
  'iso_code': 'AU',
  'names': {'de': 'Australien',
   'en': 'Australia',
   'es': 'Australia',
   'fa': 'استرالیا',
   'fr': 'Australie',
   'ja': 'オーストラリア',
   'ko': '오스트레일리아',
   'pt-BR': 'Austrália',
   'ru': 'Австралия',
   'zh-CN': '澳大利亚'}},
 'location': {'latitude': -33.8688, 'longitude': 151.209},
 'subdivisions': [{'names': {'en': 'New South Wales'}}]}
>>>

Note that you must still comply with the requirements of the DB-IP license specified here: https://db-ip.com/db/download/ip-to-city-lite

That is the following:

You are free to use this IP to City Lite database in your application, provided you give attribution to DB-IP.com for the data.

In the case of a web application, you must include a link back to DB-IP.com on pages that display or use results from the database. You may do it by pasting the HTML code snippet below into your code :

<a href='https://db-ip.com'>IP Geolocation by DB-IP</a>

Metadata

Release files for python-geoacumen-city 2026.11.20

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

Source distribution (sdist)

Source distribution for python-geoacumen-city 2026.11.20
File Size Uploaded Provenance Actions
python_geoacumen_city-2026.11.20.tar.gz 60.2 MB Without provenance Details for python_geoacumen_city-2026.11.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-geoacumen-city 2026.11.20
File Interpreter ABI Platform Actions
python_geoacumen_city-2026.11.20-py3-none-any.whl Python 3 none any Details for python_geoacumen_city-2026.11.20-py3-none-any.whl

Total release size: 120.7 MB

Release files / python_geoacumen_city-2026.11.20.tar.gz

Download URL python_geoacumen_city-2026.11.20.tar.gz
Size 60.2 MB
Tags Source
SHA-256 checksum
How to use checksums
377f232f84abe108cc0be771b2370a2b9485fafeab179b9cc2771dd1f1471313
BLAKE2b-256 checksum
How to use checksums
dfe914e7f5f647defe8924aeab32908031573a9e7a63e74524ea4c71e643798c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / python_geoacumen_city-2026.11.20-py3-none-any.whl

Download URL python_geoacumen_city-2026.11.20-py3-none-any.whl
Size 60.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ca9525d46ed33c1e23cf5a0c5a120428bd1392ec887632a8ca24a5bd85e5f50c
BLAKE2b-256 checksum
How to use checksums
f21c44b05ad7d6bc0b3a0dfefb65c0fa8c443552727ad1c3c64f94dfa3a47c3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for python-geoacumen-city 2026.11.20

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