semvec/pypi-packages huggingface dataset:
flit-gettext 1.0.2
Compiling gettext i18n messages during project bundling.
Requires Python: >=3.10
Keywords: flit, pep518, build, packaging, gettext

# Flit gettext

[![PyPi Version](https://img.shields.io/pypi/v/flit-gettext.svg)](https://pypi.python.org/pypi/flit-gettext/)
[![Test Coverage](https://codecov.io/gh/codingjoe/flit-gettext/branch/main/graph/badge.svg)](https://codecov.io/gh/codingjoe/flit-gettext)
[![GitHub License](https://img.shields.io/github/license/codingjoe/flit-gettext)](https://raw.githubusercontent.com/codingjoe/flit-gettext/main/LICENSE)

Compiling gettext i18n messages during project bundling.

_"Binary files should never be committed to a repository to promote transparency and security."_
That is why this project was created.

### Usage

Simple, just add `flit-gettext` to your `pyproject.toml`
build-system requirements and set the `build-backend`:

```toml
# pyproject.toml
[build-system]
requires = [
  "flit-gettext[scm]",  # [scm] is optional
  # …others, like wheel, etc.
]
# using flit-core as a base build-backend
build-backend = "flit_gettext.core"
# or using flit-scm as a base build-backend for git-based versioning
build-backend = "flit_gettext.scm"
# To use use flit-scm, you will need to include the optional dependency above.
```

_Please make sure, your build system has `gettext` installed._
If you ship wheels, those will include the compiled `.mo` files.

**That's it!**
url2pg 0.1.0
This repository ingests data from a CSV/Parquet url into a Postgres table overwriting the previous table if it exists.
Requires Python: >=3.10

# url2pg - v0.1.0

This repository ingests data from a CSV/Parquet url into a Postgres table
overwriting the previous table if it exists.

Installation
```shell
uv add url2pg
```
or
```shell
pip install url2pg
```
Usage:
```shell
url2pg \
    --user=<postgres_user:default=root> \
    --password=<postgres_password:default=root> \
    --host=<postgres_host:default=localhost> \
    --port=<postgres_port:default=5432> \
    --db=<*_db> \
    --table_name=<*_destiny_table> \
    --url_file=<*_source_url>
```

You can use as a Docker image as well:
```shell
docker run -it \
    --network=<*_destiny_network> \
    cesarbouli/url2pg \
    --user=<postgres_user:default=root> \
    --password=<postgres_password:default=root> \
    --host=<postgres_host:default=localhost> \
    --port=<postgres_port:default=5432> \
    --db=<*_db> \
    --table_name=<*_destiny_table> \
    --url_file=<*_source_url>
```

In your docker compose file:
```yaml
services:
  ingestion-data:
    image: cesarbouli/url2pg
    command: --db=<_db_> (...)
    (...)
```
Docker image: [https://hub.docker.com/r/cesarbouli/url2pg](https://hub.docker.com/r/cesarbouli/url2pg) \
osrs-hiscores-client 3.0.0
Python client for Old School RuneScape Hiscores API.
Requires Python: >=3.10
Keywords: osrs, hiscores, runescape, api, client

# OSRS Hiscores

Simple OSRS Hiscores client for Python.

---

## Installation

```bash
pip install osrs-hiscores-client
```


## Usage

```py
from osrs_hiscores.client import HiscoresClient
from osrs_hiscores.enums import PlayerType, Skill, Activity

rsn = "Lynx Titan"

client = HiscoresClient()

# PlayerType also has PlayerType.IRONMAN, PlayerType.HARDCORE_IRONMAN and PlayerType.ULTIMATE_IRONMAN, PlayerType.DEADMAN_MODE, PlayerType.SEASONAL and PlayerType.TOURNAMENT
stats = client.get_player_stats(rsn, PlayerType.NORMAL)

# You can access specific skill using ID.
agility_skill = stats.get_skill_by_id(Skill.AGILITY)

if agility_skill is not None:
    print(f"Player {stats.rsn} has agility level of {agility_skill.level}, {agility_skill.experience} experience and rank {agility_skill.rank}.")
    # Player Lynx Titan has agility level of 99, 200000000 experience and rank 24.

# You can loop all skills.
for skill in stats.skills.values():
    print(f"Player {stats.rsn} has {skill.name} level of {skill.level}, {skill.experience} experience and rank {skill.rank}.")

# You can access specific activity using ID.
jad_activity = stats.get_activity_by_id(Activity.TZTOK_JAD)

if jad_activity is not None:
    print(f"Player {stats.rsn} has {jad_activity.score} Jad KC and rank {jad_activity.rank}.")
    # Player Lynx Titan has activity TzTok-Jad score of 186 and rank 375.

# You can also loop all activities.
for activity in stats.activities.values():
    print(f"Player {stats.rsn} has activity {activity.name} score of {activity.score} and rank {activity.rank}.")
```
timediffz 1.0.5
a library for advanced and accurate timestamping and time differences
Requires Python: >=3.10

<img width="504" alt="time_diffz-high-resolution-logo-transparent" src="https://github.com/user-attachments/assets/6d0285dd-6cdd-4ea1-804b-561b98b0bac2" />


**timediffz** a library for timestamps and differences between dates

**NOTE: timediffz ONLY work in almost any operating system(\*1) which can support python 3.10 and above**

**\*1: timediffz wasn't tested on any operating system expect arch linux 
but mostly it can work on windows being that the library does not have any platform specific needs**

**timediffz** is an EXTREMELY ACCURATE timestamper and in calculating the differences between dates, IT DOES NOT USE ANY APPROXIMATIONS CALCULATES EVERYTHING EXACTLY AS IT IS and nearly no for/while loops at all to provide fast performance literally you would need less than 100 microseconds in somecases to get the amount of months between the year 2025 and the end of the universe(year one googol), and it uses fractions based numbers to keep the numbers exact no floating point precision loss, and it has been made for scientists and systems as the most accurate system for its own job possible, note: in case of tropical year because of uncontrolled amount of parameters to count it to an unreliable level the J2000 is used but it's unreliable for extremely far dates but you can if you want to use new or other tropical dates via custom year parameter

THIS LIBRARY HAS TWO MODES THE TB1 MODE OR NORMAL ONE WHICH USES STANDARD LIBRARIES
AND REQUESTS ONLY, BUT EVEN THOUGH IT'S FAST BUT YOU CAN USE THE SECOND MODE THAT
IS EVEN FASTER WHICH IS THE TB2 BUT IT NEEDS ALL TB1'S REQUIREMENTS PLUS SETUPTOOLS
AND CYTHON AND INSTALLING GMP ON YOUR COMPUTER AND BUILDING THE CYTHON SETUP FILE
WITH THIS COMMAND:
```batch
cd (full path of folder where setupfractionals.py is in, found in the library files) & python setupfractionals.py build_ext --inplace
```
or the same but with python as python3:
```batch
cd (full path of folder where setupfractionals.py is in, found in the library files) & python3 setupfractionals.py build_ext --inplace
```
the first mode functions starts with prefix: p*, while second mode ones
start with prefix: c*, then after the first prefix the second prefix is the
function type if it was for timestamping it would be (p/c t*) or time diff.
mode which would be (p/c d), REAL DOCUMENTATION WITH COME SOON!!
## Install

to install use the following command(note installing the library in this way
would install library requirements both main and optional):

<code>pip install Timediffz</code>

## Contribute

if you have discovered a bug, or you want to change something just open a new issue
at [Issues](https://github.com/WeDu-official/Time_diffz/issues)

## Contact

you can contact us using this [email](mailto:fplu.the.founder@gmail.com)
,and you can be a part of our community by joining [our discord server](https://discord.gg/mnduzx6yUg)