semvec/pypi-packages huggingface dataset:
pikpak-cli 0.1.0
A pikpak command line client
License: MIT
Requires Python: >=3.8,<4.0

CLI for Pikpak(A web file driver)

# Features

* List all file in a tree
* Download a whole folder
* Download files by file name or size matching
* Download resume(which will create a .part file before finished)

# Install

```shell
pip install -U pikpak_cli
```

# Usage

```
pikpak_cli
Current account: ******
Default download dir: ****
session file: .pikpak.session
try typing help
pikpak_cli>help
login
Login account
usage: login [-h] [--password PASSWORD] account [account ...]

exit
Exit cli
usage: exit [-h]

shell

usage: shell [-h]

ls
List current dir files
usage: ls [-h] [--without_audit] [--trash] [--recursion] name [name ...]

cd
Change directory
usage: cd [-h] name [name ...]

download
Download a file or many files in a directory
usage: download [-h] [--includes INCLUDES] [--excludes EXCLUDES] [--dir DIR] [--size SIZE] [--relative_path] [--new_file_name NEW_FILE_NAME] name [name ...]

pwd
Get current path
usage: pwd [-h]

du
Get files's total size
usage: du [-h] name [name ...]

help
Get help information
usage: help [-h]

config
Set default download dir or
usage: config [-h] [--downlaod_dir DOWNLAOD_DIR]

info
Print session info
usage: info [-h]

rm

usage: rm [-h] [--no_trash] name [name ...]
```

try `help`!

## examples

### ls

```shell
pikpak_cli>ls .
```

try `--recursion`!

### cd

```shell
pikpak_cli>cd Movie
pikpak_cli>pwd
pikpak_cli>/Movie
```

```shell
pikpak_cli>cd ..
pikpak_cli>
```

### download

download files only bigger than 500M to `/mnt` with a flat structure:

```shell
pikpak_cli>download Movie --size 500M --relative_path --dir /mnt
```

download all mp4 or mkv files to default download dir:

```shell
pikpak_cli>download Movie --includes *.mp4,*.mkv
```
adapt.py 0.1.0a0
Official wrapper around Adapt's API for Python.
License: MIT
Requires Python: >=3.8.0

# adapt.py
Official wrapper around Adapt's API for Python.

## Installation
```bash
pip install adapt.py
```

From GitHub:
```bash
pip install git+https://github.com/AdaptChat/adapt.py
```

## Usage
```python
import adapt

class Client(adapt.Client):
    """My example client"""

    @adapt.once  # This event will only be called once
    async def on_ready(self, ready: adapt.ReadyEvent) -> None:
        print(f"Logged in as {ready.user}!")

    async def on_message(self, message: adapt.Message) -> None:
        if message.content == "!ping":
            await message.channel.send("Pong!")

if __name__ == "__main__":
    client = Client()
    client.run("token")
```

## Using adapt.py with a custom Adapt instance
Adapt.py defaults to use the official Adapt instance at https://adapt.chat. If you want to use a custom instance,
pass an `AdaptServer` instance to the `server` kwarg when constructing the client.

`AdaptServer.local()` can be used as a shortcut to create a server instance for a local instance of Adapt:

```python
from adapt import AdaptServer, Client

client = Client(server=AdaptServer.local())  # Use a local instance of Adapt
...
```

Or, you can manually pass in URLs:
```python
from adapt import AdaptServer, Client

server = AdaptServer(
    api="https://my-adapt-instance.com/api",
    harmony="https://my-adapt-instance.com/harmony",
    convey="https://my-adapt-instance.com/convey",
)
client = Client(server=server)
...
```
Datev-Splitter 0.5.0
Splits Datev-Reports into single pdf files per Personalnummer.
License: MIT
Requires Python: >=3.10

# Datev Lohnbescheinigung Splitter

Datev Lohnabrechnungen beinhalten immer alle Lohnbescheinigungen und Meldebescheinigungen für alle Mitarbeitenden.
Um diese automatisiert nach Personalnummer in einzelne pdf splitten zu können, gibt es dieses script.

## Erwarteter Input

Datev Datei (pdf) mit Entgeltabrechnungen, Lohnbescheinigungen und/oder Meldebescheinigungen zur Sozialversicherung.

## Ergebnis

Einzelne pdf Dateien, die jeweils die Informationen für zu einer einzelnen Personalnummer enthalten. Im Original
zusammenhängende Seiten zu einer Personalnummer werden auch zusammen exportiert.

## Benutzung

```bash
usage: datev_splitr [-h] [-q] [-d] [-t] [-p PREFIX] [-o OUTPUT] [-e EXPORT_PNS] infile

positional arguments:
  infile                Datev file to process

options:
  -h, --help            show this help message and exit
  -q, --quiet           Show only warnings and errors
  -d, --debug           Show more context
  -t, --trace           Show even more context / trace
  -p PREFIX, --prefix PREFIX
                        Prefix for all result files
  -o OUTPUT, --output OUTPUT
                        Where to write the output files (path must exist)
  -e EXPORT_PNS, --export-pns EXPORT_PNS
                        Export csv file with processed Personalnummern.
```

### Beispiel

`datev_splitr -p PREFIX- -o tmp -d auswertungen.pdf`

oder in der Entwicklungsumgebung

`pdm run python pdf_extract.py -p PREFIX- -o tmp -d auswertungen.pdf`

Erstellt im Unterordner `tmp` alle Dateien mit dem prefix `PREFIX-`.
D.h. Die Dateien heißen dann bspw.: `PREFIX-00203-2022-Dezember.pdf` für eine Lohnabrechnung Dezember 2022, 
Personalnummer `00203`

`-e pns.csv` Exportiert die Personalnummern mit und ohne Prefix und den gefundenen Namen.
Mit dem Prefix `RD-` sieht das Ergebnis bspw so aus:

```csv
RD-00004,00004,vorname name
RD-00006,00006,vorname2 name2
RD-00014,00014,vorname3 name3
```

## Welche Seiten werden exportiert?

- Praktisch alle auf denen eine Personalnummer zu finden ist

![Lohnabrechnungen](/docs/datev-abrechnung.png)
![Lohnsteuerbescheinigungnen](/docs/datev-lohnsteuerbescheinigung.png)
![Meldebescheinigungen](/docs/datev-meldebescheinigung.png)
unknowncode 0.2.5
Small portions of code I use, gathered into one group for ease of access. Like a mod library for a game. Built with poetry
License: MIT
Requires Python: >=3.10,<4.0
Keywords: library,Quality of Life,QoL

# UnknownCode Guide/Compendium

## This file is a list of all the information and commands in unknowncode.
Arguments in **Bold** are required arguments.
Arguments in *Italics* are optional arguments

##### custom_response(**response_list**,**cap_sense**,**prompt**)
> response_list is a list of (guess what?) allowed responses, anything you want a user to be able to reply with
Example: `response_list = ["Sure","Yeah!"]`
cap_sense is wether you want it to be Case Sensitive. If True then it will be Case Sensitive.
prompt is any string that you want the user to respond to
Example: `prompt = "Are you ready to code?"`

##### yes_no(**prompt**)
> yes_no() is a preset version of custom_response_input, preset with a list of ["Yes","yes","Y","y"]`.
prompt is any string that you want the user to respond to
Example: `prompt = "Are you ready to code?"`
If the user respondses with anything that is Yes or Y (includng lowercase)



# UnknownCode Changelog 0.2.0 (Last version 0.1.0)

##### Added:
>README.md
CHANGELOG.md
custom_response()
#
# UnknownCode Guide/Compendium
###### (version 0.2.1)
---
Arguments in **Bold** are required arguments.
Arguments in *Italics* are optional arguments

##### custom_response(**response_list**,**cap_sense**,**prompt**)
#
> response_list is a list of (guess what?) allowed responses, anything you want a user to be able to reply with
Example: `response_list = ["Sure","Yeah!"]`
cap_sense is wether you want it to be Case Sensitive. If True then it will be Case Sensitive.
prompt is any string that you want the user to respond to
Example: `prompt = "Are you ready to code?"`

##### yes_no(**prompt**)
#
> yes_no() is a preset version of custom_response_input, preset with a list of ["Yes","yes","Y","y"]`.
prompt is any string that you want the user to respond to
Example: `prompt = "Are you ready to code?"`
If the user respondses with anything that is Yes or Y (includng lowercase)

#
---
#

## UnknownCode Changelog 0.2.1 (Last version 0.2.1)

##### Added:
#
>README.md
CHANGELOG.md
custom_response()