semvec/pypi-packages huggingface dataset:
jiff 0.2.0
Python bindings to the Jiff datetime library
Requires Python: >=3.10

# pyjiff

Python bindings for [Jiff][], a date-time library for Rust that
encourages you to jump into the pit of success. 

WIP, not ready for use, although all the Jiff readme examples
work :) Come back in a week.

## Usage

```python
from jiff import Zoned, Timestamp, Span

ts = Timestamp.from_string("2024-07-11T01:14:00Z")
span = Span()
span.months = 1
span.hours = 2
zoned = ts.intz("America/New_York") + span
assert str(zoned) == "2024-08-10T23:14:00-04:00[America/New_York]" 
```


[Jiff]: https://github.com/BurntSushi/jiff
treehouse-planner 0.0.2
A drafting tool for treehouse construction
Requires Python: >=3.8

# :deciduous_tree: Treehouse Planner :evergreen_tree:

The Treehouse Planner is designed to assist you in the initial planning phase of building an amazing treehouse. Whether you're evaluating trees for suitability, assessing tree safety, or drafting accurate scaled layouts for platforms, beams, walls, and posts, this tool aims to streamline your treehouse construction process.

## Features

- **Tree Evaluation:** Assess the suitability of trees based on various criteria.
- **Tree Safety:** Evaluate tree safety factors to ensure stability and reliability.
- **Scaled Layout Planning:** Generate accurately scaled plans for treehouse platforms, beams, walls, and posts.
- **Visualization:** Visualize example tree platform layouts to inspire your designs.

## Project Structure

The project is structured as follows:

```bash
treehouse_planner/
├── LICENSE
├── pyproject.toml
├── README.md
└── src/
    ├── treehouse_planner/         (Main package directory)
    │   ├── __init__.py
    │   ├── tree_species.txt        (List of tree species)
    │   ├── treehouse_layout.py     (Main functionality module)
    │   └── layout_images/          (Directory for layout images)
    │       ├── 1_tree_platform_examples.png
    │       ├── 2_tree_platform_examples.png
    │       ├── 3_tree_platform_examples.png
    │       ├── 4_tree_platform_examples.png
    │       ├── 5_tree_platform_examples.png
    │       └── tree_line.png
    └── tests/                      (Directory for tests)
        ├── __init__.py
        ├── test_treehouse_layout.py
        └── test_files/
            ├── p_exists.png
            ├── p1_exists.png
            ├── t_exists.txt
            └── t1_exists.txt
```

## Getting Started

Follow these steps to get started with the Treehouse Planner:

### Installation

1. **Package Installation**

You can install Treehousing Planner tool via pip from PyPI:


    pip install treehouse-planner


2. **Install Dependencies:**

Ensure you have Python 3.x and `pip` installed.

## Usage

1. **Run the program:**

Navigate to the `src/treehouse_design/` directory and run the `treehouse_layout.py` script:

    
    cd src/treehouse_design/
    python treehouse_layout.py


2. **Follow Program Instructions:**

The program will guide you through the steps for evaluating trees, assessing safety, and generating scaled layouts. 

>SAMPLE INPUTS

    Tree Species: [Red wood, Seqouia, Maple, Oak, Cedar],
    
    Tree Circumferences(in): [50.25, 56.5, 69, 72.25, 66]
    
    Distances(feet, inches):
        tree_1_to_2: (20, 0)
        tree_1_to_3: (15, 0)
        tree_1_to_4: (11, 7.9)
        tree_1_to_5: (8, 0)
        tree_2_to_3: (15, 0)
        tree_2_to_4: (23, 1.5)
        tree_2_to_5: (19, 9.5)
        tree_3_to_4: (10, 0)
        tree_3_to_5: (9, 7)
        tree_4_to_5: (5, 0)
        
    Bearings(degrees):
        tree_1_to_2: 161
        tree_1_to_3: 210
        tree_1_to_4: 251
        tree_1_to_5: 239

### Testing

Navigate to the `src/tests/` directory and run the `test_treehouse_draft.py` script:

    
    cd src/tests
    python test_treehouse_draft.py
TextCorrection 1.3.0
Syntax Error Data Enhancement
Requires Python: >=3.8



# 文本纠错

## 语法错误增强

针对行业语法错误数据稀缺问题，提出语法错误替换方法，可以根据领域的数据进行语法错误制作，定制化行业模型。
目前支持缺字漏字、错别字错误、缺少标点、错用标点、主语不明、谓语残缺、宾语残缺、其他成分残缺、主语多余、虚词多余、其他成分多余、语序不当、动宾搭配不当、其他搭配不当等14种细粒度错误类型的替换。