semvec/pypi-packages huggingface dataset:
BackboneTools 2025.0.3
BackboneTools is a Python package for working with Backbone.

# Backbone Tools

Tools to work with input and output data of the energy system modelling framework [Backbone](https://gitlab.vtt.fi/backbone/backbone/).

An important prerequisite is to have [GAMS](https://www.gams.com/) installed on your system, as this packages calls certain GAMS commands through python.

A detailled documentation can be found here: https://backbonetools.readthedocs.io.

## Result parameters as DataFrames
This is likely one of the core use cases. The `BackboneResult`-class enables easy access to all symbols.

```python
from backbonetools.io import BackboneResult

# load result
result = BackboneResult("path/to/result.gdx")

# any symbol is available as DataFrame
gen_df = result.r_gen_gnuft()
gen_df.head()
```
This may yield something like this:
|    | grid   | node   | unit       | f   |   t |    Val |
|---:|:-------|:-------|:-----------|:----|----:|-------:|
|  0 | elec   | AT0 0  | AT0 0 CCGT | f00 |   6 | 3295.9 |
|  1 | elec   | AT0 0  | AT0 0 CCGT | f00 |   7 | 3295.9 |
|  2 | elec   | AT0 0  | AT0 0 CCGT | f00 |   8 | 3295.9 |
|  3 | elec   | AT0 0  | AT0 0 CCGT | f00 |   9 | 3295.9 |
|  4 | elec   | AT0 0  | AT0 0 CCGT | f00 |  10 | 3295.9 |


## Analysing multiple related results

In a similar manner, multiplep results (e.g., from a Sensitivity analyis) can be analysed. To do so, place all result files in a directory and follow these steps.

```python
from backbonetools.io import BackboneScenarioAnalysis

# load all results in a directory
sa = BackboneScenarioAnalysis("path/to/result_dir")

# result symbols are available similarly
sa_gen_df = sa.r_gen_gnuft()
```

The difference between `sa_gen_df` and `gen_df` from above is that `sa_gen_df` has an additional column indicating to which result file the values adhere.
SpriteSheetAnim 1.0.0
load and play sprite sheet animations.
Requires Python: >=3.6

#
Overview
##
This library provides an easy-to-use `SpriteAnimation` class for Pygame that handles sprite sheet animations. It allows you to animate 2D characters or objects using a sprite sheet made up of equal-sized frames.

###
Key Features
###
- Loads animations from a sprite sheet using customizable frame size
- Automatically handles frame timing and animation playback
- Supports looping and one-shot animations
- Allows optional frame scaling to a new size
- Supports horizontal flipping of animations
- Easily reset animations at any time

####
Basic Usage
####

from sprite_animation import SpriteAnimation
import pygame

pygame.init()
screen = pygame.display.set_mode((640, 480))

#Create animation
anim = SpriteAnimation("spritesheet.png", frame_size=(32, 32), frame_duration=100, final_size=(64, 64))

#Main loop
clock = pygame.time.Clock()
running = True
while running:
    dt = clock.tick(60)  #Ms since last frame
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False

    anim.update(dt)
    
    screen.fill((0, 0, 0))
    anim.draw(screen, (100, 100))
    pygame.display.flip()

pygame.quit()
pyenospy 1.0.0
Basit ve kullanışlı bir mouse ve klavye kontrol kütüphanesi
Requires Python: >=3.6

# PyEnosPy

Basit ve kullanÄ±ÅŸlÄ± bir mouse ve klavye kontrol kÃ¼tÃ¼phanesi.

## Kurulum

```bash
pip install pyenospy
```

## KullanÄ±m

```python
from pyenospy import MyInput

# KÃ¼tÃ¼phaneyi baÅŸlat
input = MyInput()

# Mouse kontrolÃ¼
input.mouse_move(100, 200)  # Mouse'u (100,200) konumuna taÅŸÄ±
input.mouse_click('left')   # Sol tÄ±klama yap
input.mouse_double_click()  # Ã‡ift tÄ±klama yap

# Klavye kontrolÃ¼
input.key_press('a')        # 'a' tuÅŸuna bas
input.type_text("Merhaba")  # "Merhaba" yaz

# TuÅŸ kombinasyonu
input.key_down('shift')     # Shift tuÅŸunu basÄ±lÄ± tut
input.key_press('a')        # Shift+A kombinasyonu
input.key_up('shift')       # Shift tuÅŸunu bÄ±rak

# Bekleme
input.wait(1.5)            # 1.5 saniye bekle
```

## Ã–zellikler

- Mouse kontrolÃ¼ (hareket, tÄ±klama, Ã§ift tÄ±klama)
- Klavye kontrolÃ¼ (tuÅŸ basma, tuÅŸ kombinasyonlarÄ±, metin yazma)
- Bekleme fonksiyonu
- Basit ve anlaÅŸÄ±lÄ±r API
- TÃ¼rkÃ§e dokÃ¼mantasyon

## Gereksinimler

- Python 3.6 veya Ã¼zeri
- Windows iÅŸletim sistemi
- pywin32 paketi

## Lisans

MIT License
learn-pyproject 0.1.1
Learn modern Python packaging with Poetry, pyproject.toml and PyPI.
Requires Python: >=3.12

# learn-pyproject

Experiments with modern python project tooling.

https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
https://python-poetry.org/docs

### PyPi Project Page
http://pypi.org/project/learn-pyproject/0.1.1/

### Install Poetry

```sh
curl -sSL https://install.python-poetry.org | python3 -
poetry completions bash >> ~/.bashrc
echo "source /etc/bash_completion" >> ~/.bashrc
poetry --version
```

### [Basic Usage](https://python-poetry.org/docs/basic-usage/)

```sh
# create venv and install dependencies
poetry install
# activate venv
$(poetry env activate)
# list all venvs
poetry env list
# delete the current venv (and all installed dependencies)
poetry env remove $(poetry env list | grep Activated | awk '{ print $1 }')
# alternatively, use `poetry run` which will use the venv
poetry run python src/learn_pyproject/hello.py
```

### [Managing Dependencies](https://python-poetry.org/docs/managing-dependencies/)

```sh
# discard lockfile and resolve dependencies again
poetry update
# fix lockfile
poetry lock
# make sure only the dependencies in the lockfile are installed
poetry sync
# add dependencies
poetry add requests
# add optional dependencies in a group
poetry add pytest --group test
# install the optional group dependencies
poetry install --with test
# exclude optional dependencies
poetry install --without test,docs
# explicitly select groups to install
poetry install --only main # runtime deps are implicitly named main
poetry show --tree
poetry show --all
```

### [Libraries](https://python-poetry.org/docs/libraries/)

```sh
poetry build # sdist (source, .tar.gz), wheel (compiled, .whl)

poetry publish # requires .pypirc credentials, see https://python-poetry.org/docs/repositories/#configuring-credentials
poetry config pypi-token.pypi <token>
poetry publish --build # note published versions are immutable. You have to change the version number to publish again. Use semver.
```

### [Commands](https://python-poetry.org/docs/cli/)
pid4cat-model 0.4.2
Python model equivalent of LinkML datamodel for handle-based PIDs for resources in catalysis (pid4cat)
Requires Python: <4.0,>=3.11

[![CI - main](https://github.com/nfdi4cat/pid4cat-model/actions/workflows/main.yaml/badge.svg)](https://github.com/nfdi4cat/pid4cat-model/actions/workflows/main.yaml)
[![CI - docs](https://github.com/nfdi4cat/pid4cat-model/actions/workflows/deploy-docs.yaml/badge.svg?branch=main)](https://github.com/nfdi4cat/pid4cat-model/actions/workflows/deploy-docs.yaml)
[![PyPI - Version](https://img.shields.io/pypi/v/pid4cat-model)](https://pypi.org/project/pid4cat-model)
[![DOI](https://zenodo.org/badge/728357011.svg)](https://doi.org/10.5281/zenodo.15173682)

# Python package for pid4cat persistent identifiers

The package helps to interface the **pid4cat service**, a service offered by NFDI4Cat for metadata rich, universal persistent identifiers.
pid4cat builds upon the handle-system (as DOIs do). pid4cat adds a **custom API** to a handle server and provides a **LinkML model for  PID-related metadata**.
The metadata are stored in the handle records.

This Python package includes an equivalent Python (pydantic) model of the LinkML-based datamodel for the metadata of pid4cat identifiers.
It moreover includes some helpers to simplify using pid4cat identifiers.

## Installation

The pid4cat Python is [published on PyPI](https://pypi.org/project/pid4cat) and can be installed in the usual  way

```bash
pip install pid4cat-model
```

## Documentation

- Jupyter notebooks in [examples/](https://github.com/nfdi4cat/pid4cat-model/tree/main/examples) folder.
- Short introduction in [pid4cat Python package](https://nfdi4cat.github.io/pid4cat-model/latest/tools/#pid4cat-model-python-package) section.

## Contributors

See main [README](https://github.com/nfdi4cat/pid4cat-model/blob/main/README.md).

## License

The pid4cat Python package is distributed under the MIT license.

## Acknowledgement

This project started as an in-kind contribution of [Leibniz-Institut für Katalyse e.V.](https://www.catalysis.de) (Rostock, Germany) to the NFDI4Cat project.

After 2024-03-27 this work has been funded by the German Research Foundation (DFG) through the project "[NFDI4Cat](https://www.nfdi4cat.org) - NFDI for Catalysis-Related Sciences" (DFG project no. [441926934](https://gepris.dfg.de/gepris/projekt/441926934)), within the National Research Data Infrastructure ([NFDI](https://www.nfdi.de)) programme of the Joint Science Conference (GWK).