semvec/pypi-packages huggingface dataset:
regdurations 1.0.7
Parse user-provided duration strings using regular expressions
Requires Python: >=3.9

# RegDurations

This library allows to simply parse durations written in a string, in multiple supported languages.

## Install
Run:
```
pip install regdurations
```

## Usage
``` python
from regdurations import DurationParser

duration_parser = DurationParser()
# optionally specify a list of supported languages:
duration_parser = DurationParser(allowed_languages=['it', 'en'])

duration_parser.find_relativedelta('3 weeks 10y 4 anni 5 minuti')
>>> (relativedelta(years=+14, days=+21, minutes=+5), 0, 27)  # result, starting index, ending index
# or, if dateutil is not installed:
duration_parser.find_dict('4s 23gg 78 settimane')
>>> ({'seconds': 4, 'minutes': 0, 'hours': 0, 'days': 23, 'weeks': 78, 'months': 0, 'years': 0}, 0, 20)
```

## Supported Languages
* `EN`, `IT`, `FR`, `DE`, `ES`
* Contributions for new languages are accepted

## Credits and contact
* Thanks to [CalledLuca](https://github.com/CalledLuca) for the idea and the `FR`, `DE`, `ES` languages!
* For any question you can try to **contact** me on [Telegram](https://t.me/CrisMystik).

## License
This project is licensed under the **Boost Software License**. Please take a look.
efficient-transformer 0.1.16
Efficient transformer inference with pruning, freezing, and CO₂ tracking.
Requires Python: >=3.8
Keywords: transformers, nlp, optimization, huggingface, co2, pruning

# 🌱 AI Transformer Optimizer with CO₂ Tracking

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
[![Python](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/)
[![Transformers](https://img.shields.io/badge/Transformers-HuggingFace-orange)](https://huggingface.co/docs/transformers/index)
[![CodeCarbon](https://img.shields.io/badge/CO₂-Tracked-green)](https://mlco2.github.io/codecarbon/)

This package provides an **easy wrapper for Transformer-based models** with:
- ✅ **Baseline vs Optimized inference** comparison  
- ✅ **Self-pruning** (removing near-zero weights)  
- ✅ **Self-freezing** (zeroing inactive activations)  
- ✅ **Perplexity, BLEU, ROUGE metrics**  
- ✅ **CO₂ emissions tracking** (powered by [CodeCarbon](https://mlco2.github.io/codecarbon/))  

---

## 📦 Installation

Clone this repo and install dependencies:

```bash
git clone https://github.com/yourusername/transformer-optimizer.git
cd transformer-optimizer
pip install -r requirements.txt
volto-workflow-manager 1.0.0a0
A new project using Plone 6.
Requires Python: >=3.12
Keywords: CMS, Plone, Python

# workflow.manager

A new project using Plone 6.

## Features

TODO: List our awesome features

## Installation

Install workflow.manager with uv.

```shell
uv add workflow.manager
```

Create the Plone site.

```shell
make create-site
```

## Contribute

- [Issue tracker](https://github.com/collective/workflow-manager/issues)
- [Source code](https://github.com/collective/workflow-manager/)

### Prerequisites ✅

-   An [operating system](https://6.docs.plone.org/install/create-project-cookieplone.html#prerequisites-for-installation) that runs all the requirements mentioned.
-   [uv](https://6.docs.plone.org/install/create-project-cookieplone.html#uv)
-   [Make](https://6.docs.plone.org/install/create-project-cookieplone.html#make)
-   [Git](https://6.docs.plone.org/install/create-project-cookieplone.html#git)
-   [Docker](https://docs.docker.com/get-started/get-docker/) (optional)

### Installation 🔧

1.  Clone this repository.

    ```shell
    git clone git@github.com:collective/workflow-manager.git
    cd workflow-manager/backend
    ```

2.  Install this code base.

    ```shell
    make install
    ```


### Add features using `plonecli` or `bobtemplates.plone`

This package provides markers as strings (`<!-- extra stuff goes here -->`) that are compatible with [`plonecli`](https://github.com/plone/plonecli) and [`bobtemplates.plone`](https://github.com/plone/bobtemplates.plone).
These markers act as hooks to add all kinds of features through subtemplates, including behaviors, control panels, upgrade steps, or other subtemplates from `bobtemplates.plone`.
`plonecli` is a command line client for `bobtemplates.plone`, adding autocompletion and other features.

To add a feature as a subtemplate to your package, use the following command pattern.

```shell
make add <template_name>
```

For example, you can add a content type to your package with the following command.

```shell
make add content_type
```

You can add a behavior with the following command.

```shell
make add behavior
```

```{seealso}
You can check the list of available subtemplates in the [`bobtemplates.plone` `README.md` file](https://github.com/plone/bobtemplates.plone/?tab=readme-ov-file#provided-subtemplates).
See also the documentation of [Mockup and Patternslib](https://6.docs.plone.org/classic-ui/mockup.html) for how to build the UI toolkit for Classic UI.
```

## License

The project is licensed under GPLv2.

## Credits and acknowledgements 🙏

Generated from the [`cookieplone-templates`  template](https://github.com/plone/cookieplone-templates/tree/main/) on 2025-05-22 07:54:58.. A special thanks to all contributors and supporters!
parmot 0.1.1
Parmot client SDK with LLM usage tracking and provider wrappers.
Requires Python: >=3.9
Keywords: llm, usage, tracking, sdk, openai, anthropic, cohere

# ![Parmot Logo](https://parmot-frontend.vercel.app/_next/image?url=%2Flogo.png&w=128&q=75)

**Parmot Python SDK**

[![Python 3.9+](https://img.shields.io/badge/Python-3.9+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

Parmot is a lightweight package tracking and managing **end-user usage, limits, and subscription plans** across AI providers (OpenAI, Anthropic, Cohere, etc.).

Visit [parmot.com](https://www.parmot.com/) for more.

---

## 🚀 Features

- Track **token usage and costs** across multiple providers.
- Enforce **rate limits** and **usage limits** for end-users.
- Manage **subscription plans** (create, update, delete, assign).
- Easy-to-use wrappers for OpenAI, Anthropic, and Cohere clients with automatic tracking.

---

## 📦 Installation

```bash
pip install parmot[openai]
```

To install Parmot for other provider clients, simply include them in the brackets:

```bash
pip install parmot[anthropic]
pip install parmot[cohere]
```

---

## ⚡ Quick Start

```python
from parmot import TrackedOpenAI

client = TrackedOpenAI(api_key="OPENAI_API_KEY", parmot_api_key="PARMOT_API_KEY")

response = client.chat.completions.create(
    model="gpt-4o-mini",
    user_id="end_user_123",
    messages=[{"role": "user", "content": "Tell me a joke."}],
)

print(response.choices[0].message)
```

---

## 📖 Docs

👉 [Full Documentation](https://www.parmot.com/docs)
jwatchsync 0.0.13
Libreria para escribir y consultar información en JWatch
Requires Python: >=3.9


# JWatchSync

Libreria para escribir y consultar informaciÃ³n en JWatch.

## Requerimientos
Instalar requirements.txt
- Python 3.9

## Â¿Como construir?
Ejecutar lo siguiente desde JWatchSync-PY:
```python
python setup.py sdist bdist_wheel
twine upload dist/*
```