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.13.tar.gz
(796.0 kB
view details)
Built Distribution
rcoc-1.1.13-py3-none-any.whl
(806.5 kB
view details)
File details
Details for the file rcoc-1.1.13.tar.gz
.
File metadata
- Download URL: rcoc-1.1.13.tar.gz
- Upload date:
- Size: 796.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 | f6c3cb4af48b51767d190b4b384eb285f9fd6bae6acacb8a8cc1ae903922c7b2 |
|
MD5 | e32bdd140ad32aa614f0290dea11d67d |
|
BLAKE2b-256 | 0c71af52de1bc52476dfc026e897bc6b938619c46f7d262fcddfc2b3137847d3 |
File details
Details for the file rcoc-1.1.13-py3-none-any.whl
.
File metadata
- Download URL: rcoc-1.1.13-py3-none-any.whl
- Upload date:
- Size: 806.5 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 | 68106fb8586abdabbe75057b8fa5d27a092499d91c7d6de80549177c43a69e83 |
|
MD5 | 6cedad8bed58d371146a93d7e73fabb1 |
|
BLAKE2b-256 | cc10fc829fd797efb0c919a358a12684a5c52a4686c8d547adae0e22f972fc80 |