semvec/pypi-packages huggingface dataset:
jthreads 1.0.1
A package providing some simple extensions of the Thread class for Python.
Requires Python: >=3.9

# jthreads

jthreads is a Python library that extends on the Python Thread class by adding extra functionality such as LoopingThread, Timer, Interval, CountdownTimer and CallbackCountdownTimer.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install jthreads.

```bash
pip install jthreads
```

## Usage

### LoopingThread

```python
from jstreams import LoopingThread
from time import sleep

class MyThread(LoopingThread):
    def __init__(self) -> None:
        LoopingThread.__init__(self)
        self.count = 0
    
    def loop(self) -> None:
        # Write here the code that you want executed in a loop
        self.count += 1
        print(f"Executed {self.count} times")
        # This thread calls the loop implementation with no delay. Any sleeps need to be handled in the loop method
        sleep(1)
thread = MyThread()
thread.start()
sleep(5)
# Stop the thread from loopiong
thread.cancel()
```

### CallbackLoopingThread
This looping thread doesn't require overriding the loop method. Instead, you provide a callback
```python
from jthreads import CallbackLoopingThread
from time import sleep

def threadCallback() -> None:
    print("Callback executed")
    sleep(1)

thread = CallbackLoopingThread(threadCallback)
# will print "Callback executed" until the thread is cancelled
thread.start()

sleep(5)
# Stops the thread from looping
thread.cancel()
```
### Timer
The Timer thread will start counting down to the given time period, and execute the provided callback once the time period has ellapsed. The timer can be cancelled before the period expires.
```python
from jthreads import Timer
from time import sleep

timer = Timer(10, 1, lambda: print("Executed"))
timer.start()
# After 10 seconds "Executed" will be printed
```

```python
from jthreads import Timer
from time import sleep

# The first parameter is the time period, the second is the cancelPollingInterval.
# The cancel polling interval is used by the timer to check if cancel was called on the timer.
timer = Timer(10, 1, lambda: print("Executed"))
timer.start()
sleep(5)
timer.cancel()
# Nothing will be printed, as this timer has been canceled before the period could ellapse
```

### Interval
The interval executes a given callback at fixed intervals of time.
```python
from jthreads import Interval
from time import sleep
interval = Interval(2, lambda: print("Interval executed"))
interval.start()
# Will print "Interval executed" every 2 seconds
sleep(10)
# Stops the interval from executing
interval.cancel()
```

### CountdownTimer
The countdown timer is similar in functionality with the Timer class, with the exception that this timer cannot be canceled. Once started, the callback will always execute after the period has ellapsed.
```python
from jthreads import CountdownTimer

CountdownTimer(5, lambda: print("Countdown executed")).start()
# Will always print "Countdown executed" after 5 seconds
```

## License

[MIT](https://choosealicense.com/licenses/mit/)
bioprocessnexus 1.0.7
README.md

# BioProcessNexus
The BioProcessNexus is a project to enable free sharing of techno economic process models and life cycle analsis via surrogate models. The heartpieces of the project are an open-source python software for the generation and analysis of surrogate models and a data repository containing Monte-Carlo data from original models as well as pre-trained surrogate models.

For more information visit the [documentation](https://bioprocessnexus.readthedocs.io/en/latest/)!

## Installation

### Executable

The BioProcessNexus can be launched directly by downloading bioprocess.exe from [here](https://drive.boku.ac.at/d/3e0e8e499c7c402190de/).

### PyPi

You can install the development version of the BioProcessNexus from PyPi with:

```
pip install bioprocessnexus
```

All dependencies can be found in the requirements.txt file and be installed with:

```
pip install -r path/to/requirements.txt
```

after downloading the file.

The GUI can the be launched by importing the bioprocessnexus and running bioprocessnexus.launch_nexus() in python:

``` python
import bioprocessnexus
bioprocessnexus.launch_nexus()
```
intropy 0.9.0
Jump-start your python project

# Intropy

[![Version](https://img.shields.io/pypi/v/intropy?color=blue)](https://pypi.org/project/intropy/)
[![Build Status](https://github.com/RicNord/intropy/actions/workflows/ci.yaml/badge.svg)](https://github.com/RicNord/intropy/actions)

Powered by [Cookiecutter](https://github.com/cookiecutter/cookiecutter),
intropy is a framework for jump-starting production-grade python projects. It
generates a new python project within seconds that is configured automatically
with:

- Build system
- Test and code quality tooling
- Documentation
- Automation pipelines
- Security scanner
- etc...

## Features

- [Ruff](https://docs.astral.sh/ruff/) | Linter and formatter (Optionally
  strict [Black](https://black.readthedocs.io/en/stable/) as code formatter)
- [Pytest](https://docs.pytest.org/en/latest/) | Test framework
- [Tox](https://tox.wiki/en/latest/) | Standardized testing and automation
- [Coverage](https://coverage.readthedocs.io/en/latest/) | Code coverage
- [Mypy](https://www.mypy-lang.org/) | Static type checker
- Package and environment management
  - Deployable applications: [Pipenv](https://pipenv.pypa.io/en/latest/) |
    Version pinning and virtual environment setup
  - Libraries: pyproject.toml explicitly defined dependencies
- [Pre-commit](https://pre-commit.com/) | pre-commit hooks
- [Bump my version](https://callowayproject.github.io/bump-my-version/) | Bump
  semantic version
- [Sphinx](https://www.sphinx-doc.org/) | Documentation tool
- [Logging](https://docs.python.org/3/library/logging.html) boilerplate
- [Bandit](https://bandit.readthedocs.io/en/latest/) and
  [Trivy](https://trivy.dev/) | Security scanners
- DevOps platform options
  - Github
    - Github workflows | CI and publishing to PyPi
    - Github templates | Pull Requests and Issues
  - Azure Devops
    - Azure pipelines | CI
- Makefile for convenience

## Usage

Install cookiecutter:

```shell
pip install cookiecutter
```

Create project:

```shell
cookiecutter https://github.com/RicNord/intropy
```

You will be prompted for some values. After that the project will be generated!

### (Optional) Standalone CLI

A wrapper around the `cookiecutter` CLI is also provided and can be installed
with:

```shell
pip install intropy
```

For API reference see:

```shell
intropy --help
```
feltools 0.0.4
A collection of simple tools in Python

# feltools

feltools is a simple Python toolbox designed to provide utility functions for various tasks. This package aims to simplify common operations and make your coding experience more efficient.

## Features

- Hashing function `spec_hash`
- Sorting function `insert_sort`

## Patchnotes
- **0.0.1**: Added `spec_hash`
- **0.0.2**: Added `insert_sort`
- **0.0.3**: Better description and error handling
- **0.0.4**: Fixed internal code for `insert_sort`
## Installation

You can install feltools using pip:

```bash
pip install feltools
wow-bis-rolls 0.0.1
Finds all the BiS(101) rolls in a gargul json file
Requires Python: >=3.8

# WoW BIS Rolls

[![PyPI - Version](https://img.shields.io/pypi/v/wow-bis-rolls.svg)](https://pypi.org/project/wow-bis-rolls)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wow-bis-rolls.svg)](https://pypi.org/project/wow-bis-rolls)

-----

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

## Installation

```console
pip install wow-bis-rolls
```

## Usage

```
$ bis-rolls rolls.json
Wartorious won BiS on [Dark Edge of Insanity]
Angelnomore won BiS on [Dark Storm Gauntlets]
Byornski won BiS on [Carapace of the Old God]
Kongtikki won BiS on [Husk of the Old God]
Freewrath won BiS on [Husk of the Old God]
Tornwulf won BiS on [Intact Viscera]
Iskhiaro won BiS on [Intact Peritoneum]
Inarra won BiS on [Intact Entrails]
```

## License

`wow-bis-rolls` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.