Skip to main content

pycity

Provides programmatic access to a list of the largest US Cities. Currently contains the top 140 more populus cities in the US

Usage:

>>> import pycity
>>> pycity.cities.get(code='US-AL')
[
        {u'code': u'US-AL', u'name': u'Birmingham', u'population': 212113},
        {u'code': u'US-AL', u'name': u'Montgomery', u'population': 201332},
        {u'code': u'US-AL', u'name': u'Mobile', u'population': 194899},
        {u'code': u'US-AL', u'name': u'Huntsville', u'population': 186254}
]

The get method can take one of three keys - ‘code’, ‘name’, or ‘population’ - as a filter

Metadata

Release files for pycity 0.1.3

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

Source distribution (sdist)

Source distribution for pycity 0.1.3
File Size Uploaded Provenance Actions
pycity-0.1.3.tar.gz 3.8 kB Without provenance Details for pycity-0.1.3.tar.gz

Release files / pycity-0.1.3.tar.gz

Download URL pycity-0.1.3.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ad8bad4f6662e62f6cbdfcb5c91e7ae7b451bfcb9f3a26f5328868485abb730b
BLAKE2b-256 checksum
How to use checksums
7c72c4a8964f2339adbc9175bd68f2cec425f91f14cea452420f008d143922f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pycity 0.1.3

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