semvec/pypi-packages huggingface dataset:
helloworld-ke2k21 0.0.3
Say hello!

# Python Package Example

This repository contains a basic python package example with the aim of showing how a good python package should look like.

Install:

```
pip install helloworld-ke2k21
```

Install locally:

```
git clone https://github.com/ke2k21/python-package-example.git
cd python-package-example
pip install -e .
```

### Usage

You will find an usage example [here](examples/say_hello_example.py).

## Developing

To install the package along with the tools you need to develop it run the following (local installation with the `"dev"` extras:

```
git clone https://github.com/ke2k21/python-package-example.git
cd python-package-example
pip install -e ."[dev]"
```

If you are developing, you should run `pip install -e .` every time you change `setup.py` or the dependencies etc. to make sure that everything works.

### A note about requirements

The requirements needed to **run** the package should go in the `install_requires` argument of `setup()` in the `setup.py`.

The requirements needed to **develop** the package should go in the `extras_require` argument dict (under the `"dev"` key) of `setup()` in the `setup.py`.

This is preferred to a `requirements.txt` file, because this is code and it can be understood directly during the installation of the package itself.

The `requirements.txt` should be used to recreate enviroments with specific versions (e.g.`requests==2.22.0`), not to share software.

### Documentation

This project has a documentation in _readthedocs.io_ generated using `sphinx`: [documentation](https://python-package-example.readthedocs.io/en/latest/index.html).

Find the tutorial on how it was created [here](https://python-package-example.readthedocs.io/en/latest/tutorials/documentation.html).

### Building and distribution

Build without installi i.e. build wheel:

```
python3 setup.py bdist_wheel
```

Source distribution:

```
python3 setup.py sdist
```

For the source distribution, remember to:

- Check out the warnings of `python3 setup.py sdist`.
- Check that every file from the repo is packed in the tar file (`tar tzf dist/helloworld-X.X.X.tar.gz`) as written in the `MANIFEST.in`. A useful tool is `check-manifest`.

### Uploading to PyPI

```
python3 setup.py bdist_wheel sdist
twine upload dist/*
```

### Other useful stuff

- This repo is prepared for PyCharm and it has some run configurations (in `.idea/runConfigurations`).

## References

- Mark Smith - Publish a (Perfect) Python Package on PyPI ([video](https://www.youtube.com/watch?v=GIF3LaRqgXo&list=WL&index=9&t=779s))
- `.gitignore` file from [gitignore.io](gitignore.io)
- License from [choosealicense.com](choosealicense.com)
- PyPI classifiers from https://pypi.org/classifiers/
nerdchess 1.0.2
A Python chess engine.
Requires Python: >=3.6

![Python package](https://github.com/jwizzle/nerdchess/workflows/Python%20package/badge.svg?branch=master)

# NerdChess

A chess programming interface written in Python.

[They might not be 100% complete yet, but see the docs for implementation details](https://nerdchess.readthedocs.io/en/latest/index.html)

The goal of this project is to offer simple tools to simulate a game of chess, by offering the necessary objects like a board, pieces, pawns and players standalone. But also a complete chessgame that implements these objects and offers an interface to control the game.
The package includes a small commandline chess game, but the main goal is to offer an interface to create chess games from everywhere. It should be just as easy to implement the same games of chess in a web-application with Flask, a commandline interface or some graphical desktop interface.

It's still the idea to make it possible to write AI's againt this package. But for now I'm just going to finish it's basic functionality and try to keep it in mind as much as I can while making design decisions.
I'm not aiming for this to be some widely used package, and am mostly making it for fun and learning. Expect things to change a lot, and your applications to break if you don't freeze versions might you decide to use this. At least in it's current state.

## TODO
* Fix docs, both docstrings and actual docs
* Start seperate project for a more complete graphical chessgame implementing this package
oceania-lib 0.1.0
A small package to query data from the OceanIA services
Requires Python: >=3.6

# OceanIA Lib

A small package to query data from the OceanIA services

## Install

Install using `pip`

```bash
> pip install oceania-lib
```

## Usage

The library may be used directly as a command line tool or imported as a python package

### Command line
In the command line
```bash
> oceania query-fasta <key> <query_file> <output_format> <output_file>
```

For more information information
```bash
> oceania query-fasta -h
Usage: oceania query-fasta [OPTIONS] <key> <query_file> <output_format> <output_file>

  Extract secuences from a fasta file in the OceanIA Storage.

  <key> object key in the OceanIA storage
  <query_file> CSV file containing the values to query.
               Each line represents a sequence to extract in the format "sequence_id,start,end,type"
               "sequence_id" sequence ID
               "start" start index position of the sequence to be extracted
               "end" end index position of the sequence to extract
               "type" type of the sequence to extract
                      options are ["raw", "complement", "reverse_complement"]
                      type value is optional, if not provided default is "raw"
  <output_format> results format
                  options are ["csv", "fasta"]
  <output_file> name of the file to write the results
```

#### Example
```bash
> oceania query-fasta data/raw/tara/OM-RGC_v2/assemblies/TARA_A100000171.scaftig.gz query.csv csv example.output.csv
```
query.csv:
```csv
TARA_A100000171_G_scaffold48_1,10,50,complement
TARA_A100000171_G_scaffold48_1,10,50,raw
TARA_A100000171_G_scaffold48_1,10,50,reverse_complement
TARA_A100000171_G_scaffold181_1,0,50
TARA_A100000171_G_scaffold181_1,100,200
TARA_A100000171_G_scaffold181_1,200,230
```
### As a python package

```python
from oceania import OceaniaClient

# Create a client instance
oceania_client = OceaniaClient()

# Execute a query
oceania_client.get_secuences_from_fasta_to_file(key, positions, output_format, output_file)
```

#### Example
```python
from oceania import OceaniaClient

oceania_client = OceaniaClient()

key = "data/raw/tara/OM-RGC_v2/assemblies/TARA_A100000171.scaftig.gz"
positions = [
    ["TARA_A100000171_G_scaffold48_1", 10, 50, "complement"],
    ["TARA_A100000171_G_scaffold48_1", 10, 50],
    ["TARA_A100000171_G_scaffold48_1", 10, 50, "reverse_complement"],
    ["TARA_A100000171_G_scaffold181_1", 0, 50],
    ["TARA_A100000171_G_scaffold181_1", 100, 200],
    ["TARA_A100000171_G_scaffold181_1", 200, 230],
]

oceania_client.get_secuences_from_fasta_to_file(
    key,
    positions,
    "csv",
    "test_output.csv"
)
```
rexdsb 0.0.14
API fuer die DSBMobile Vertretungsplan-App
Requires Python: >=3.5

# DSBApi

> Eine API für die DSBMobile Vertretungsplan-Lösung, welche viele Schulen benutzen.

* Python 3
* Funktioniert Stand 02.10.2020 (Jetzt via Android-API (nach Problemen in 0.0.3), seit 2015 stable
* Aktuell in Version 0.0.14
* Aktuell stable
* Units 2020 nicht vollständig unterstützt, PRs welcome, aber Kompatibilität berücksichtigen!

## Installation:

`pip3 install dsbapipy`

oder manuell vom Source Code.

## Datensatz:

> JSON Liste an Arrays. Ein Array sieht so aus:

| Key | Value | Notiz |
| --- | ---   | ---   |
| `type` | `Vertretung` | Art des Eintrags |
| `class` | `5D`  | Klasse |
| `lesson` | `12`  | Schulstunde |
| `room` | `R404`  | (Neuer) Raum |
| `new_subject` | `M-GK1`  | Neuer Kurs |
| `subject` | `IF-LK4`  | Ursprüngliches Fach / Kurs |
| `new_teacher` | `NEUM`  | Neuer Lehrer |
| `teacher` | `BIMM`  | Ursprünglicher Lehrer |
| `date` | `01.01.2019`  | Datum |
| `day` | `Montag`  | Wochentag |
| `updated` | `02.02.2019 12:13`  | Letztes Update |

## Hinweise zum Key "class"

Der key "class" wird speziell behandelt, indem der Inhalt der Schulklasse bei der Zeichenfolge "`, `" geteilt wird.
Diese Teilung wird verwendet um bei kombinierten Klasseneinträgen, die Daten für jede Klasse einzeln aufzusplitten.


## Implementierung:

### Beispiel 1

```py
import dsbapi

dsbclient = dsbapi.DSBApi("username", "password")
entries = dsbclient.fetch_entries() # Rückgabe einer JSON Liste an Arrays
print(entries[0]["date"]) # Datum des ersten Eintrags
```

### Beispiel 2: Anderes Tabellenformat
Schulen sind relativ frei in der Gestaltung Ihrer Datensätze. Daher kann der oben beschriebene Standard wiefolgt überschrieben werden:

```py
import dsbapi

ownFields = ['class','lesson','new_subject','room','subject','new_teacher','type','text']

dsbclient = dsbapi.DSBApi("username", "password", tablemapper=ownFields)
entries = dsbclient.fetch_entries() # Rückgabe einer JSON Liste an Arrays
print(entries[0]["date"]) # Datum des ersten Eintrags
```