RCOC - Random Country Or City name generator
Project description
rcoc - Random Country or City
Simple script for
- generating random city name (any country)
- generating random country name
- generating random city from of country
- generating random location (country and city)
usage
import rcoc
print("Random city: ", rcoc.get_random_city())
rand_country = rcoc.get_random_country()
print("\nRandom country: ", rand_country)
print("Random {0} city: {1}".format(rand_country, rcoc.get_random_city_by_country(rand_country)))
print("\nRandom location: ", rcoc.get_random_location())
output example
Random city: Gagliano Aterno
Random country: Bolivia
Random Bolivia city: Reyes
Random location: Annecy-le-Vieux, France
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
rcoc-1.1.9.tar.gz
(3.0 kB
view details)
Built Distribution
rcoc-1.1.9-py3-none-any.whl
(806.3 kB
view details)
File details
Details for the file rcoc-1.1.9.tar.gz
.
File metadata
- Download URL: rcoc-1.1.9.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc720bf3c698d51e95aef0986db7f6ca99d9a49ef21ad455487b575146be350 |
|
MD5 | 9c8c14f1775a79d34724f1767f55df65 |
|
BLAKE2b-256 | 291222a525831e6b0d42385c0aa1cac76e772646e06c287c83361efd7f446281 |
File details
Details for the file rcoc-1.1.9-py3-none-any.whl
.
File metadata
- Download URL: rcoc-1.1.9-py3-none-any.whl
- Upload date:
- Size: 806.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 121f6571c65209c22b6b92cd09eadda29485dc54c0bf40794eec543c98c8c163 |
|
MD5 | 02d6bd9a1b3c9f695535970f8bd8fd97 |
|
BLAKE2b-256 | 92e2c6cf4815737f5f976b3ca8a999b18a815fe8ed6795ed4dc7c0c4d7dc6317 |