Metadata-Version: 2.1
Name: rcoc
Version: 1.1.15
Summary: RCOC - Random Country Or City name generator
Home-page: https://github.com/touhf/rcoc
Download-URL: https://github.com/touhf/rcoc/archive/refs/tags/1.1.15.tar.gz
Author: touhf
Author-email: tobytubar@gmail.com
License: MIT
Keywords: country,city,generator
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE

[![PyPI version](https://badge.fury.io/py/rcoc.svg)](https://badge.fury.io/py/rcoc)
[![Downloads](https://static.pepy.tech/personalized-badge/rcoc?period=total&units=international_system&left_color=grey&right_color=orange&left_text=Downloads)](https://pepy.tech/project/rcoc)
[![GitHubIssues](https://img.shields.io/badge/issue_tracking-github-blue.svg)](https://github.com/touhf/rcoc/issues)

rcoc - Random Country or City
=======================================================================================
Simple script for
1. generating random city name (any country)
2. generating random country name
3. generating random city from of country
4. generating random location (country and city)
### usage
```python
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
```
Getting list of all countries as list:
```python
all_countries = rcoc.get_all_countries()
```

