semvec/pypi-packages huggingface dataset:
commander-py 2.0.2
A very simple tool to create beautiful console application by using native argparse.
License: MIT
Requires Python: >=3.7,<4.0
Keywords: commander,argparse

# Commander

> A very simple tool to create beautiful console application by using native argparse.

| Project       | Commander                                        |
|---------------|--------------------------------------------------|
| Author        | Özcan Yarımdünya                                 |
| Documentation | https://ozcanyarimdunya.github.io/commander_py/  |
| Source code   | https://github.com/ozcanyarimdunya/commander_py/ |

`commander` is a library that you can create beautiful class based cli application by using `argparse`.

## Installation

Works on `python3+` with no extra dependencies.

```shell
pip install commander-py
```

## Usage

**example.py**

```python
#!/usr/bin/env python3
from commander_py import Application
from commander_py import Command


class GreetCommand(Command):
    name = "greet"
    help = "Greeting a person"

    def add_arguments(self, parser):
        parser.add_argument("name", help="Person name")

    def handle(self, **arguments):
        print("Greeting, ", arguments.get("name"))


if __name__ == '__main__':
    app = Application(description="A simple commander application")
    app.add_argument("-V", "--version", action="version", version="1.0.0")
    app.add_commands(
        GreetCommand(),
    )
    app.run()
```

If we run we get such output.


![gif](./docs/images/1.gif)

For more checkout [tutorials.](https://ozcanyarimdunya.github.io/commander_py/tutorial/)

## LICENSE

```text
MIT License

Copyright (c) 2023 yarimdunya.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

```
pangeo-xesmf 0.7.0.post0
Universal Regridder for Geospatial Data
License: MIT
Requires Python: >=3.6

xESMF: Universal Regridder for Geospatial Data
==============================================

|Binder| |conda| |Build Status| |codecov| |docs| |license| |DOI|

xESMF is a Python package for
`regridding <https://climatedataguide.ucar.edu/climate-data-tools-and-analysis/regridding-overview>`_.
It is

- **Powerful**: It uses ESMF_/ESMPy_ as backend and can regrid between **general curvilinear grids**
  with all `ESMF regridding algorithms <https://www.earthsystemcog.org/projects/esmf/regridding>`_,
  such as **bilinear**, **conservative** and **nearest neighbour**.
- **Easy-to-use**: It abstracts away ESMF's complicated infrastructure
  and provides a simple, high-level API, compatible with xarray_ as well as basic numpy arrays.
- **Fast**: It is faster than ESMPy's original Fortran regridding engine in serial case, and also supports dask_ for `out-of-core, parallel computation <http://xarray.pydata.org/en/stable/dask.html>`_.

Please see `online documentation <http://xesmf.readthedocs.io/en/latest/>`_, or `play with example notebooks on Binder <https://mybinder.org/v2/gh/pangeo-data/xESMF/master?filepath=doc%2Fnotebooks>`_.

For new users, I also recommend reading `How to ask for help <https://xesmf.readthedocs.io/en/latest/#how-to-ask-for-help>`_ and `How to support xESMF <https://xesmf.readthedocs.io/en/latest/#how-to-support-xesmf>`_.

.. _ESMF: https://www.earthsystemcog.org/projects/esmf/
.. _ESMPy: https://www.earthsystemcog.org/projects/esmpy/
.. _xarray: http://xarray.pydata.org
.. _dask: https://dask.org/

.. |conda| image:: https://anaconda.org/conda-forge/xesmf/badges/version.svg
   :target: https://anaconda.org/conda-forge/xesmf/

.. |Build Status| image:: https://img.shields.io/github/workflow/status/pangeo-data/xESMF/CI?logo=github
   :target: https://github.com/pangeo-data/xESMF/actions
   :alt: github-ci build status

.. |codecov| image:: https://codecov.io/gh/pangeo-data/xESMF/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/pangeo-data/xESMF
   :alt: code coverage

.. |docs| image:: https://readthedocs.org/projects/pangeo-xesmf/badge/?version=latest
   :target: http://xesmf.readthedocs.io/en/latest/?badge=latest
   :alt: documentation status

.. |license| image:: https://img.shields.io/badge/License-MIT-blue.svg
   :target: https://github.com/pangeo-data/xESMF/blob/master/LICENSE
   :alt: license

.. |DOI| image:: https://zenodo.org/badge/281126933.svg
   :target: https://zenodo.org/badge/latestdoi/281126933
   :alt: DOI

.. |Binder| image:: https://mybinder.org/badge_logo.svg
   :target: https://mybinder.org/v2/gh/pangeo-data/xESMF/master?filepath=doc%2Fnotebooks
   :alt: binder