semvec/pypi-packages huggingface dataset:
klarg 1.1.0
A simple command line argument parsing library
Requires Python: >=3.7

# Klarg

A **K**ommand **L**ine **ARG**ument parsing library.

Klarg is a small and simple command line argument parsing library built with no 3rd party dependencies.


# Why use klarg?
## Simple syntax
It abstracts all the complexities away so that you can focus on developing the appication itself. 

```py
# example.py
import klarg
name = klarg.get_str("name")
print(f"Your name is: {name}")

# python example.py --name klarg
# Your name is: klarg
```

## Easy configuring
It makes use of the powerful dictionary data type to make configuring klarg a breeze.

```py
# example.py
import klarg

# Replace -- with +
CONFIG["long_prefix"] = "+"
name = klarg.get_str("name")
print(f"Your name is: {name}")

# python example.py +name klarg
# Your name is klarg
```

## Simple data types
Klarg only returns basic data types such as `int`, `float`, `str` and `bool`. This means no converting from strings to integers, or to booleans, klarg already does that.

```py
# example.py
import klarg

is_there = klarg.get_bool("is-there")
if is_there:
    print("I am here")
else:
    print("I am not here")

# python example.py --is-there
# I am here
```

## No 3rd party dependencies
Klarg was specifically designed not to include any external dependencies, helping to keep the size small. 

# Installation
Installing klarg is incredibly simple, just type in
```sh
pip install klarg
```

# How to use?
```py
# example.py
import klarg
klarg_is_cool = klargs.get_bool(long="klarg-cool", short="k")
klargs.on_help(do_something)

if (klarg_is_cool):
    print("Oh, my, klarg is cool.")

# python example.py --klarg-cool
# Oh, my, klarg is cool.

# python example.py -k
# Oh, my, klarg is cool.
```
Check out the [Documentation](https://github.com/tominekan/klarg/blob/main/DOCS.md) for more.
simgen-creei 1.0.0
Modele de microsimulation SimGen
Requires Python: >=3.6

# Modèle de microsimulation SimGen

Ce package contient le modèle de microsimulation SimGen développé par la Chaire de recherche sur les enjeux éconimique intergénérationels [CREEi](http://www.creei.ca). La [documentation](https://creei-models.github.io/simgen) du modèle devrait être consulté concernant l'installation et l'utilisation du modèle.
minehut 1.2
Minehut API wrapper
Requires Python: >=3.6

# 📦 Minehut Python

### An API wrapper for the minehut API.

## 🔧 Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the main branch.

```bash
pip install git+https://github.com/SuperOrca/minehut-api.git
```

## 📌 Usage

To import, use `minehut`
```python
import minehut
```

Example:
```python
import minehut
# Retrieving the Minehut server through its name
server = minehut.getServer("Elestra")
# Printing all the plugin names inside the server
print([plugin.getName() for plugin in server.getPlugins()])
```

## ➕ Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## 📄 Sources
1. [api.bennydoesstuff.me](https://api.bennydoesstuff.me/)
2. [Minehut API](https://docs.admin.wtf/)

## License
[MIT](https://choosealicense.com/licenses/mit/)