semvec/pypi-packages huggingface dataset:
document-LayoutBased-clustering-tool 0.1.3
A package for document layout-based clustering using text shading and feature extraction.
Requires Python: >=3.7

# Document Layout-Based Clustering Tool

This Python package provides methods for:
- **Text Shading**: Extract document layout features.
- **Feature Extraction**: Extract deep learning features from document images.
- **Clustering**: Perform K-Means or Hierarchical clustering on extracted features.

## Installation
```bash
pip install document-LayoutBased-clustering-tool

```
## structure
```bash
document_LayoutBased_clustering_tool_0.1.0
├─ LICENSE
├─ README.md
├─ document_clustering
│  ├─ __init__.py
│  ├─ cluster_viewer.py
│  ├─ feature_extraction_and_clustering.py
│  └─ textshade.py
├─ pyproject.toml
├─ requirements.txt
├─ setup.py
└─ test
   └─ test.py

```
seissolxdmf 0.1.4
A python reader for SeisSol xdmf output
Requires Python: >=3.6
Keywords: SeisSol

seissolxdmf
===============
A python reader for SeisSol xdmf output (posix or hdf5) and hdf5 meshes.
Below is an simple example, illustrating the use of the module:
```python
import seissolxdmf
fn = 'test-fault.xdmf'
# initiate class
sx = seissolxdmf.seissolxdmf(fn)
# Number of cells
nElements = sx.ReadNElements()
# Number of vertices
nNodes = sx.ReadNNodes()
# Number of nodes per elements
nodesPerElement = sx.ReadNodesPerElement()
# Read time step
dt = sx.ReadTimeStep()
# Read number of time steps
ndt = sx.ReadNdt()
# Returns a list of the output time values
outputTimes = sx.ReadTimes()
# load geometry array as a numpy array of shape ((nodes, 3))
geom = sx.ReadGeometry()
# load connectivity array as a numpy array of shape ((nElements, 3 or 4))
# The connectivity array gives for each cell a list of vertex ids.
connect = sx.ReadConnect()
# Check, whether variable "SRs" exists in the SeisSol output
assert "SRs" in sx.ReadAvailableDataFields()
# load SRs as a numpy array of shape ((ndt, nElements))
SRs = sx.ReadData('SRs')
# load the 9th time step of the SRs array as a numpy array of shape (nElements)
SRs = sx.ReadData('SRs', 8)
```
fossbill 1.11.0
A simple billing tool
Requires Python: >=3.8

# FossBill

The code source behind [fossbill.org](https://fossbill.org).

## Development

```sh
make instance/config.toml # Prepare the config, you may edit it
make venv-dev # Will prepare and install dependencies in venv
venv/bin/flask --app fossbill db upgrade head # Prepare and migrate the database
make run # Run the server
```

## Production

```sh
python -m venv venv
venv/bin/python3 -m pip install fossbill waitress
venv/bin/python3 -m pip install psycopg2-binary # if you use postgres
```

Configure the instance

```sh
mkdir -p venv/var/fossbill-instance/
curl -o venv/var/fossbill-instance/config.toml https://git.sr.ht/~stacyharper/fossbill/blob/main/config.example.toml
```

Then edit this config.toml and setup the secret and database string.

Then migrate using:

```sh
venv/bin/flask --app fossbill db upgrade head
```

Running the server is as simple as:

```sh
venv/bin/flask --app fossbill run
# or
venv/bin/waitress-serve --listen=127.0.0.1:5554 --call 'fossbill:create_app'
```

But you should rather setup a system daemon, and a proxy using nginx. Have a look at the contrib/ folder.

## Contribute

Send patches to the mailing list: [Development mailing list](https://lists.sr.ht/~stacyharper/fossbill-devel).

To learn how to use git send-email, please see [git-send-email.io](https://git-send-email.io/).

```sh
git config format.subjectPrefix 'PATCH fossbill'
git config sendemail.to '~stacyharper/fossbill-devel@lists.sr.ht'
```