semvec/pypi-packages huggingface dataset:
django-turbo-response 1.0.3
Hotwired/Turbo response helpers for Django
License: MIT
Requires Python: >=3.8

This package provides helpers for server-side rendering of `Turbo Frame` and `Turbo Stream`, which aim to work with the [Hotwire](https://hotwire.dev/) project.

## Documentation

https://django-turbo-response.readthedocs.io/en/latest/

## Free Hotwire Django eBook

If you are new to Hotwire, you may be interested in this free eBook [Hotwire Django Tutorial](https://tutorial.saashammer.com/).
py-pepe 0.0.5
use python scripts in unix pipes
License: MIT
Requires Python: >=3.8

[![pypi](https://img.shields.io/pypi/v/py-pepe.svg)](https://pypi.org/project/py-pepe/)
[![pypi](https://img.shields.io/pypi/pyversions/py-pepe.svg)](https://pypi.org/project/py-pepe/)
[![pypi](https://img.shields.io/pypi/l/py-pepe.svg)](https://raw.githubusercontent.com/deniskrumko/py-pepe/master/LICENSE)

# py-pepe

Super simple pipeline helper on Python. Works like `awk` but easier to remember (and also less posibilities...).

PEPE can work in 2 different ways:

### 1. As python module

Don't remember `awk` commands? Not a problem! Just insert python script here and read result of previous
command using `pepe.read()`. Additionally, you can select N column (like column 6 in example):

```bash
# Show max usage RAM from process
ps ux | python -c "import pepe; x=pepe.read(6); print(max(x[1:]))"
```

### 2. As CLI

Don't want to call python scripts like that? We got you a CLI tool too!

CLI interface totally mimics python functions usage:

```bash
# Show total RAM usage of Visual Studio Code process
ps ux | grep "Visual Studio Code" | pepe sum 6
```

Here you add `pepe sum 6` in pipe. That's identical to `import pepe; pepe.sum(6)`. Same args and same positions.
That's why if you want to sort lines as numbers, you need to add 0 positional arg: `pepe sort 0 true`,
because that's identical to `pepe.sort(0, True)`.

CLI doesn't have any flags, only positional args. That's for simplicity.

# Installation

```bash
pip install py-pepe
```

# Functions/Example of usage

## help
To show help just call `pepe` command in terminal.
Also on each error in input you probably will see pepe help.

## `pepe.read`

Python-code only function (no cli). Reads all stdin and returns list of lines.

**NOTE:** This is the only function in pepe that returns a value. All other function just print their results.

Optional positional params:
    - `<column>` - select only N column
```bash
# Show max usage RAM from process
ps ux | python -c "import pepe; x=pepe.read(6); print(max(x[1:]))"
```

## `pepe.out`

Display result. Works like `cat` or `echo`, but can select column.

Optional positional params:
    - `<column>` - select only N column

```bash
# Display only 1 column of ps ux
ps ux | head -n 10 | pepe out 1

# Same, but using python code
ps ux | head -n 10 | python -c "import pepe; pepe.out(1)"

# Without pepe
ps ux | head -n 10 | awk '{ print $1 }'
```

## `pepe.sum`

Command `sum` allows to sum lines as numbers.

Optional positional params:
    - `<column>` - select only N column

Let's count RAM usage of all VSCode processes (on mac). Column 6 of "ps ux" output contains info about RAM:
```bash
# Select column 6 and sum
ps ux | grep "Visual Studio Code" | pepe sum 6

# Select column 6 using awk and sum all lines
ps ux | grep "Visual Studio Code" | awk '{ print $6 }' | pepe sum

# Same, but using python code
ps ux | grep "Visual Studio Code" | python -c "import pepe; pepe.sum(6)"

# Without pepe
ps ux | grep "Visual Studio Code" | awk '{sum+=$6} END {print sum}'
```

## `pepe.sort`
## `pepe.min`
## `pepe.max`
## `pepe.size`
## `pepe.count`
nomiden 0.0.7
A Python package to extract information from Indonesian ID Number (NIK, KK)
License: MIT
Requires Python: >=3.7

# nomiden

![nomiden code example](https://raw.githubusercontent.com/divakartika/nomiden/main/images/nomiden2.png)

## What is it?

**nomiden** is a Python package that provides information extraction from Indonesian ID Numbers, i.e. personal ID number NIK (Nomor Induk Kependudukan) and family ID number KK (Kartu Keluarga). This package is intended to help users dealing with population and client data to auto-complete missing data or add valuable information, given the ID numbers. Information regarding identity numbers refers to Article 33 of Government Regulation Number 37 of 2007 (Pasal 37 PP Nomor 37 Tahun 2007).

## Main Features
Here are the things that **nomiden** can do for you:

  - Retreive regional information 
    - Province
    - City
    - District
  - Retreive gender information (NIK only)
  - Retreive birth information (NIK only)
    - Age
    - Birthday (e.g. 15 June 2000)
    - Birth date
    - Birth month
    - Birth year
    - Birth in datetime
  - Retreive registration information (KK only)
    - Registration day (e.g. 15 June 2000)
    - Registration date
    - Registration month
    - Registration year
    - Registration in datetime
  - Registration order
  - Complete information in a dictionary

## Where to get it
The source code is currently hosted on GitHub at: [https://github.com/divakartika/nomiden](https://github.com/divakartika/nomiden)

**nomiden** is available at the [Python Package Index (PyPI)](https://pypi.org/project/nomiden/).

```sh
pip install nomiden
```

## Requirements & Dependencies
- Python 3.7 and above
- [Pandas - Supports data-related operations](https://pandas.pydata.org)

## License
[MIT](LICENSE)

## Documentation
[https://nomiden.readthedocs.io](https://nomiden.readthedocs.io)

## Development
This package was built under Python 3.10.8 for Windows 10 and passed the Github Actions: Python package tests under Python 3.8, 3.9, and 3.10 for Ubuntu-latest, MacOS-latest, Windows-latest. To contribute for development, please use [requirements.txt](https://github.com/divakartika/nomiden/blob/main/requirements.txt).

## Data Source
Region code data used in this package is retrieved from [kodewilayah](https://github.com/kodewilayah/permendagri-72-2019) based on the Regulation of the Minister of Home Affairs number 72 of 2019 (Permendagri No. 72 tahun 2019).

## Release Notes

### v0.0.7
Bug fixes and performance improvement.

### v0.0.6
Return `NaN` if birth date (NIK) or registration date (KK) is invalid.

### v0.0.5
Return `NaN` if region code is invalid.

## Getting Help & Discussion

For usage questions and development discussions, feel free to contact diva@algorit.ma.