semvec/pypi-packages huggingface dataset:
py-cmdoptions 0.0.2
To create command-line and options.
Requires Python: >=3.8
Keywords: command-line, options

# py_cmdoptions

`py_cmdoptions` is a tool that makes it easy to create a command with options.

you can extend `Executor` to create a new `cmd` types.

you can also extend `Option` to create a new `option` types.

## example1

```python

from py_cmdoptions.executor import Executor
from py_cmdoptions.option import Option

class Python(Executor):
    cmd:str = 'python'

class Version(Option):
    opt:str = '--version'

py = Python()
py.addOption(Version())
print(py)

```

some command options have a specific order, such as `ffmpeg`:

`usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...`

## example2

```python

from py_cmdoptions.executor import Executor
from py_cmdoptions.option import Option

class FFmpeg(Executor):
    cmd:str = 'ffmpeg'

class InFile(Option):
    opt:str = '-i'
    prio:int = 1

class OutFile(Option):
    opt:str = ''
    prio:int = 2

ff = FFmpeg()
ff.addOption(OutFile('output.mp4'))
ff.addOption(InFile('input.mp4'))
print(ff)

```
sdk_entrepot_gpf 0.1.44
SDK Python pour simplifier l'utilisation de l'API Entrepôt de la Géoplateforme.
Requires Python: >=3.8

# SDK Python pour la Géoplateforme

## Installation

Installez le module via pip :

```sh
pip install sdk_entrepot_gpf
```

Vous pouvez ensuite l'[utiliser comme exécutable](https://geoplateforme.github.io/sdk-entrepot/comme-executable/) ou l'[importer dans vos scripts Python](https://geoplateforme.github.io/sdk-entrepot/comme-module/).

## Développement

Si vous souhaitez participer au développement du projet, consultez le [document détaillant comment procéder](dhttps://geoplateforme.github.io/sdk-entrepot/development/).
pysmspp 0.0.2
Basic interface to interact with SMS++
Requires Python: >=3.12

# pySMSpp

[![Tests](https://github.com/SPSUnipi/pySMSpp/actions/workflows/test.yml/badge.svg)](https://github.com/SPSUnipi/pySMSpp/actions/workflows/test.yml)
[![Documentation Status](https://readthedocs.org/projects/pysmspp/badge/?version=latest)](https://pysmspp.readthedocs.io/en/latest/?badge=latest)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/SPSUnipi/pySMSpp/main.svg)](https://results.pre-commit.ci/latest/github/SPSUnipi/pySMSpp/main)

This package aims at providing a python interface to create [SMS++](https://gitlab.com/smspp/smspp-project) models using a simple python interface.
The package aims to support:
- Read/write operations of SMS++ models from/to netCDF4 files
- Add/remove/edit operations model components
- Execution of SMS++ models
- Reading SMS++ results as netCDF4 files


## How to develop

1. First, clone the repository using git:

    ```bash
        git clone https://github.com/SPSUnipi/pySMSpp
    ```

2. Create a virtual environment using venv or conda.
    For exaample, using venv:

    ```bash
        python -m venv .venv
        source .venv/bin/activate
    ```
   
    Alternatively, using conda:

    ```bash
        conda create -n pysmspp python=3.10
        conda activate pysmspp
    ```

3. Install the required packages and pre-commit hooks:

    ```bash
        pip install -e .[dev]
        pre-commit install
    ```

    Note that the `-e` command line option installs the package in editable mode, so that changes to the source code are immediately available in the environment being used. The `[dev]` option installs the packages required for development. The `pre-commit install` command installs the pre-commit hooks, which are used to check the code before committing to ensure code quality standards.

4. Develop and test the code. For testing, please run:

    ```bash
        pytest
    ```