semvec/pypi-packages huggingface dataset:
h4u2 0.1.0
A sample Python package for demonstration

A# h4u2 — Lista de cursos (proyecto de prueba en Python)

Proyecto **de ejemplo** para practicar cómo estructurar un paquete en Python que mantiene una lista de cursos (nombre, duración y link), permite **listarlos**, **buscarlos por nombre**, y calcular la **duración total**.

---

## Estructura del proyecto

```
.
├─ setup.py
├─ README.md
└─ h4u2/
   ├─ __init__.py
   ├─ courses.py
   └─ utils.py
```

---

## Requisitos

- Python 3.x
- pip

---

## Instalación

### Opción A: modo desarrollo (editable)

Desde la carpeta del proyecto:

```bash
python -m pip install -U pip
pip install -e .
```

### Opción B: instalación normal

```bash
pip install .
```

---

## Uso

### 1) Listar cursos

```python
from h4u2 import list_courses

list_courses()
```

### 2) Buscar un curso por nombre

```python
from h4u2 import search_course_by_name

course = search_course_by_name("Curso de Python")
print(course)
```

> Si no existe, devuelve `None`.

### 3) Duración total

```python
from h4u2.utils import total_duration

print(total_duration())
```

---

## Importar directo desde `h4u2`

Si tu `__init__.py` exporta los símbolos del paquete, también puedes:

```python
from h4u2 import list_courses, search_course_by_name, total_duration

list_courses()
print(search_course_by_name("Curso de JavaScript"))
print(total_duration())
```

---

## API (referencia rápida)

### `h4u2.courses`
- `Courses(name, duration, link)`
- `courses` (lista de cursos)
- `list_courses()`
- `search_course_by_name(name) -> Courses | None`

### `h4u2.utils`
- `total_duration() -> int`

---

## Personalizar cursos

Edita `h4u2/courses.py` y ajusta la lista:

```python
courses = [
    Courses("Curso nuevo", 5, "https://example.com/nuevo"),
]
```

---

## Notas

- Este repo es **solo un proyecto de prueba** para practicar empaquetado y organización de código.
- Si quieres convertirlo en CLI, puedes agregar un `entry_points` en `setup.py`.

---

## Licencia

Proyecto de prueba (sin licencia definida). Si quieres, cambia esto a MIT/Apache-2.0/etc.
fastfermion 0.2.0
A library for manipulating polynomials in Pauli, Fermi and Majorana operators.
Requires Python: >=3.10

# FastFermion

**fastfermion** is a fast library written in C++ for manipulating polynomials in Pauli, Fermi and Majorana operators.

**Features**

* Algebraic manipulation of polynomials in Pauli operators, Fermionic creation/annihilation operators, and Majorana operators.
* Fermionic and Majorana operators are automatically put in normal ordered form
* Conversion between Pauli, Fermi, and Majorana representations (Jordan-Wigner and reverse Jordan-Wigner)
* Sparse matrix representations
* Heisenberg evolution: Propagate polynomial through a sequence of unitaries/gates with possible truncation by degree
* Interface with OpenFermion and Cirq
* Up to 100x faster than OpenFermion
* More to come ...

See https://github.com/hfawzi/fastfermion for more details
mozilla-metric-config-parser 2025.12.1
Parses metric configuration files.
Requires Python: >=3.10

# metric-config-parser

This package parses configuration files that are compatible with [jetstream](https://github.com/mozilla/jetstream) and [opmon](https://github.com/mozilla/opmon) compatible configuration files.

## Installation

`pip install mozilla-metric-config-parser`


## Testing

### Pytest
```
pytest --ruff --ignore=metric_config_parser/tests/integration/
```

### Linting and formatting
```
ruff check metric_config_parser
ruff format --check metric_config_parser
mypy metric_config_parser
```
arana 0.0.12
Abstraction layer for web scrapers
Requires Python: >=3.14
Keywords: web, scraper, playwright, scrapy, scraping, browserforge

# Arana

## Introduction

Arana is an abstraction layer for web scrapers. At the moment arana abstracts
Chromium, Firefox and WebKit browsers.

## Features

- Provide an abstraction layer for web scrapers
- Provide an abstraction for a browser (Chromium, Firefox or WebKit)
- Provide a strong OOP composition API usage
- Pass Cloudflare web scrap protection for sites

## How to use

Install it using `pip` command:

```bash
pip install arana
```

in your project folder.

## Usage

To access a web page using Chromium browser, you can use:

```python
# Create a new Chromium browser
browser = Chromium()
# Open the browser
browser.open()
# Create a new web page
page = browser.page(url)
# Open the web page
response = page.open()
# Get the html content
html = response.html().content()
# Close the web page
page.close()
# Close the browser
browser.close()
```

## License

The MIT License (MIT)

Copyright (C) 2025 Fabrício Barros Cabral

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 NON-INFRINGEMENT. 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.
py-configr 0.5.0
A flexible, type-safe configuration management library for Python
Requires Python: <3.14,>=3.10

# Configr

A flexible, type-safe configuration management library for Python.

Configr simplifies configuration management by leveraging Python's dataclasses and type hints to provide a robust, type-safe approach to application configuration.

[![Python Versions](https://img.shields.io/badge/Python-3.10%20|%203.11%20|%203.12%20|%203.13-blue)](https://www.python.org/)
[![PyPI version](https://img.shields.io/pypi/v/py-configr.svg)](https://pypi.org/project/py-configr/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Tests](https://github.com/cwieken/configr/actions/workflows/run-tests.yml/badge.svg)](https://github.com/cwieken/configr/actions/workflows/run-tests.yml)

- **Type Safety**: Leverage Python's type hints for configuration validation
- **Dataclass Integration**: Seamlessly map configuration files to Python dataclasses
- **Multiple Format Support**: Load configuration from JSON and YAML files
- **Extendable**: Easily add support for custom configuration formats
- **Simple API**: Convenient decorator-based approach for defining configuration classes

## Requirements
- Python 3.10 or higher


## Installation

```bash
pip install py-configr

# For YAML support
pip install py-configr[yaml]
```

## Quick Start

Define your configuration class:

```python
from configr import config_class, ConfigBase

@config_class(file_name="database.json")
class DatabaseConfig:
    username: str
    password: str
    database: str
    host: str
    port: int = 5432

# Load configuration
db_config = ConfigBase.load(DatabaseConfig)

# Use configuration
print(f"Connecting to {db_config.database} at {db_config.host}:{db_config.port}")
```

Create a configuration file in `_config/database.json`:

```json
{
  "host": "localhost",
  "username": "admin",
  "password": "secure_password",
  "database": "my_app"
}
```

## Documentation

For complete documentation, visit [our documentation site](https://cwieken.github.io/configr/).

- [Getting Started](https://cwieken.github.io/configr/getting-started/)
- [API Reference](https://cwieken.github.io/configr/api/config-base/)
- [Examples](https://cwieken.github.io/configr/examples/)

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the LICENSE file for details.