PyOGC


NamePyOGC JSON
Version 0.0.3 PyPI version JSON
download
home_page
SummaryUnified OGC Api Python Client
upload_time2023-04-02 18:11:14
maintainer
docs_urlNone
authorRyanwalker277 (Anvansh)
requires_python
license
keywords python video ogc api client unified pyogc pyogcclient
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# PyOGC

[![GitHub issues](https://img.shields.io/github/issues/RyanWalker277/PyOGC)](https://github.com/RyanWalker277/PyOGC/issues)
[![GitHub forks](https://img.shields.io/github/forks/RyanWalker277/PyOGC)](https://github.com/RyanWalker277/PyOGC/network)
[![GitHub stars](https://img.shields.io/github/stars/RyanWalker277/PyOGC)](https://github.com/RyanWalker277/PyOGC/stargazers)
[![GitHub license](https://img.shields.io/github/license/RyanWalker277/PyOGC)](https://github.com/RyanWalker277/PyOGC/blob/main/LICENSE)
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) ![contributions welcome](https://img.shields.io/static/v1.svg?label=Contributions&message=Welcome&color=0059b3&style=flat-square) ![GitHub contributors](https://img.shields.io/github/contributors-anon/RyanWalker277/PyOGC)
<br>

PyOGC is a Python package that provides a simple and consistent interface for working with OGC (Open Geospatial Consortium) services such as WMS, WFS, WCS, and Tiling Services.

PyOGC is built using modern Python development tools and practices, including Poetry for package management and Pytest for testing. It is designed to be easy to install and use, and to provide clear and comprehensive documentation.

# Installation

```
pip install PyOGC
```
# Usage

```
from PyOGC import landing
data = landing.metadata()

print(data)
```

Here is an example of how to use PyOGC to retrieve a tile matrix set:

```
from PyOGC.TilingSchemes.schemes import TilesAPI

api = TilesAPI()

# Get all available tile matrix sets
tile_matrix_sets = api.get_tile_matrix_sets()
print(tile_matrix_sets)

# Get a specific tile matrix set
tile_matrix_set = api.get_tile_matrix_set("CDB1GlobalGrid")
print(tile_matrix_set)
```
# Development

If you want to contribute to PyOGC or modify it to suit your needs, you can get started with the following steps:

## Clone the repository:

```
git clone <https://github.com/your_username/PyOGC.git>
```
Change into the directory: 
```
cd PyOGC
```
Create a new virtual environment: 
```
python3 -m venv venv
```
Activate the virtual environment: 
```
source venv/bin/activate
```
Install PyOGC and its dependencies: 
```
poetry install
```
Once you have installed PyOGC, you can run the tests to make sure everything is working as expected:
```
poetry run pytest
```
If you want to modify the tests or add new tests, you can find them in the `tests` directory. You can also run individual tests by specifying the test file and the test name:

```
poetry run pytest tests/test_ogc.py::test_get_capabilities
```
## Support++

This project needs your shiny star ⭐.  
Don't forget to leave a star ⭐️

![forthebadge made-with-python](https://forthebadge.com/images/badges/open-source.svg) [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)


## Contributors

<!-- readme: contributors -start -->
<!-- readme: contributors -end -->

##

Made with ❤ by Anvansh ([@RyanWalker277](https://github.com/RyanWalker277))

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "PyOGC",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,video,OGC,API,client,unified,pyogc,pyogcclient",
    "author": "Ryanwalker277 (Anvansh)",
    "author_email": "<anvansh30mar@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c7/24/bf6196db752c7a1e4323edffe7dff2176f697d7228e8c010cb42198cab1a/PyOGC-0.0.3.tar.gz",
    "platform": null,
    "description": "\n# PyOGC\n\n[![GitHub issues](https://img.shields.io/github/issues/RyanWalker277/PyOGC)](https://github.com/RyanWalker277/PyOGC/issues)\n[![GitHub forks](https://img.shields.io/github/forks/RyanWalker277/PyOGC)](https://github.com/RyanWalker277/PyOGC/network)\n[![GitHub stars](https://img.shields.io/github/stars/RyanWalker277/PyOGC)](https://github.com/RyanWalker277/PyOGC/stargazers)\n[![GitHub license](https://img.shields.io/github/license/RyanWalker277/PyOGC)](https://github.com/RyanWalker277/PyOGC/blob/main/LICENSE)\n[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) ![contributions welcome](https://img.shields.io/static/v1.svg?label=Contributions&message=Welcome&color=0059b3&style=flat-square) ![GitHub contributors](https://img.shields.io/github/contributors-anon/RyanWalker277/PyOGC)\n<br>\n\nPyOGC is a Python package that provides a simple and consistent interface for working with OGC (Open Geospatial Consortium) services such as WMS, WFS, WCS, and Tiling Services.\n\nPyOGC is built using modern Python development tools and practices, including Poetry for package management and Pytest for testing. It is designed to be easy to install and use, and to provide clear and comprehensive documentation.\n\n# Installation\n\n```\npip install PyOGC\n```\n# Usage\n\n```\nfrom PyOGC import landing\ndata = landing.metadata()\n\nprint(data)\n```\n\nHere is an example of how to use PyOGC to retrieve a tile matrix set:\n\n```\nfrom PyOGC.TilingSchemes.schemes import TilesAPI\n\napi = TilesAPI()\n\n# Get all available tile matrix sets\ntile_matrix_sets = api.get_tile_matrix_sets()\nprint(tile_matrix_sets)\n\n# Get a specific tile matrix set\ntile_matrix_set = api.get_tile_matrix_set(\"CDB1GlobalGrid\")\nprint(tile_matrix_set)\n```\n# Development\n\nIf you want to contribute to PyOGC or modify it to suit your needs, you can get started with the following steps:\n\n## Clone the repository:\n\n```\ngit clone <https://github.com/your_username/PyOGC.git>\n```\nChange into the directory: \n```\ncd PyOGC\n```\nCreate a new virtual environment: \n```\npython3 -m venv venv\n```\nActivate the virtual environment: \n```\nsource venv/bin/activate\n```\nInstall PyOGC and its dependencies: \n```\npoetry install\n```\nOnce you have installed PyOGC, you can run the tests to make sure everything is working as expected:\n```\npoetry run pytest\n```\nIf you want to modify the tests or add new tests, you can find them in the `tests` directory. You can also run individual tests by specifying the test file and the test name:\n\n```\npoetry run pytest tests/test_ogc.py::test_get_capabilities\n```\n## Support++\n\nThis project needs your shiny star \u2b50.  \nDon't forget to leave a star \u2b50\ufe0f\n\n![forthebadge made-with-python](https://forthebadge.com/images/badges/open-source.svg) [![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://forthebadge.com)\n\n\n## Contributors\n\n<!-- readme: contributors -start -->\n<!-- readme: contributors -end -->\n\n##\n\nMade with \u2764 by Anvansh ([@RyanWalker277](https://github.com/RyanWalker277))\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Unified OGC Api Python Client",
    "version": "0.0.3",
    "split_keywords": [
        "python",
        "video",
        "ogc",
        "api",
        "client",
        "unified",
        "pyogc",
        "pyogcclient"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "408c3efb2d1bf539d4124a385f005fec2b9d3e9d7e74e90b6027fde3cffb77ea",
                "md5": "241fa575a54b2bd3912bc5abfd7c7e79",
                "sha256": "b5ccf70084a75283bbaf89a81044ff5d15d8910ee17b3143abc06611a26c07a5"
            },
            "downloads": -1,
            "filename": "PyOGC-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "241fa575a54b2bd3912bc5abfd7c7e79",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 17626,
            "upload_time": "2023-04-02T18:11:12",
            "upload_time_iso_8601": "2023-04-02T18:11:12.405796Z",
            "url": "https://files.pythonhosted.org/packages/40/8c/3efb2d1bf539d4124a385f005fec2b9d3e9d7e74e90b6027fde3cffb77ea/PyOGC-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c724bf6196db752c7a1e4323edffe7dff2176f697d7228e8c010cb42198cab1a",
                "md5": "67a4023bf6353a02625c9045cb5fd931",
                "sha256": "6854bf7da33b9cce33a97b71adf6079a5f91b51c3e8dfc110611f4d91dacd133"
            },
            "downloads": -1,
            "filename": "PyOGC-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "67a4023bf6353a02625c9045cb5fd931",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 16678,
            "upload_time": "2023-04-02T18:11:14",
            "upload_time_iso_8601": "2023-04-02T18:11:14.203461Z",
            "url": "https://files.pythonhosted.org/packages/c7/24/bf6196db752c7a1e4323edffe7dff2176f697d7228e8c010cb42198cab1a/PyOGC-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-02 18:11:14",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "pyogc"
}
        
Elapsed time: 0.05019s