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.3.tar.gz
(795.2 kB
view details)
Built Distribution
rcoc-1.1.3-py3-none-any.whl
(807.1 kB
view details)
File details
Details for the file rcoc-1.1.3.tar.gz
.
File metadata
- Download URL: rcoc-1.1.3.tar.gz
- Upload date:
- Size: 795.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63aed586f72f9df8487110f66983979e76053c5381b82085e57517c34586f527 |
|
MD5 | 1341f4de59f474b7d8c72152fe30dd15 |
|
BLAKE2b-256 | 976b1306a5c61ed017965d3c9c8e2da7c39091215c167c1cd055ffaf6b93c9eb |
File details
Details for the file rcoc-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: rcoc-1.1.3-py3-none-any.whl
- Upload date:
- Size: 807.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c5963f931e67fe4d007182a48fd7221cb8ab693e62b7a1f5f4ba6dbf3d8e0ce |
|
MD5 | e8c4afaeb26593dfcfd1c35d53cc5d88 |
|
BLAKE2b-256 | a098852b8378e51bd33c5bfd41d1a747a103a3d193dd560d1508792e8ae59090 |