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.7.tar.gz
(795.1 kB
view details)
Built Distribution
rcoc-1.1.7-py3-none-any.whl
(806.1 kB
view details)
File details
Details for the file rcoc-1.1.7.tar.gz
.
File metadata
- Download URL: rcoc-1.1.7.tar.gz
- Upload date:
- Size: 795.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 899388d0db396b2133d3826c75f7128ac47369f3146e1ab5f1be089813c067d9 |
|
MD5 | 016b238deb13fb6ebca0fb7f9c1a86d8 |
|
BLAKE2b-256 | 33ff7017f97b7f0f21c8b2cca4996e891176bb9b995a8b7e6bc376d76c9c48af |
File details
Details for the file rcoc-1.1.7-py3-none-any.whl
.
File metadata
- Download URL: rcoc-1.1.7-py3-none-any.whl
- Upload date:
- Size: 806.1 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 | bc3837457c9e5d5a5458780b565671fd1f01ae290c6d99664bcfd865be2a9894 |
|
MD5 | 28d5410fa253e7207ef24a5a129abb51 |
|
BLAKE2b-256 | a4720af0bac1b5952fb736d45400c6658e408379dc5049020c2b86d59703706a |