semvec/pypi-packages huggingface dataset:
rlfit 0.1.1
Fitting reinforcement learning model to behavior data under bandits.
Requires Python: >=3.12
Keywords: convex optimization, model fitting, multi-armed bandits, reinforcement learning

# rlfit: Fitting Reinforcement Learning Model to Behavior Data under Bandits

Python package companion to the paper
"Fitting Reinforcement Learning Modelto Behavior Data under Bandits".
This library is collated from the early version code in
[this repository](https://github.com/nrgrp/fit_rl_mab)
which was used for the numerical experiments in the paper.

## Installation

### Using pip

You can install the package via [PyPI](https://pypi.org):

```shell
pip install rlfit
```

### Development setup

We manage dependencies through [uv](https://docs.astral.sh/uv).
Once you have installed uv you can perform the following
commands to set up a development environment:

1. Clone the repository:

    ```shell
    git clone https://github.com/nrgrp/rlfit.git
    cd rlfit
    ```

2. Create a virtual environment and install dependencies:

    ```shell
    make install
    ```

This will:

- Create a Python 3.12 virtual environment.
- Install all dependencies from pyproject.toml.

## Usage

The core module is the `RLFit` class, which was implemented
following the scikit-learn style.
See the [example notebooks](./examples) and the corresponding
paper for some basic usages.
If a development environment is configured, executing

```shell
make jupyter
```

will install and start the jupyter lab.
infinit 0.1.1
Minimal project scaffolder for hackers
Requires Python: >=3.9

# Infinit ⎯ Minimal Project Scaffolder

> **Zero-config folder generator**
> For hackers who want structure *now*
---

## 🚀 Installation

```bash
# Install with pipx (recommended)
pipx install infinit

# Or with pip
pip install infinit
```

---

## 📦 Usage

```bash
# Create project (HTB template)
infinit create myproj -t basic

# Custom structure
infinit create myproj -f "scans,loot" -F "README.md:# Findings"
```

### Available Templates

| Alias | Template Name | Structure                |
| ----- | ------------- | ------------------------ |
| `basic`   | HTB           | scans/, loot/, exploits/ |
| `web`   | Web           | static/, templates/      |

---

## 🛠 Development

```bash
# Install locally
pip install -e .

# Run tests
pytest
```

---

## 🔍 Philosophy

* **No YAML** ⎯ Configure via CLI
* **Zero Dependencies** ⎯ Only `click`
* **HTB-Ready** ⎯ Default pentest structure

---

## 📁 Key Files Structure

```
.
├── .gitignore
├── README.md
├── infinit/
│   ├── __init__.py
│   ├── cli.py          # Main CLI
│   └── core/
│       ├── __init__.py
│       ├── builder.py   # Logic
│       └── templates.py
└── pyproject.toml
```
select-options 1.1.1
A simple library for creating interactive selection menus in terminal applications.
Requires Python: >=3.7

# select_options

select_options is a Python library for creating interactive selection menus in terminal applications. Designed for personal use, but open to proposals and contributions.

## Overview

A simple library to make a beautiful appearance on the console to select one or various options.

## Features

- Interactive selection menus
- Multiselect support
- Customizable prompts
- Adjustable columns (auto between 2-5, manual control planned)
- Limit selection in multiselect menus
- Future: color customization

## Installation

Install via pip:

```bash
pip install select_options
```

Or install from source:

```bash
git clone https://github.com/Gerry1402/select.git
cd select
pip install .
```

## Usage

For every type of iterable except `dict`, the menu shows the string representation of each item. If items are not stringifiable, use a `dict` where the key is the displayed content and the value is the result.

Example:

```python
from select_options import Select
options = ["Option 1", "Option 2", "Option 3"]

selected = Select(options, prompt="Choose an option")

single = selected.run()
print(f"You selected: {single_selected}")

select.prompt = "Choose one or various options"
selected.multiselect = True

multi = selected.run()

```

## Parameters

- **Title**: Purpose of the selection, instructions shown below the table.
- **Multiselect**: Allows multiple selections.
- **Limit**: Restricts the number of selections in multiselect menus.
- **Columns**: Auto-adjusts columns (2-5); manual control planned.

## Compatibility

Tested on Windows 11. Compatibility with other OS/environments is not guaranteed.

## Requirements

- Python >= 3.7
- textual

## License

MIT License

##

Gerard Vello  
Email: gerard.vello@gmail.com

---

## Roadmap

- Manual column control
- Color customization

## Screenshots
![Base color selection](image\README\1752244777712.png)
This is the base color for Multi-select and Single-select.

![Color of selected ones with current position over a selected](image\README\1752244868055.png)
This are the colors that appear on the Multi-select, the blue are the selected ones and the purple is the current position over a selected option.

Contributions, suggestions, and issues are welcome. Feel free to open a pull request or issue on GitHub.
hexdoc-hexpose 1.0.0.1.0.0
Python web book docgen and hexdoc plugin for Hexpose.
Requires Python: >=3.11
Keywords: hexdoc

# hexdoc-hexpose

Python web book docgen and [hexdoc](https://pypi.org/project/hexdoc) plugin for Hexpose.

## Version scheme

We use [hatch-gradle-version](https://pypi.org/project/hatch-gradle-version) to generate the version number based on whichever mod version the docgen was built with.

The version is in this format: `mod-version.python-version.mod-pre.python-dev.python-post`

For example:
* Mod version: `0.11.1-7`
* Python package version: `1.0.dev0`
* Full version: `0.11.1.1.0rc7.dev0`

## Setup

Install Python 3.11 and Node 18 (20+ is **not** currently supported).

```sh
python3.11 -m venv venv

.\venv\Scripts\activate   # Windows
. venv/bin/activate.fish  # fish
source venv/bin/activate  # everything else

# run from the repo root, not doc/
pip install -e .[dev]
```

## Usage

For local testing, create a file called `.env` in the repo root following this template:
```sh
GITHUB_REPOSITORY=miyucomics/hexpose
GITHUB_SHA=main
GITHUB_PAGES_URL=https://miyucomics.github.io/hexpose/
```

Useful commands:
```sh
# show help
hexdoc -h

# render and serve the web book in watch mode
nodemon --config doc/nodemon.json

# render and serve the web book
hexdoc serve

# export, render, and merge the web book
hexdoc export
hexdoc render
hexdoc merge

# start the Python interpreter with some extra local variables
hexdoc repl
```
fastloguru 0.1.1
An enhanced wrapper for Loguru that supports multiple named loggers with automatic file output, tagging, and smart defaults.
Requires Python: >=3.7

# fastloguru

`fastloguru` is a wrapper around [Loguru](https://github.com/Delgan/loguru) that provides:
- Named loggers with automatic file naming
- Dual logging files: one plain, one color-coded
- Preconfigured format, rotation, and retention
- Cross-platform logging directories
- Optional log tagging for filtering

## Installation

```bash
pip install fastloguru
```

## Usage

```python
from fastloguru import get_logger

log1 = get_logger("api")
log2 = get_logger("auth", prefix="server1", tag="auth")

log1.info("API started")
log2.error("Authentication failed")
```
tickthon 0.3.6
Yet another unofficial Ticktick API client, it is based on ticktick-py
Requires Python: >=3.10

# tickthon
Yet another unofficial Ticktick API client, it is based on ticktick-py https://pypi.org/project/ticktick-py/

## Installation
```bash
pip install tickthon
```

## Usage

```python
from tickthon import TicktickClient, TicktickListIds

client = TicktickClient(username, 
                        password, 
                        TicktickListIds(
                            INBOX="inbox-list-id",
                            TODAY_BACKLOG="today-list-id",
                            WEEK_BACKLOG="week-list-id",
                            MONTH_BACKLOG="month-list-id",
                            WEIGHT_MEASUREMENTS="weight-measurements-list-id"
                        )
            )
client.get_active_tasks()
```

## Features
- get_active_tasks()
- get_completed_tasks()
- get_deleted_tasks()
- get_abandoned_tasks()
- get_task(task_id)
- get_overall_focus_time(date)
- get_active_focus_time(date, active_focus_tags)
- get_tasks_by_list(list_ids)
- complete_task(Task)
- create_task(Task, column_id)
- move_task_to_project(Task, project_id)
- replace_task_tags(Task, tags)

## Task model
This package uses a custom attrs model to store task data, it has the following attributes:

Task:
- title: str 
- status: int, default: 0  # 0: default/open, 2: done, -1: abandoned
- ticktick_id: str, default: ""
- focus_time: float, default: 0.0
- deleted: int, default: 0  # 0: not deleted, 1: deleted
- tags: List[str], default: []
- project_id: str, default: ""
- timezone: str, default: ""
- due_date: str, default: ""
- recurrent_id: Optional[str], default: ""

## Environment variables
- TT_USER: Ticktick username
- TT_PASS: Ticktick password
ascender-spectests 0.1.1
This library provides a set of utilities and tools for testing your ascender framework project and performing unit tests on your code. It supports Ascender Framework's DI (Dependency Injection) and provides a way to mock dependencies for testing purposes.
Requires Python: <3.14,>=3.11

## Ascender Specification Tests

This library provides a set of utilities and tools for testing your ascender framework project and performing unit tests on your code.

It supports Ascender Framework's DI (Dependency Injection) and provides a way to mock dependencies for testing purposes.

### Features
- Mocking of dependencies
- Unit testing utilities
- Integration with Ascender Framework's DI system
- Easy setup for testing Ascender projects
- HTTP client utilities (although you could use ascender.common.HTTPClient)

### Installation
To install the Ascender Specification Tests library, you can use the following command:
```bash
poetry add ascender-spectests
```

### Usage
To use the Ascender Specification Tests library in your project, you can import the necessary modules and define test cases using the provided utilities. Here's a simple example:

```python
from spectests import TestingCase, AscSpecificationInterface
from unittest import AsyncTestCase


@TestingCase(
   imports=[
      # define your dependency injection imports here.
   ],
   providers=[
      # define your service providers here.
   ],
)
class MyTestCase(AsyncTestCase, AscSpecificationInterface):
   async def setUp(self):
      # Setup code here, e.g., initializing services or mocking dependencies
      print(self.injector) # Access to the DI injector of the current TestingCase scope (including imports and providers)

    async def test_example(self):
        # Assert
        result = "expected_value"
        self.assertEqual(result, 'expected_value')
```


Now to use it you have to provide the spectests in bootstrap.py file of your ascender project:

```python
from ascender.core import IBootstrap
from ascender.core.cli import provideCLI
from spectests import provideSpecTests

appBootstrap: IBootstrap = {
    "providers": [
         provideRouter(routes),
         provideSpecTests(
            {
               "type": "specsuite",
               "spec": MyTestCase,  # Your test case class
               "methods": ["test_example"],  # List of methods to run as tests (not allowed to provide if type is "autospec")
            }
         ),  # Add this line to include the spec tests
         provideCLI(SpecTestsCLI)
    ]
}
```

## Running Tests
To run the tests defined in your Ascender Specification Tests, you can use the following command:
```bash
ascender run tests start
```
hexdoc-hexodus 1.0.0.1.0.0
Python web book docgen and hexdoc plugin for Hexodus.
Requires Python: >=3.11
Keywords: hexdoc

# hexdoc-hexodus

Python web book docgen and [hexdoc](https://pypi.org/project/hexdoc) plugin for Hexodus.

## Version scheme

We use [hatch-gradle-version](https://pypi.org/project/hatch-gradle-version) to generate the version number based on whichever mod version the docgen was built with.

The version is in this format: `mod-version.python-version.mod-pre.python-dev.python-post`

For example:
* Mod version: `0.11.1-7`
* Python package version: `1.0.dev0`
* Full version: `0.11.1.1.0rc7.dev0`

## Setup

Install Python 3.11 and Node 18 (20+ is **not** currently supported).

```sh
python3.11 -m venv venv

.\venv\Scripts\activate   # Windows
. venv/bin/activate.fish  # fish
source venv/bin/activate  # everything else

# run from the repo root, not doc/
pip install -e .[dev]
```

## Usage

For local testing, create a file called `.env` in the repo root following this template:
```sh
GITHUB_REPOSITORY=miyucomics/hexodus
GITHUB_SHA=main
GITHUB_PAGES_URL=https://miyucomics.github.io/hexodus/
```

Useful commands:
```sh
# show help
hexdoc -h

# render and serve the web book in watch mode
nodemon --config doc/nodemon.json

# render and serve the web book
hexdoc serve

# export, render, and merge the web book
hexdoc export
hexdoc render
hexdoc merge

# start the Python interpreter with some extra local variables
hexdoc repl
```
tolor 1.0.0
Simple color libary for terminals.
Requires Python: >=3.6

# What is tolor?
- Tolor is simple color libary for python.
- You can use predefined colors or hex codes for coloring.
- Also you can use `gradient` function for smooth colored texts

# How to install?
- First you need open terminal and execute `pip install tolor` command
- After installing you can simple import package with `import tolor` command

# How to use?
- I will show you example code for understand.

```python
from tolor import init, color, gradient

init() # Its important to init

print(f"{color.red}Example red message!{color.reset}")
print(f"{color.hex('#06E978')}Example colored message with hex code!{color.reset}")
print(gradient("blue", "green", "Gradient text from blue to green!"))
print(gradient("#FF0000", "#06E978", "Gradient text with hex!"))
```

- There list of predefined colors: `black`, `red`, `green`, `blue`, `yellow`, `cyan`, `magenta`, `white`, `gray`, `orange`, `pink`, `purple`, `brown`, `lime`, `teal`, `indigo`, `gold`, `silver`, `maroon`

# Ending
- If you liked project and want to support me please leave star on github.
- Thanks for using my libary