semvec/pypi-packages huggingface dataset:
mesher 2.1.12
Mesher is a multi-objective unstructured mesh generation software.
Requires Python: >=3.7

# mesher

Mesher is a novel multi-objective unstructured mesh generation software that allows mesh generation to be generated from an arbitrary number of hydrologically important features while maintaining a variable spatial resolution. Triangle quality is guaranteed as well as a smooth graduation from small to large triangles. Including these additional features resulted in a better representation of spatial heterogeneity versus classic topography-only mesh generation. The paper describing *mesher* can be [found here](https://research-groups.usask.ca/hydrology/documents/pubs/papers/marsh,_et_al_2018.pdf).

![](docs/source/images/mesher_veg.png)

### How to use
Detailed documentation is given [here](https://mesher-hydro.readthedocs.io).

### Install
Build requirements
  - Python >= 3.7
  - C++14 compliant gcc (>= gcc 7.3)
  - gdal >=3.8, cgal, boost, vtk>=9, metis

```
$ pip install mesher
```

or

```
$ conda install mesher
```

Detailed documentation on how to install is given [here](https://mesher-hydro.readthedocs.io/en/latest/installation.html).




#### Spack
- Clone https://github.com/Chrismarsh/spack-repo
- Add `spack-repo` to spack `repos.yaml` https://spack.readthedocs.io/en/latest/repositories.html
- `spack install py-mesher`
fileextend 0.2
File extends

# FileExtension
## Stworzenie pełnej ścieżki

```python
from fileextend import mkdir_full

mkdir_full('a/b/c/d/e')
```

## Pobranie liczby znaków z pliku
Umożliwia także wyliczanie liczby znaków dla dużyc plików za pomocą chunków
> Drugi parametr określa rozmar chunka w MB, domyślnie 5MB

```python
from fileextend import file_get_length

print(file_get_length('/file/path.txt', 50))
```

## Wyliczenia hash sha256 dla pliku
> Drugi parametr określa rozmar chunka w MB, domyślnie 5MB

```python
from fileextend import file_get_sha256

print(file_get_sha256('/file/path.txt'))
```

## Tworzenie pliku
```python
from fileextend import touch

touch('/path/to/file', 'content')
```

## Has json content
```python
from fileextend import has_json_content

print(has_json_content('/path/to/file'))
```

# Operowanie na pliku
```python
from fileextend.file import File

file = File('test.txt') # open file
file.set_type('string') # content ype (string/byte), default string
file.set_encoding('utf-8') # content encoding, default utf-8
file.touch('content') # create file (if not exists)
file.append('content') # append to file

print(file.get_length()) # get content length
print(file.get_hash_sha256()) # get sha256 hash
```

# Tar
## Is valid tar file
```python
from fileextend.tar import is_valid_tar

print(is_valid_tar('/path/to/file.tar'))
```

## Extract tar file
```python
from fileextend.tar import extract_tar_file

print(extract_tar_file('/tar/path', '/tar/file'))
```

## List files from tar
```python
from fileextend.tar import list_files_from_tar

print(list_files_from_tar('/path/to/file.tar'))
```
docproc 1.0.0
Opinionated and Sophisticated Document Region Analyzer.
Requires Python: ==3.12.8

# Docproc

A Python-based document region analyzer and content extraction tool.

> [!WARNING]  
> Project is under active development so most of the features aren't implemented, The readme is written to understand project scope.

## Overview

Docproc is an opinionated document region analyzer that helps extract text, equations, images and handwriting from documents. It provides both a library interface and a command-line tool.

## Installation

```bash
# Using pip
pip install docproc
```

## Usage

### As a Command-line Tool

```bash
# Basic usage
docproc input.pdf

# Specify output format and file
docproc input.pdf -w csv -o output.csv
docproc input.pdf -w sqlite -o database.db
docproc input.pdf -w json -o output.json

# Extract only specific region types
docproc input.pdf --regions text equation
docproc input.pdf -r text image  # Short form

# Enable verbose logging
docproc input.pdf -v
```

Supported output formats:

- CSV (default)
- SQLite
- JSON

### As a Library

```python
from docproc.doc.analyzer import DocumentAnalyzer
from docproc.writer import CSVWriter

# Using context manager (recommended)
with DocumentAnalyzer("input.pdf", CSVWriter, output_path="output.csv") as analyzer:
    regions = analyzer.detect_regions()
    analyzer.export_regions()
```

## Roadmap

The following features are planned for upcoming releases:

- **Handwriting Recognition**: Detect and extract handwritten content from documents

## Development

```bash
uv sync
```

## Contributing

Pull requests are welcome. Please ensure tests pass before submitting.

## Contact

For any questions, feedback or suggestions, please contact the author @ [hi@rithul.dev](mailto:hi@rithul.dev)
random-generator 1.0.2
Random generator

# Random generator

## Main

### Unique

```python
import random_generator
print(random_generator.unique_string(10))
```

### String

```python
import random_generator

print(random_generator.string(15))
```

### Number

```python
import random_generator

print(random_generator.number(15))
```

## Financial

### Credit card number

```python
from random_generator.financial import credit_card
print("Visa:", credit_card('Visa'))
print("MasterCard:", credit_card('MasterCard'))
print("American Express:", credit_card('American Express'))
```

### Iban generator

```python
from random_generator.financial import iban

print(iban('PL'))
print(iban('DE'))
```

## Network

### IP generator

```python
from random_generator.network import ip

print(ip()) # *.*.*.*
print(ip('192.168.*.*'))
```

### Mac address generator

```python
from random_generator.network import mac_address

print(mac_address()) # *:*:*:*:*:*
print(mac_address('e2:*:*:*:*:*'))
```

## Date

### Date generator (Y-m-d)

```python
from random_generator.date import date

print(date())
print(date('1980-01-01', 'Today')) # From, To
```

## Poland

### NIP
Polish NIP generator

```python
import random_generator.poland

print(random_generator.poland.nip())
```
### PESEL
Polish PESEL generator

```python
import random_generator.poland

print(random_generator.poland.pesel())
```

## Germany

### Vat number
German vat number generator

```python
import random_generator.germany

print(random_generator.germany.vat())
```