semvec/pypi-packages huggingface dataset:
openpack 2.4.2
openpack
Requires Python: >=3.9

.. image:: https://img.shields.io/pypi/v/openpack.svg
   :target: https://pypi.org/project/openpack

.. image:: https://img.shields.io/pypi/pyversions/openpack.svg

.. image:: https://github.com/jaraco/openpack/actions/workflows/main.yml/badge.svg
   :target: https://github.com/jaraco/openpack/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2025-informational
   :target: https://blog.jaraco.com/skeleton

``openpack`` provides base functionality for working with the `Open
Office XML (OOXML) <https://en.wikipedia.org/wiki/Office_Open_XML>`_
format in Python.

Introduction
============

Openpack is a base library for OpenXML documents. It is used by the `paradocx
<https://pypi.org/project/paradocx>`_ and `XlsXcessive
<https://pypi.org/project/xlsxcessive>`_.

Utilities
=========

Openpack includes two utilities for working with OpenXML documents from the
command-line, `part-edit` and `zip-listdir`.

These commands are additionally exposed as modules and may be invoked
using ``python -m``, e.g. ``python -m openpack.part-edit``.

zip-listdir
-----------

``zip-listdir`` isn't specific to OpenXML, and will work on any zip file.
Since OpenXML documents are themselves zip files, however, it is useful to have
when working with OpenXML::

    > zip-listdir ../paradocx/data.docx
      [Content_Types].xml
    d _rels
    d word

``zip-listdir`` lists the files and directories and can be used to list
sub-directories as well::

    > zip-listdir ../paradocx/data.docx/word
    d _rels
      document.xml

part-edit
---------

While ``zip-listdir`` enables inspecting the structure of the zip content of
an OpenXML document, ``part-edit`` facilitates editing the various parts of
those documents using the client's text editor. For example, to edit the
``word/document.xml`` as found in data.docx from the previous example, simply
invoke part-edit::

    > part-edit ../paradocx/data.docx/word/document.xml

The program will attempt to use the default text editor to edit the file. If
the default editor is not sufficient, the user may specify an editor by
setting either XML_EDITOR or EDITOR environment variables.

``part-edit`` will parse the zip file, locate the content within the zip file,
extract that content to a temporary file, and then open that content in an
editor. After the editor is closed, if the file was changed, the zip file
will be updated with the new content.

The user may pass the optional ``--reformat-xml``, in which case the XML will
be pretty-formatted for easier human readability.
resource-getters 1.0.0
A minimal utility package for accessing application resources (icons, images, translations) in a clean and reusable way.
Requires Python: >=3.13

# resource-getters

A minimal utility package for accessing application resources (icons, images, translations) in a clean and reusable way.

## 🔧 Features

- Safe, Pythonic access to resource files inside packages
- Uses `importlib.resources` (Python 3.9+)
- Extensible `ResourceGetter` class
- Supports logical grouping (e.g. icons, images, translations)
- Compatible with zipped packages, wheels, and editable installs
- Designed to support PySide6/Qt apps, but fully framework-agnostic

## 📦 Installation

```bash
pip install resource-getters
```

## 🚀 Usage

### 1. Structure your local resources

Your application should have a structure like:

```
your_app/
└── resources/
    ├── __init__.py
    ├── icons/
    ├── images/
    └── translations/
```

Only `__init__.py` in `resources/` is required to make it a proper package.

No code logic is needed in resources/ — just the files.

### 2. Initialize `resource-getters` in your app

```python
# your_app/app.py
import resource_getters

import your_app.resources as app_resources


resource_getters.configure(resource_package=app_resources)
```

### 3. Use resource getters to access files

```python
import importlib.resources

from PySide6.QtGui import QPixmap
from resourcetools import Image

with importlib.resources.as_file(Image("image.png")) as real_path:
            pixmap: QPixmap = QPixmap(str(real_path))

```

## 📚 API Reference

configure(resource_package: ModuleType)

Sets the base resource package to use for Icon, Image, and Translations.

Icon(filename: str) -> Traversable

Returns a Traversable object (e.g. file path) to an icon file.

Same for:

    Image(filename: str)

    Translations(filename: str)

## ✅ Why `importlib.resources`?

- Built into the Python standard library
- Zip-safe (works with packages in wheels or zipapps)
- Avoids hardcoded filesystem paths

## 🧪 Compatibility

- Python 3.9+
- Works with importlib.resources standard API
- No external dependencies

## 📜 License

MIT License
link-thief 0.0.2
A library to scrape links from any website
Requires Python: >=3.10
Keywords: links, scraper, website scraper

# A library to parse and scrape links from websites

This library will provide 3 ways to scrape the links from the website:
* The first method is to scrape all links from a single webpage. 
* The second method is to scrape links from the whole website. That includes sitemaps too.
* The third method is to scrape links from the specified list.
PyHolfuy 0.0
A Python library for interacting with Holfuy weather stations.
Requires Python: >=3.11
Keywords: weather, holfuy, api, python

![Holfy Logo](https://holfuy.com/image/logo/holfuy-logo.png)

# PyHolfuy
A Python library for talking to [Holfuy Weather Stations](https://holfuy.com/).

You need an API key to access the service. To obtain one, please visit the [Holfuy API](https://api.holfuy.com/live/) pages.

The Library only access live data.

## Example Code
Here is an example of how to use the library.

```python
import aiohttp
import asyncio
from holfuy import HolfuyService

async def main():
    async with aiohttp.ClientSession() as session:
    s = HolfuyService("", session)
    data = await s.fetch_data(["101"])
    print(data)

if __name__ == "__main__":
    asyncio.run(main())
```
graphos 0.2.10
Terminal graph visualization tool.
Requires Python: >=3.10

# Graphos

Basic terminal GUI for flow charts style graphs.

## Installation

https://pypi.org/project/graphos/

`$ pip install graphos`

## Controls

### Keybindings

| Control           | Keybind | Description                                |
| :---------------- | :-----: | :----------------------------------------- |
| Create node       |    N    | Creates a node at the cursor location      |
| Create edge       |    E    | Creates an edge between two selected nodes |
| Grab Node         |    E    | Toggle grab when the cursor is over a node |
| Save              |    S    | Save nodes and edges to a json file        |
| Move cursor left  |   ⬅️    | Move cursor left                           |
| Move cursor right |   ➡️    | Move cursor right                          |
| Move cursor up    |   ⬆️    | Move cursor up                             |
| Move cursor down  |   ⬇️    | Move cursor down                           |
| Pan left          |    A    | Pan the view left                          |
| Pan right         |    D    | Pan the view right                         |
| Pan up            |    W    | Pan the view up                            |
| Pan down          |    S    | Pan the view down                          |
| Quit              |    Q    | Quit                                       |

### Mouse

ℹ️ Mouse functionality requires mouse event recording to be enabled by your preferred terminal.

| Control     |          Mouse event          | Description                                                                                             |
| :---------- | :---------------------------: | :------------------------------------------------------------------------------------------------------ |
| Select node |     Primary button click      | When the cursor is over a node, slick to select                                                         |
| Grab node   | Press and hold primary button | When the cursor is over the node, press and hold to grab the node, then move the mouse to drag the node |
phyto-nas-tsc 0.1.8
Phyto Neural Architecture Search for Time Series Classification
Requires Python: >=3.7

# Phyto-NAS-TSC

An evolutionary approach to automatically design optimal neural network architectures for time series classification tasks.

## Installation

pip install phyto-nas-tsc

## Installation directly from source

git clone https://github.com/carmelyr/Phyto-NAS-T.git
cd Phyto-NAS-T
pip install -e .


## Features

- Evolutionary algorithm for architecture search
- Optimized for time series data (1D signals)
- Optimized for LSTM model
- Tracks optimization history and metrics
- GPU-accelerated training

## Quickstart
```python
import numpy as np
from phyto_nas_tsc import fit

# OPTION 1: Use your own data (uncomment)
#X = np.random.randn(100, 1, 10)                     # 100 samples, 1 timestep, 10 features
#y = np.zeros((100, 2))                              # one-hot encoded labels
#y[:50, 0] = 1                                       # first 50 samples = class 0
#y[50:, 1] = 1                                       # next 50 samples = class 1

# OPTION 2: Use built-in dataset                     # let the package load data automatically
# Run optimization
result = fit(
    X=X,                                            # comment out if using built-in data
    y=y,                                            # comment out if using built-in data
    scoring='accuracy',                             # metric to optimize 
    others={
        'population_size': 5,    # required
        'generations': 3,        # required
        'early_stopping': True   # optional
    }
)

print(f"Best Accuracy: {result['accuracy']:.4f}")
print("Best Architecture:")
for param, value in result['architecture'].items():
    print(f"  {param}: {value}")
```
mempy-miladtsx 0.2.2
A lightweight in-memory store in pure Python
Requires Python: >=3.9
Keywords: memory, in-memory, store, python

# 🧠 MemPy — A Minimal In-Memory Key-Value Store

MemPy is a minimal, self-contained Python in-memory key-value store inspired by Redis. It supports basic commands (`SET`, `GET`, `DELETE`, `INCR`) and optional TTL (Time-To-Live) expiration.

> ⚠️ Not production-ready.

## Features

- Simple key-value storage
- Optional TTL (lazy expiration)
- Integer increment support
- No dependencies

## Installation

```bash
pip install mempy-miladtsx
```

## Example Usage

```python
from mempy_miladtsx.mempy import MemPy

mem = MemPy()
mem.set("foo", "bar", ttl=10)
print(mem.get_value("foo"))
```

## Contribution

[contribution](https://github.com/miladtsx/mempy/blob/main/CONTRIBUTING.md)

## Roadmap

- [ ] Eager TTL expiration (background thread)
- [ ] More data types (sets, lists, hashes)
- [ ] Persistence (AOF/RDB)
- [ ] Pub/Sub, CLI

## License

See [LICENSE](LICENSE).
oathtool 2.4.0
One-time password generator
Requires Python: >=3.9

.. image:: https://img.shields.io/pypi/v/oathtool.svg
   :target: https://pypi.org/project/oathtool

.. image:: https://img.shields.io/pypi/pyversions/oathtool.svg

.. image:: https://github.com/jaraco/oathtool/actions/workflows/main.yml/badge.svg
   :target: https://github.com/jaraco/oathtool/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2025-informational
   :target: https://blog.jaraco.com/skeleton

TOTP code generator based on oathtool.

Usage
=====

Command-line::

    $ python -m oathtool $key

API::

    >>> oathtool.generate_otp(key)

Create standalone script (Unix)::

    $ python -m oathtool.generate-script
    $ ./oathtool $key

Don't want to install oathtool, but just want the script? Use
`pip-run <https://pypi.org/project/pip-run>`_::

    $ pip-run oathtool -- -m oathtool.generate-script
    $ ./oathtool $key


``generate-script`` also takes an arbitrary target path in
case you wish to generate the script elsewhere::

    $ python -m oathtool.generate-script ~/bin/my-oathtool

Or install with `pipx <https://pipxproject.github.io/pipx/>`_::

    $ pipx install oathtool
    $ oathtool $key