semvec/pypi-packages huggingface dataset:
jgtcore 0.2.5
Comprehensive core library for JGT applications - migrated from jgtutils with full compatibility
Requires Python: >=3.7
Keywords: configuration, settings, utilities, jgt, trading, fx, cli, logging

# jgtcore

Core library for JGT utilities - configuration, settings, and utility functions.

This is a pure Python library extracted from `jgtutils` to provide clean programmatic access to JGT configuration and settings without CLI dependencies.

## Installation

```bash
pip install jgtcore
```

## Usage

### Simple Configuration Access
```python
import jgtcore

# Load configuration
config = jgtcore.get_config()
demo_config = jgtcore.get_config(demo=True)

# Get specific config values
user_id = jgtcore.get_config_value('user_id')
quotes_count = jgtcore.get_config_value('quotes_count', 1000)
```

### Settings Management
```python
import jgtcore

# Get all settings
settings = jgtcore.get_settings()

# Get specific setting with default
instrument = jgtcore.get_setting('instrument', 'EUR/USD')
timeframes = jgtcore.get_setting('_timeframes', 'D1')
```

### Environment Setup
```python
import jgtcore

# One-call environment setup
config, settings = jgtcore.setup_environment(demo=True)

# Check demo mode
if jgtcore.is_demo_mode():
    print("Running in demo mode")
```

### Advanced Usage
```python
from jgtcore import readconfig, load_settings

# Load with specific options
config = readconfig(demo=True, export_env=True)
settings = load_settings(custom_path="/path/to/settings.json")
```

## Configuration Files

- **config.json**: Trading credentials and connection settings
- **settings.json**: Application settings and preferences

See `examples/` directory for sample configuration files.

## File Locations

### config.json lookup order:
1. Current directory: `config.json`
2. User home: `~/.jgt/config.json`
3. System: `/etc/jgt/config.json`
4. Environment variables: `JGT_CONFIG`, `JGT_CONFIG_PATH`

### settings.json lookup order:
1. System: `/etc/jgt/settings.json`
2. User home: `~/.jgt/settings.json`
3. Current directory: `.jgt/settings.json`
4. YAML variants: `jgt.yml`, `_config.yml`
5. Environment variables: `JGT_SETTINGS`

## License

MIT License
dummy-transformations 0.1.0
A template Python module
Requires Python: >=3.9

<a href="https://www.islas.org.mx/"><img src="https://www.islas.org.mx/img/logo.svg" align="right" width="256" /></a>
# Dummy Transformations
[![codecov](https://codecov.io/gh/IslasGECI/dummy_transformations/graph/badge.svg?token=RY807ST1T1)](https://codecov.io/gh/IslasGECI/dummy_transformations)
![example branch
parameter](https://github.com/IslasGECI/dummy_transformations/actions/workflows/actions.yml/badge.svg)
![licencia](https://img.shields.io/github/license/IslasGECI/dummy_transformations)
![languages](https://img.shields.io/github/languages/top/IslasGECI/dummy_transformations)
![commits](https://img.shields.io/github/commit-activity/y/IslasGECI/dummy_transformations)
![PyPI - Version](https://img.shields.io/pypi/v/dummy_transformations)

Para usar este repo como plantilla debemos hacer lo siguiente:

1. Presiona el botón verde que dice _Use this template_
1. Selecciona como dueño a la organización IslasGECI
1. Agrega el nombre del nuevo módulo de python
1. Presiona el botón _Create repository from template_
1. Reemplaza `dummy_transformations` por el nombre del nuevo módulo en:
    - `Makefile`
    - `pyproject.toml`
    - `tests\test_transformations.py`
1. Renombra el archivo `dummy_transformations\transformations.py` al nombre del primer archivo del
   nuevo módulo
1. Cambia la descripción del archivo `dummy_transformations\__init__.py`
1. Renombra el directorio `dummy_transformations` al nombre del nuevo módulo
1. Cambia el `codecov_token` del archivo `Makefile`

Los archivos del nuevo módulo los agregarás en la carpeta que antes se llamaba
`dummy_transformations` y las pruebas en la carpeta `tests`.
pyenumerable 2.0.1
Implementation of .net's IEnumerable interface in python W/ support for generics.
Requires Python: >=3.13

# PyEnumerable ![WTFPL License](http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-4.png)

Implementation of .NET's [IEnumerable](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.ienumerable-1?view=net-9.0) interface in python W/ support for generics.
nuts-lookup 1.0.1
Lookup NUTS codes with country and ZIP code
Requires Python: >=3.8

# nuts-lookup

Quick lookup of NUTS codes (NUTS-0, NUTS-1, NUTS-2, NUTS-3) by country (Alpha-2) and postal code using a compact in-memory SQLite database.

## Installation

```bash
pip install nuts-lookup
```

## Python API

```python
from nuts_lookup import NutsLookup

lookup = NutsLookup()
print(lookup.get_nuts_code("DE", "10115"))    # Example: 'DE300' (NUTS-3)
print(lookup.get_nuts2_code("DE", "10115"))   # Example: 'DE30'  (NUTS-2)
print(lookup.get_nuts1_code("DE", "10115"))   # Example: 'DE3'   (NUTS-1)
print(lookup.get_nuts0_code("DE", "10115"))   # Example: 'DE'    (NUTS-0)
```

## CLI

After installation, the `nuts-lookup` command is available:

```bash
nuts-lookup <COUNTRY_CODE> <POSTAL_CODE> [--level 0|1|2|3]
```

- `--level` specifies the desired NUTS level (0, 1, 2, or 3). Default is 3 (NUTS-3).

### Examples

```bash
nuts-lookup DE 10115           # Outputs NUTS-3 code (e.g. DE300)
nuts-lookup DE 10115 --level 2 # Outputs NUTS-2 code (e.g. DE30)
nuts-lookup DE 10115 --level 1 # Outputs NUTS-1 code (e.g. DE3)
nuts-lookup DE 10115 --level 0 # Outputs NUTS-0 code (e.g. DE)
```

## License

MIT

---

## Eurostat Copyright Notice

Please note that nuts-lookup is not developed, maintained, or affiliated with Eurostat. The following copyright notice from Eurostat regards their data, which underpins nuts-lookup:

> In addition to the general copyright and licence policy applicable to the whole Eurostat website, the following specific provisions apply to the datasets you are downloading. The download and usage of these data is subject to the acceptance of the following clauses:
>
> The Commission agrees to grant the non-exclusive and not transferable right to use and process the Eurostat/GISCO geographical data downloaded from this page (the "data").
>
> The permission to use the data is granted on condition that:
>
> - the data will not be used for commercial purposes;
> - the source will be acknowledged. A copyright notice, as specified below, will have to be visible on any printed or electronic publication using the data downloaded from this page.

### Copyright Notice

When data downloaded from this page is used in any printed or electronic publication, in addition to any other provisions applicable to the whole Eurostat website, the data source will have to be acknowledged in the legend of the map and in the introductory page of the publication with the following copyright notice:

- EN: © EuroGeographics for the administrative boundaries
- FR: © EuroGeographics pour les limites administratives
- DE: © EuroGeographics bezüglich der Verwaltungsgrenzen

For publications in languages other than English, French, or German, the translation of the copyright notice in the language of the publication shall be used.

If you intend to use the data commercially, please contact EuroGeographics for information regarding their licence agreements.
puregram 1.0.0
Telegram API for gifts
Requires Python: >=3.6

🎁 puregram – Telegram Gift & Star Parser Library
puregram is a fast, modular Python library for parsing Telegram gifts and stars from business chats.
Compatible with official Bot API and optional userbot integration.

Ideal for automation, dashboards, internal analytics, or gamified reward systems.

📦 Installation
```bash
pip install puregram
```
🚀 Quick Start
```python
from puregram import GiftParser

parser = GiftParser(bot_token="1234567890:ABC-DEF1234ghIkl-zyx57W2v1u123ew11")
gifts = parser.fetch_recent_gifts(chat_id="@your_channel")

for gift in gifts:
    print(f"🎁 Gift ID: {gift.id}, Sender: {gift.sender.username}, Type: {gift.type}, Amount: {gift.amount}")
```
🔧 Features
- 🎁 Parse all incoming gifts and stars from Telegram
- 📎 Access full metadata: ID, sender, type, amount, timestamp
- 📉 Rate-limit aware logic
- 🔄 Works with Bot API and optional UserBot (Telethon-based)

📚 API Reference
GiftParser
```python
GiftParser(bot_token: str, use_userbot: bool = False)
```
Methods:
- `fetch_recent_gifts(chat_id: str, limit: int = 100) -> List[Gift]`  
  Fetch the most recent gift transactions from the specified chat.

- `get_gift_by_id(gift_id: str) -> Gift`  
  Retrieve a gift object using its ID.

- `listen(callback: Callable[[Gift], None])`  
  Start live event listener for real-time gift parsing (requires userbot mode).

🎁 Gift Object
```python
class Gift:
    id: str
    sender: User
    type: str  # "star", "nft", or "custom"
    amount: int
    timestamp: datetime
```
🧪 Async Usage Example
```python
import asyncio
from puregram import GiftParser

async def main():
    parser = GiftParser(bot_token="123:ABC", use_userbot=True)

    async for gift in parser.stream("@gift_channel"):
        print(f"New gift from {gift.sender.username}: {gift.type} x{gift.amount}")

asyncio.run(main())
```
📄 License
MIT License

📬 Contact
For inquiries, bug reports, or collaboration:
📧 Email: support@puregram.dev
GramApi 1.0.3
Telegram API for gifts
Requires Python: >=3.6

# 🎁 GramApi – Telegram Gift & Star Parser Library
GramApi is a lightweight and efficient Python library designed for parsing gifts and stars from Telegram Business chats using both official API and optional userbot integration.

Perfect for analytics, automation, dashboards, and backend services.

## 📦 Installation
```bash
pip install gramapi
```
## 🚀 Quick Start
```python
from gramapi import GiftParser

parser = GiftParser(bot_token="1234567890:ABC-DEF1234ghIkl-zyx57W2v1u123ew11")
gifts = parser.fetch_recent_gifts(chat_id="@your_channel")

for gift in gifts:
    print(f"🎁 Gift ID: {gift.id}, Sender: {gift.sender.username}, Type: {gift.type}, Amount: {gift.amount}")
```
## 🔧 Features
- 🧾 Parse all available Telegram gifts and stars
- 📊 Extract metadata: gift ID, sender info, type, value, timestamp
- 🛡️ Rate-limit safe
- 🔌 Supports both Bot API and UserBot (Telethon)

## 📚 API Reference
### GiftParser
```python
GiftParser(bot_token: str, use_userbot: bool = False)
```
**Methods:**
- `fetch_recent_gifts(chat_id: str, limit: int = 100) -> List[Gift]`  
  Fetch recent gift transactions from a chat/channel.

- `get_gift_by_id(gift_id: str) -> Gift`  
  Fetch a single gift object by ID.

- `listen(callback: Callable[[Gift], None])`  
  Start real-time monitoring (UserBot required).

### 🎁 Gift Object Structure
```python
class Gift:
    id: str
    sender: User
    type: str  # "star", "nft", "custom"
    amount: int
    timestamp: datetime
```
## 🧪 Async Usage Example
```python
import asyncio
from gramapi import GiftParser

async def main():
    parser = GiftParser(bot_token="123:ABC", use_userbot=True)

    async for gift in parser.stream("@gift_channel"):
        print(f"New gift from {gift.sender.username}: {gift.type} x{gift.amount}")

asyncio.run(main())
```
## 📄 License
MIT License

## 📬 Support
Telegram support bot: @gramapi_support_bot
trnpy 0.2.1
A Python wrapper for transient simulations.
Requires Python: >=3.8

# TrnPy

[![CI Status][test-badge]][main-test-workflow]

## Contributing

For guidance on setting up a development environment and how to make a
contribution to TrnPy, see the [contributing guidelines][contributing-guidelines].

[test-badge]: https://github.com/isentropic-dev/trnpy/actions/workflows/ci.yml/badge.svg
[main-test-workflow]: https://github.com/isentropic-dev/trnpy/actions/workflows/ci.yml?query=branch%3Amain+
[contributing-guidelines]: https://github.com/isentropic-dev/trnpy/blob/main/CONTRIBUTING.md
neosync 0.5.41
Neosync Python SDK
Requires Python: >=3.8
Keywords: anonymization, data, data-anonymization, data-de-identification, data-masking, data-obfuscation, data-privacy, data-protection, data-scrubbing, neosync, privacy

# Neosync Python SDK

This is the Python SDK for the Neosync API.

## Installation

```bash
pip install neosync
```

For more details and examples, see the [docs](https://docs.neosync.dev/api/python).
imsane 0.0.2
A collection of sane implementations of linear operators and various algorithms in sampling and optimization implemented in python/pytorch.
Requires Python: >=3.12
Keywords: imaging problems, inverse imaging, linear operators, markov chain monte carlo, optimization, sampling

# sane
![sane](./assets/teaser.png)
A collection of sane implementations of linear operators and various algorithms in sampling and optimization implemented in python/pytorch.
nasa-power 0.1.4
An unofficial Python client for the NASA Power API
Requires Python: >=3.8

# NASA Power

An unofficial Python client for the NASA Power API.

Documentation of the API found on https://power.larc.nasa.gov/docs/tutorials/service-data-request/api/

## Installation

```
python -m pip install nasa-power
```

## Usage

Currently only the points API has been implemented. The point method accepts six named parameters (coordinates, parameters, start, end, resolution, and community).

```py
import nasapower

df = nasapower.point(
  coordinates=(52.09, 5.12),
  parameters=['WS50M', 'CLRSKY_SFC_SW_DWN'],
  start=datetime.date(2020, 01, 01),
  end=datetime.date(2020, 12, 31)
)
```

## Licensing

The code in this project is licensed under the [MIT license](https://github.com/RubenVanEldik/nasa-power/blob/main/LICENSE).