semvec/pypi-packages huggingface dataset:
nurgapy 0.2.0
This lightweight Python library provides reusable utility functions to simplify common development tasks.
License: MIT
Requires Python: >=3.12

# nurgapy

```bash  _   _                       ____
 | \ | |_   _ _ __ __ _  __ _|  _ \ _   _
 |  \| | | | | '__/ _` |/ _` | |_) | | | |
 | |\  | |_| | | | (_| | (_| |  __/| |_| |
 |_| \_|\__,_|_|  \__, |\__,_|_|    \__, |
                  |___/             |___/
```
---
📦 NurgaPy : A Small Convenience Python Library
---

NurgaPy is a small, convenient Python library designed to help you avoid copying code across multiple projects. It includes two main functions:

Currently, `nurgapy` library consists two functions:
- `tyme` - it is a small wrapper function, which is used for measuring execution time of functions. Also works for the class functions.
- `trackbar` - it is a simple progress bar, which just works without many imports. Inspired by [stackoverflow post](https://stackoverflow.com/a/34482761/15059130). There is well-known `tqdm` library, but it prevents user from using `print` statements. For simple use-cases this progress bar should be enough. There is another nice library `alive-progress`, which does not have this issue and many others. But I just wanted to have some simple progress bar, which lives in the single library with other convenience functions.

## Getting started 🚀

Install the [NurgaPy](https://pypi.org/project/nurgapy/) library using pip.
```
pip install nurgapy
```


### Examples 🌟

#### `tyme` function usage ⏳
```python
from nurgapy import tyme


@tyme
def my_pow(a: int, b: int):
    for _ in range(10000000):
        res = a**b
    return res
```

#### `trackbar` usage ⏲️

```python
for i in trackbar(range(10)):
    time.sleep(0.5)
```

For more usage examples check the [`examples`](/examples/) folder.

## Development and Architecture Docs 📚
If you want to get know more about how NurgaPy works, how to set up developement enviroment and how made architectural decisions behind, please check the [`docs`](/docs/docs.md).

## Roadmap 🗺️
- [x] ~~Add basic code~~
- [x] ~~Add pre-commit hook~~
    - Add more rules to pre-commit
- [x] ~~Add public API to the `init.py`~~
- [x] ~~Add tests~~
- [ ] Add tests automation [Nox](https://nox.thea.codes/en/stable/)
- [ ] Add badges
    - [ ] test coverage ([coveralls](https://coveralls.io/))
- [x] Add packaging
- [x] Publish nurgapy to pip
- [x] Add a runner, which automatically publishes a new version to pip
- [x] Add `documentation` folder
- [x] Create an `examples` folder

### Progress bar ⏲️
- [ ] Add percentages
- [ ] Flexible size
- [x] Progress bar runs in the independent thread
turkcepython 0.1.1
Türkçe anahtar kelimelerle Python yazmayı sağlayan eğitim amaçlı bir paket.
License: MIT

TurkcePython, çocuklar ve İngilizce bilmeyen yeni başlayanlar için tasarlanmış, Python dili için Türkçe çeviri paketidir.

Bu paket sayesinde, İngilizce anahtar kelimeleri bilmeye gerek kalmadan tamamen Türkçe komutlarla Python programlama yapılabilir.

Kodunuzu aşağıdaki Türkçe anahtar kelimeleri kullanarak yazın ve `.py` uzantısıyla kaydedin.  
Çalıştırmak için terminal veya komut istemcisine şu komutu yazın:

turkcepython dosya_adi.py

Tüm çeviriler, anlam kolaylığı ve eğitsel açıklık önceliğiyle yapılmıştır.  
Amaç, Python’un İngilizce anahtar kelimelerini Türkçedeki en sezgisel ve anlaşılır karşılıklarla sunmaktır.


| Türkçe Komut     | Python Karşılığı |
|------------------|------------------|
| eğer             | if               |
| değilse          | else             |
| eğerdeğil        | elif             |
| döngü            | while            |
| sınırlıdöngü     | for              |
| aralık           | range            |
| döndür           | return           |
| devam            | continue         |
| dur              | break            |
| içinde           | in               |
| doğru            | True             |
| yanlış           | False            |
| hiçbir           | None             |
| tanımla          | def              |
| sınıf            | class            |
| kendi            | self             |
| geç              | pass             |
| yazdır           | print            |
| girdi            | input            |
| tamsayi          | int              |
| ondalik          | float            |
| metin            | str              |
| liste            | list             |
| sozluk           | dict             |
| uzunluk          | len              |
| toplam           | sum              |
| dene             | try              |
| hata             | except           |
| sonunda          | finally          |
| hataver          | raise            |
| içeaktar         | import           |
| dan              | from             |
| olarak           | as               |


TurkcePython, Türkçe konuşan çocuklar ve öğrenciler için bir öğrenme aracıdır.  
Amacı, Python'un öğrenilmesini kolaylaştırmak ve kodlamayı ana dilde daha erişilebilir hale getirmektir.
converter-letra-numero 0.1.0
Converte letras (A–Z) em índices numéricos (0–25)
License: MIT
Requires Python: >=3.8

# converter_letra_numero

**Biblioteca Python simples para converter letras (A–Z) em índices numéricos (0–25).**

---

## Pré-requisitos

- Python 3.12 instalado  
- Virtual environment (recomendado) ou pip configurado  
- Windows 11, macOS ou Linux  

## Estrutura do Projeto

```
converter_letra_numero/        # pasta raiz do projeto
│
├── .venv/                   # ambiente virtual (PyCharm)
├── converter_letra_numero/  # pacote Python
│   ├── __init__.py
│   └── conversor.py         # função letra_para_numero()
│
├── README.md                # documentação do pacote
├── setup.py                 # configurações de build/install
├── requirements.txt         # dependências (vazio)
├── LICENSE                  # texto da licença MIT
└── tests/                   # testes automatizados (pytest)
```

> Ainda pendente:
> - adicionar o arquivo `LICENSE` com texto MIT  
> - criar a pasta `tests/` com testes de `pytest`  
> - (opcional) subpacote `inverso/` para conversão número→letra  

---

## Instalando localmente

Abra o terminal (PowerShell/CMD no Windows, Terminal no macOS/Linux) **na pasta raiz do projeto** e execute:

```bash
# ativa virtualenv (opcional)
pip install -e .
```

Instala o pacote em modo editável, refletindo alterações imediatamente.

---

## Exemplo de uso

```python
from converter_letra_numero import letra_para_numero

print(letra_para_numero('C'))  # → 2
```

### Submódulo inverso (opcional)

Se tiver criado `converter_letra_numero/inverso/numero_para_letra.py`, importe:

```python
from converter_letra_numero import numero_para_letra

print(numero_para_letra(0))  # → 'A'
```

---

## Testes (pytest)

1. Instale o pytest:
   ```bash
   pip install pytest
   ```
2. Crie `tests/test_conversor.py`:
   ```python
   from converter_letra_numero import letra_para_numero

   def test_letra_A():
       assert letra_para_numero('A') == 0

   def test_letra_Z():
       assert letra_para_numero('Z') == 25
   ```
3. Execute:
   ```bash
   pytest
   ```

---

## Publicação no PyPI (opcional)

```bash
pip install build twine
python -m build
twine upload dist/*
```

---

## Licença

Licenciado sob MIT. Veja o arquivo `LICENSE` para detalhes.

---

**Compatível com:** Python 3.12
file-database 0.2.0
Fast index and query of local files.
License: MIT
Requires Python: >=3.10

# File Database

Fast index and query of local files using `pandas` and `pyarrow`.

## Features

- Recursively index files in specified directories
- Regex-based exclusion of file and folder patterns
- Optional BLAKE2b hashing for deduplication
- Feather-format output for fast query
- Simple CLI powered by `click`

## Usage

```bash
# Index files
file-db index --config config.yaml

# Query files
file-db query --expr "size > 1e7 and suffix == '.csv'"
```

## Query Language

## Query Examples

recent files, top 10, drop dir column but add create column, files with names
matching regex "q?md$", which means suffix qmd or md. 

```sql
verbose recent top 10 select !dir,create ! q?md$
```



## Min config file

included/excluded files must not be empty. 

```yaml
project: Samsung 64GB compact flash
hostname: KOLMOGOROV
database: G:/sams64gb.fdb-feather
included_dirs:
- G:/
excluded_dirs: []
excluded_files: []
excluded_files:
hash_files: true
hash_workers: 6
last_indexed: 0 
timezone: Europe/London
tablefmt: mixed_grid
```

## To Do

* Util to create a blank config file (maybe with prompts)
* Incremental updates check for deletes and if the file is logged (changed spec), use set and set diff and `df = df[~df["col"].isin(seen)]`
* Create job and python path
* query > file work
* add duplicates and hardlinks key works
* parse queries in order independent manner 
* GT should have a repr_text version! 
* directory sizes?! 
* recent directories (recent changes to dirs)



## Regex look aheads/look backs