semvec/pypi-packages huggingface dataset:
docforest 0.1.1
A package for intelligently chunking structured documents into a hierarchical, contextual tree.
Requires Python: >=3.9

# DocForest

**DocForest** is a Python library for intelligently chunking structured documents like Markdown and AsciiDoc. It organizes document content into a recursive, tree-like structure, ensuring that each chunk retains its full contextual path from its parent headings. This makes it an ideal tool for RAG (Retrieval-Augmented Generation) systems, semantic search, and other NLP tasks.

-----

### Features

  * **Hierarchical Chunking**: Splits documents based on heading levels, preserving the logical structure.
  * **Context Preservation**: Each section's content is linked to all its parent headings, providing rich context.
  * **Flexible Output**: Generates a structured "forest" or "tree" that is easy to traverse and process.
  * **Support for Multiple Formats**: Built to handle various structured document types.

### Installation

Install `docforest` from PyPI:

```bash
pip install docforest
```

### Usage

```python
from docforest import DocForest, DocStyle

# Create a DocForest instance with the desired document style
forest = DocForest(style=DocStyle.MARKDOWN)

# chunk a document by giving its content
forest.chunk(content="content")
```

-----

### License

This project is licensed under the **MIT License**. See the `LICENSE` file for details.
blackduck-game 0.3.0
Blackjack but with ducks. And for some reason, a complex ATM system
Requires Python: >=3.8
Keywords: blackjack, game, card-game, casino, duck

# BlackDuck

BlackDuck is a game commonly known as blackjack. I switched all the jacks with ducks (text) and added the most common actions, hitting, standing, doubling down and spliting. The game is made using Python and main game in inclosed in a menu where you can see information, change settings and regroup youer money. 

You can play this on your terminal/command prompt that has python 3 and pip installed. You can install the game following the '**How to play BlackDuck**'

## Features

- Blackjack - A great gambling game
- Advanced Blackjack features - Double down, split
- Scoring based system - Scores score based of how much money won
- ATM system - When running out of money you can go to the atm and withdraw money
- Settings function - Changable options for your preference
- Information section - A space for understand and learn about the game and how to play
- Typewriter - All text is printed out as a typewriter effect

## How to play BlackDuck

1) Go to [https://pypi.org/project/blackduck-game/](https://pypi.org/project/blackduck-game/)

2) once at PyPi, copy the package installation or "pip install blackduck-game"

3) Open Terminal or Command Prompt with python and pip installed. You can check this by using:

    ```sh
    python --version
    ```

    or

    ```sh
    python3 --version
    ```

    and

    ```sh
    pip3 --version
    ```

    or

    ```sh
    pip --version
    ```

4) Use one of the commands (depending on OS and python type)

   ```sh
   pip install blackduck-game
   ```

   ```sh
   pip3 install blackduck-game
   ```

   ```sh
   pipx install blackduck-game
   ```

   ```sh
   python3 -m pip install blackduck-game
   ```

5) Use the command `blackduck` to play the game

6) Start playing and have fun gambling

## Credit
[@QinCai](https://hackclub.slack.com/team/U07BNRCEARM): For helping with the typing function and part of the PyPi packaging process

AI: For creating the split function, helping me understand how some parts of code works, creating code for the PyPi package and creating the replacement for getch.
fixedfig 0.1.6
A wrapper for matplotlib's plt.show() that globally sets figure window size, position, and target screen.
Requires Python: >=3.8

fixedfig 0.1.6

written by Charlie and his friends (8/22/2025)

-------------

This module provides an enhanced version of matplotlib's plt.show(), enabling global configuration of figure window size, position, and target screen.

· Dependencies:

    pip install matplotlib
    pip install pyglet==1.5.27  # required for multiscreen support

· Features:

1. Fixed window size and centered display.
2. Adaptive window size with top-left corner offset.
3. Supports choosing which screen to display on (primary or secondary).
4. Compatible with TkAgg. Switch to the TkAgg backend by default on macOS to ensure window control.

· Usage:

    import fixedfig
    
    # Figure window fixed at 800x600 pixels and centered on the primary screen
    fixedfig.set_show_config([800, 600], fixed_size=True, screen_index=0)
    plt.plot(...)
    plt.show()

    # Figure window with adaptive size, positioned with an offset of 100x50 pixels on the secondary screen
    fixedfig.set_show_config([100, 50], fixed_size=False, screen_index=1)
    plt.plot(...)
    plt.show()

-------------

v0.1.0: Provides an enhanced version of matplotlib's plt.show(), enabling global configuration of figure window size and position.

v0.1.1: Adds global configuration of the target screen.

v0.1.2: Adds support for non-Windows platforms.

v0.1.3: Simplifies the code structure.

v0.1.4: Adds a README file.

v0.1.5: Fixes minor syntax warnings.

v0.1.6: Forces matplotlib to use the TkAgg backend by default. (Latest)

-------------

For feedback, please contact:  

- 2410486@tongji.edu.cn (school)  
- tlh1960250207@outlook.com (personal)
s7svrsim 0.2.0
Add your description here
Requires Python: >=3.11


# Type hints for writing S7SvrSim Scripts 

## Install

```bash
pip install s7svrsim
```

## Usage

```python
from s7svrsim import hints

# annotate
S7: hints.S7DB = S7
Logger: hints.Logger = Logger

# now you get IntelliSence
Logger.LogInfo("111111")
```
s7svrsim-hints 0.2.0
Add your description here
Requires Python: >=3.11


# Type hints for writing S7SvrSim Scripts 

## Install

```bash
pip install s7svrsim
```

## Usage

```python
from s7svrsim import hints

# annotate
S7: hints.S7DB = S7
Logger: hints.Logger = Logger

# now you get IntelliSence
Logger.LogInfo("111111")
```