semvec/pypi-packages huggingface dataset:
ubiquerg 0.9.0
Various utility functions
Requires Python: >=3.10
Keywords: tools, utilities, utility

# ubiquerg

![Run pytests](https://github.com/pepkit/ubiquerg/workflows/Run%20pytests/badge.svg)

Ubiquerg is a utility package with a collection of universally helpful functions. The name means work (erg) everywhere (ubique), indicating our intention for these to be low-level functions that can be used in lots of different places. Functions are divided into groups, including:

- collection
- environment
- files
- paths
- system
- web
- cli_tools

## Development guidelines

- Ubiquerg should have no dependencies outside of standard built-in python modules. Please do not add any functions that introduce a new dependency.
- Functions should be generic. They should perform basic, low-level processing that is not specific to a particular application.
- Functions should only be added to ubiquerg if they are used in at least 2 existing modules.
- Functions should be kept relatively small and simple (ideally <50 lines of code).
iflow-mcp_ofek-pycli-mcp 0.3.1
MCP server for any Python command line application
Requires Python: >=3.10
Keywords: ai, cli, click, mcp

# PyCLI MCP

| | |
| --- | --- |
| CI/CD | [![CI - Test](https://github.com/ofek/pycli-mcp/actions/workflows/test.yml/badge.svg)](https://github.com/ofek/pycli-mcp/actions/workflows/test.yml) [![CD - Build](https://github.com/ofek/pycli-mcp/actions/workflows/build.yml/badge.svg)](https://github.com/ofek/pycli-mcp/actions/workflows/build.yml) |
| Docs | [![Docs](https://github.com/ofek/pycli-mcp/actions/workflows/docs.yml/badge.svg)](https://github.com/ofek/pycli-mcp/actions/workflows/docs.yml) |
| Package | [![PyPI - Version](https://img.shields.io/pypi/v/pycli-mcp.svg?logo=pypi&label=PyPI&logoColor=gold)](https://pypi.org/project/pycli-mcp/) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pycli-mcp.svg?logo=python&label=Python&logoColor=gold)](https://pypi.org/project/pycli-mcp/) |
| Meta | [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/ofek/pycli-mcp) [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![License - MIT](https://img.shields.io/badge/license-MIT-9400d3.svg)](https://spdx.org/licenses/) [![GitHub Sponsors](https://img.shields.io/github/sponsors/ofek?logo=GitHub%20Sponsors&style=social)](https://github.com/sponsors/ofek) |

-----

This provides an extensible [MCP](https://modelcontextprotocol.io) server that is compatible with any Python command line application.

Supported frameworks:

- [Click](https://github.com/pallets/click)
- [Typer](https://github.com/fastapi/typer)
- [Argparse](https://docs.python.org/3/library/argparse.html) (experimental support)

## Installation

```console
pip install pycli-mcp
```

## Documentation

The [documentation](https://ofek.dev/pycli-mcp/) is made with [Material for MkDocs](https://github.com/squidfunk/mkdocs-material) and is hosted by [GitHub Pages](https://docs.github.com/en/pages).

## License

`pycli-mcp` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
trex-analytic 1.7.8
TRex analytics package

**Edit a file, create a new file, and clone from Bitbucket in under 2 minutes**

When you're done, you can delete the content in this README and update the file with details for others getting started with your repository.

*We recommend that you open this README in another tab as you perform the tasks below. You can [watch our video](https://youtu.be/0ocf7u76WSo) for a full demo of all the steps in this tutorial. Open the video in a new tab to avoid leaving Bitbucket.*

---

## Edit a file

You’ll start by editing this README file to learn how to edit a file in Bitbucket.

1. Click **Source** on the left side.
2. Click the README.md link from the list of files.
3. Click the **Edit** button.
4. Delete the following text: *Delete this line to make a change to the README from Bitbucket.*
5. After making your change, click **Commit** and then **Commit** again in the dialog. The commit page will open and you’ll see the change you just made.
6. Go back to the **Source** page.

---

## Create a file

Next, you’ll add a new file to this repository.

1. Click the **New file** button at the top of the **Source** page.
2. Give the file a filename of **contributors.txt**.
3. Enter your name in the empty file space.
4. Click **Commit** and then **Commit** again in the dialog.
5. Go back to the **Source** page.

Before you move on, go ahead and explore the repository. You've already seen the **Source** page, but check out the **Commits**, **Branches**, and **Settings** pages.

---

## Clone a repository

Use these steps to clone from SourceTree, our client for using the repository command-line free. Cloning allows you to work on your files locally. If you don't yet have SourceTree, [download and install first](https://www.sourcetreeapp.com/). If you prefer to clone from the command line, see [Clone a repository](https://confluence.atlassian.com/x/4whODQ).

1. You’ll see the clone button under the **Source** heading. Click that button.
2. Now click **Check out in SourceTree**. You may need to create a SourceTree account or log in.
3. When you see the **Clone New** dialog in SourceTree, update the destination path and name if you’d like to and then click **Clone**.
4. Open the directory you just created to see your repository’s files.

Now that you're more familiar with your Bitbucket repository, go ahead and add a new file locally. You can [push your change back to Bitbucket with SourceTree](https://confluence.atlassian.com/x/iqyBMg), or you can [add, commit,](https://confluence.atlassian.com/x/8QhODQ) and [push from the command line](https://confluence.atlassian.com/x/NQ0zDQ).
casasoft-auth 0.1.0
Cliente de autenticação Casasoft / CloudSlim
Requires Python: >=3.12

# casasoft-auth

Cliente Python para autenticação e requisições autenticadas na API
**Casasoft / CloudSlim**.

Este pacote abstrai: - Login - Gerenciamento de token JWT - Renovação
automática em caso de expiração - Session HTTP com retry

Ideal para **ETLs**, **integrações**, **scripts**, **APIs** e
**automação**.

------------------------------------------------------------------------

## 📦 Instalação

Com `pip`:

``` bash
pip install casasoft-auth
```

Ou com `uv` (recomendado):

``` bash
uv pip install casasoft-auth
```

------------------------------------------------------------------------

## 🚀 Uso básico

``` python
from casasoft_auth import create_session, TokenManager, CasasoftClient

LOGIN_URL = "https://auth.api.cloudslim.com.br/login"

session = create_session()

token_manager = TokenManager(
    session=session,
    login_url=LOGIN_URL,
    username="SEU_USUARIO",
    password="SUA_SENHA",
    empresa="CODIGO_EMPRESA"
)

client = CasasoftClient(session, token_manager)

response = client.request(
    "GET",
    "https://integracao.api.cloudslim.com.br/lancamentos",
    params={"periodo": "01/2026"}
)

print(response.json())
```

------------------------------------------------------------------------

## 🔐 Boas práticas (importante)

❌ **Nunca versionar credenciais**

Use variáveis de ambiente:

``` python
import os

token_manager = TokenManager(
    session=session,
    login_url=LOGIN_URL,
    username=os.getenv("CASASOFT_USER"),
    password=os.getenv("CASASOFT_PASS"),
    empresa=os.getenv("CASASOFT_EMPRESA"),
)
```

Exemplo `.env`:

``` env
CASASOFT_USER=api@empresa.com.br
CASASOFT_PASS=senha_super_secreta
CASASOFT_EMPRESA=CODIGO_EMPRESA
```

------------------------------------------------------------------------

## 🧠 O que o pacote faz automaticamente

-   🔁 Retry em erros 5xx
-   🔄 Renovação automática do token em 401
-   🧩 Reutilização de session HTTP
-   🧼 Interface simples e limpa

------------------------------------------------------------------------

## 📌 Requisitos

-   Python \>= 3.9
-   requests \>= 2.28

------------------------------------------------------------------------

## 📄 Licença

MIT License

------------------------------------------------------------------------

## 👤 Autor

Eduardo Henrique Pollheim