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.0.9.tar.gz
(2.8 kB
view details)
Built Distribution
rcoc-1.0.9-py3-none-any.whl
(4.0 kB
view details)
File details
Details for the file rcoc-1.0.9.tar.gz
.
File metadata
- Download URL: rcoc-1.0.9.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81f128a0d1b26aa7615766dcef89185c017d4f2dc9f84ca2a752f1cdb2810ca |
|
MD5 | 6677612b1059eddbbcf8802d7556861d |
|
BLAKE2b-256 | caf921fd38ea3aedfabd6fb2ed13ab0eb0f6dbab6e12257ed475c3dab1395cc3 |
File details
Details for the file rcoc-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: rcoc-1.0.9-py3-none-any.whl
- Upload date:
- Size: 4.0 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 | dab46998ee80ae07baa7da061672ba4f469a33a5b9afb0886de6bbbaef9c87f1 |
|
MD5 | 7c6831d0e67c6b2ee1c543e7bc7c06b0 |
|
BLAKE2b-256 | 191c2e658fade955fdbb82e82f5f7b6b569630c86bceec78ec0b14f4c3916ea7 |