semvec/pypi-packages huggingface dataset:
chronopype 0.2.9
A flexible clock implementation for real-time and backtesting scenarios
Requires Python: <4.0,>=3.13

# Chrono Pypeline

[![CI](https://github.com/gianlucapagliara/chronopype/actions/workflows/ci.yml/badge.svg)](https://github.com/gianlucapagliara/chronopype/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/gianlucapagliara/chronopype/branch/main/graph/badge.svg)](https://codecov.io/gh/gianlucapagliara/chronopype)
[![Python 3.13+](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/)

A flexible clock implementation for real-time and backtesting scenarios in Python. chronopype provides a robust framework for managing time-based operations with support for both real-time processing and historical data backtesting.

## Features

- 🕒 **Flexible Clock System**: Support for both real-time and backtesting modes
- 🔄 **Processor Framework**: Extensible system for implementing time-based operations
- 🌐 **Network-Aware**: Built-in network processor with retry and backoff capabilities
- ⚡ **Async Support**: Full async/await support for efficient I/O operations
- 🛠️ **Easy to Use**: Simple API for managing time-based operations
- 📊 **Performance Monitoring**: Built-in performance tracking and statistics
- 🔒 **Type Safe**: Fully typed with MyPy strict mode
- 🧪 **Well Tested**: Comprehensive test suite with high coverage

## Installation

```bash
# Using pip
pip install chronopype

# Using poetry
poetry add chronopype
```

## Quick Start

Here's a simple example of using chronopype:

```python
import asyncio
from chronopype import ClockConfig
from chronopype.clocks import RealtimeClock
from chronopype.processors import TickProcessor

class MyProcessor(TickProcessor):
    async def async_tick(self, timestamp: float) -> None:
        print(f"Processing at {timestamp}")

async def main():
    # Configure the clock
    config = ClockConfig(
        start_time=time.time(),
        tick_size=1.0  # 1 second ticks
    )

    # Create and configure the clock
    async with RealtimeClock(config) as clock:
        # Add your processor
        clock.add_processor(MyProcessor())

        # Run for 10 seconds
        await clock.run_til(config.start_time + 10)

if __name__ == "__main__":
    asyncio.run(main())
```

## Core Components

- **Clocks**: Base implementations for time management
  - `RealtimeClock`: For real-time processing
  - `BacktestClock`: For historical data processing

- **Processors**: Framework for implementing time-based operations
  - `TickProcessor`: Base class for all processors
  - `NetworkProcessor`: Network-aware processor with retry capabilities

## Development

chronopype uses Poetry for dependency management and packaging:

```bash
# Install dependencies
poetry install

# Run tests
poetry run pytest

# Run type checks
poetry run mypy .

# Run linting
poetry run pre-commit run --all-files
```
git-gen-utils 0.0.1
Generate git commit message using fine-tuned LLM
Requires Python: >=3.10
Keywords: LLM, git

# git-gen

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

Generate git commit message with a local LLM, which has been fine-tuned on 300K high-quality Python commits and is able to analyze the purposes of the changes

## Installation

Required Python 3.10+  
To install this package, run:

```shell
pip install git-gen
```

## Uses

To generate git commit message in current working directory, run:

```shell
git-gen
```

Generate with custom config:

```shell
git-gen --temperature 0.2 --top_k 50 --top_p 0.7
```

To get all command options, run:

```shell
git-gen -h
```

which should output

```plaintext
Usage:  [OPTIONS]

Options:
  --path PATH                 Path to the project, which should contain a '.git' folder. Default to current working directory.
  --max_tokens INTEGER RANGE  The maximum numbers of tokens to generate.  [default: 1024; x>=1]
  --temperature FLOAT RANGE   Control the overall probabilities of the generation. Prefer lower temperature for higher accuracy and higher temperature for
                              more varied outputs.  [default: 0.7; x>0]
  --top_k INTEGER RANGE       Limit the number of vocabs to consider.  [default: 20; x>=1]
  --top_p FLOAT RANGE         Limit the set of vocabs by cumulative probability.  [default: 0.8; 0<x<=1]
  -h, --help                  Show this message and exit.
```

## FAQ

There are a lot of similar projects. Why would I use this?

> A good commit message should reflect the purpose of the changes made concisely. Most LLMs failed to do that at zero-shot learning. This project aims to generate messages that focus on the "why"  instead of "what", by using a fine-tuned model on 300K high-quality Python commits.
>
> Moreover, it only uses local LLM. You code is safe from the internet.

## License

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

## Notes

### Build and push project

```shell
python -m pip install --upgrade build
python -m build
python -m pip install --upgrade twine
python -m twine upload --repository pypi dist/* --verbose
```
pymultitaper 1.1.0
Fast easy-to-use multitaper spectrogram and spectrum calculation with Python
Requires Python: >=3.6

<p align="center">
  <img src="https://github.com/fncokg/pymultitaper/blob/master/spectrogram.jpg?raw=true" />
</p>

# pymultitaper


`pymultitaper` is a fast and easy-to-use small package for multitaper spectrogram/spectrum calculation, as well as oridnary (single-taper) spectrogram calculation.


# Installation

Install via pip:

```
pip install pymultitaper
```

# Usage

```python
>>> from pymultitaper import multitaper_spectrogram, plot_spectrogram
>>> from scipy.io import wavfile
>>> fs, data = wavfile.read('test.wav')
>>> times,freqs,psd = multitaper_spectrogram(
...     data, fs,time_step=0.001,window_length=0.005,NW=4
... )
>>> fig,ax = plot_spectrogram(times,freqs,psd,cmap="viridis")
```

# Documentation

Refer to [pymultitaper documentation](https://fncokg.github.io/pymultitaper/) for more details.

# Examples

![Comparions of multitaper spectrograms](https://github.com/fncokg/pymultitaper/blob/master/spectrogram.jpg)

![Comparions of multitaper spectrums](https://github.com/fncokg/pymultitaper/blob/master/spectrum.jpg)
actinia-metadata-plugin 1.0.4
A (RESTFUL) Flask application which to communicate with a metadata catalog via OGC-CSW, in usage with GeoNetwork opensource.
Requires Python: >=3.8
Keywords: processing, earth observation, cloud-based processing, rest api, gis, grass gis, osgeo, metadata

# actinia-metadata-plugin


You can run actinia-metadata-plugin in multiple ways:

* as actinia-core plugin
* as standalone app with gunicorn, connected with a running actinia-core instance

If used as actinia-core plugin, the main.py is not executed.

## Installation
For installation or DEV setup, see docker/README.md.

## DEV notes:

#### Versioning:

https://semver.org/ (MAJOR.MINOR.PATCH)

#### Logging:
in any module, import `from actinia_metadata_plugin.resources.logging import log` and call logger with `log.info("my info i want to log")`