Skip to content

Commit

Permalink
Added README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jcari-dev committed Aug 24, 2024
1 parent 38fa876 commit 8b835cf
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 7 deletions.
76 changes: 75 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,75 @@
# pyworldatlas-documentation

# pyworldatlas

**pyworldatlas** is a lightweight and comprehensive Python package that compiles detailed data about every country in the world. Whether you're building applications that require accurate global data or simply need quick access to country profiles, pyworldatlas provides an efficient and easy-to-use interface.

## Key Features

- Extensive country data including official names, population, geography, government, GDP, and more.
- Lightweight and efficient, ensuring fast access to country information.
- No external dependencies, making it easy to install and integrate into any Python project.
- Provides detailed country profiles in a simple dictionary format.

## Installation

You can install `pyworldatlas` from PyPI using pip:

```bash
pip install pyworldatlas
```

## Basic Usage

Once installed, using pyworldatlas is straightforward. Here's a quick example of how to fetch a country's profile:

```python
import pyworldatlas as pwa

atlas = pwa.Atlas()

# Fetch the profile of a country by name
profile = atlas.get_country_profile("United States")

# Display the profile information
print(profile)
```

Example output:

```python
{
'capital': {
'name': 'Washington, D.C.',
'coordinates_degree_east': -77.0369,
'coordinates_degree_north': 38.9072,
'is_largest_city': False,
},
'largest_city': {
'name': 'New York City',
'coordinates_degree_east': -74.0060,
'coordinates_degree_north': 40.7128,
},
'driving_side': 'Right',
'calling_code': '+1',
'iso_3166_code': 'US',
'internet_tld': '.us',
}
```

## Documentation

Comprehensive documentation is available, including examples, API references, and more. Visit the [pyworldatlas Documentation](https://jcari-dev.github.io/pyworldatlas-documentation/index.html) to get started.

## Contributing

Contributions are welcome! If you'd like to contribute, please check out the [Contributing Guide](https://jcari-dev.github.io/pyworldatlas-documentation/contributing.html) for details.

## License

This project is licensed under the MIT License. See the [LICENSE](https://jcari-dev.github.io/pyworldatlas-documentation/license.html) file for more information.

## Links

- [Documentation](https://jcari-dev.github.io/pyworldatlas-documentation/index.html)
- [PyPI Page](https://pypi.org/project/pyworldatlas/)
- [Issue Tracker](https://github.com/jcari-dev/pyworldatlas-issue-tracker)
6 changes: 3 additions & 3 deletions _sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ Get started by following the instructions below.

Quick Links
-----------
- `GitHub Repository <https://github.com/yourrepo/pyworldatlas>`_
- `Issue Tracker <https://github.com/yourrepo/pyworldatlas/issues>`_
- `PyPI Page <https://pypi.org/project/pyworldatlas>`_
- `GitHub Repository <https://github.com/jcari-dev/pyworldatlas-documentation>`_
- `Issue Tracker <https://github.com/jcari-dev/pyworldatlas-issue-tracker>`_
- `PyPI Page <https://pypi.org/project/pyworldatlas/>`_

Contributing
------------
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ <h2>Key Features<a class="headerlink" href="#key-features" title="Link to this h
<section id="quick-links">
<h2>Quick Links<a class="headerlink" href="#quick-links" title="Link to this heading"></a></h2>
<ul class="simple">
<li><p><a class="reference external" href="https://github.com/yourrepo/pyworldatlas">GitHub Repository</a></p></li>
<li><p><a class="reference external" href="https://github.com/yourrepo/pyworldatlas/issues">Issue Tracker</a></p></li>
<li><p><a class="reference external" href="https://pypi.org/project/pyworldatlas">PyPI Page</a></p></li>
<li><p><a class="reference external" href="https://github.com/jcari-dev/pyworldatlas-documentation">GitHub Repository</a></p></li>
<li><p><a class="reference external" href="https://github.com/jcari-dev/pyworldatlas-issue-tracker">Issue Tracker</a></p></li>
<li><p><a class="reference external" href="https://pypi.org/project/pyworldatlas/">PyPI Page</a></p></li>
</ul>
</section>
<section id="contributing">
Expand Down

0 comments on commit 8b835cf

Please sign in to comment.