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.12.tar.gz
(795.7 kB
view details)
Built Distribution
rcoc-1.1.12-py3-none-any.whl
(2.4 MB
view details)
File details
Details for the file rcoc-1.1.12.tar.gz
.
File metadata
- Download URL: rcoc-1.1.12.tar.gz
- Upload date:
- Size: 795.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b6ee08fbf7604b544e98b5fc568c4a1927cc0cdcd660637c33b404c4e8a6ec4 |
|
MD5 | 419e4ae6da7e201c49df113bf4fbaa03 |
|
BLAKE2b-256 | f00a3f166b4f004bf174a6377e73dc995be716fe3bd793c7ba6a5b1ef6eccb56 |
File details
Details for the file rcoc-1.1.12-py3-none-any.whl
.
File metadata
- Download URL: rcoc-1.1.12-py3-none-any.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 256ac40611a7645820e1b2ea79a2b9f0273ef0ec05fea184e3009931c89b6fcf |
|
MD5 | 1c8c58000ab52575a384610369b80392 |
|
BLAKE2b-256 | dc6680e81d5a79836ba2ee77a7f0b3a532c2ffa301daf60086a3d861e7a7acb9 |