semvec/pypi-packages huggingface dataset:
autotoloka 0.0.20
Python library for hosting and controlling tasks of the Yandex.Toloka service.
Keywords: python

# **AutoToloka**
AutoToloka is a Python library for hosting and controlling projects of the Yandex.Toloka service 


## Installation
To install the latest version from PyPI:
```python
pip install -U autotoloka
```

# Getting started

### See video demo here
[Docs page](https://zackpashkin.github.io/autotoloka.github.io)

### Quickstart
[Colab](https://colab.research.google.com/drive/1BYQJNkDpdGjUny-GwQeXew8jZFnyPt_Z?usp=sharing)


### OAuth Token
For authorization, you need to get an OAuth token from your Yandex.Toloka profile.
Go to:
Profile -> External Services Integration -> Get OAuth token

### Proxy
If you want to use Yandex.Disk as a storage (recommended) for your images, you need a proxy. You can add proxy on your Yandex.Toloka profile.
Go to:
Profile -> External Services Interation -> Yandex.Disk Integration -> Add Proxy

### Example
```python

from autotoloka import TolokaProjectHandler
from autotoloka.json_data import json_data

OAUTH_TOKEN = 'your_token'

PROJECT_CONFIG = json_data['project_name']

POOL_ID = 'pool_id' # ID of the created pool
PROJECT_ID = 'project_id' # ID of the project that the pool was created for
SUITE_ID = 'suite_id' # ID of the created suite

handler = TolokaProjectHandler(OAUTH_TOKEN)


# Creates Toloka project by configuration in a given file
handler.create_toloka_project(PROJECT_CONFIG) 

# Updates the project, obtained by the handler
handler.update_toloka_project(PROJECT_CONFIG) 

# Prints out project parameters
handler.get_project_params() 

# Creates Toloka pool by dictionary-stored or file-based configurations
handler.create_toloka_pool() 

# Updates Toloka pool by given parameters
handler.update_pool(POOL_ID) 

# Prints and returns all available pools' parameters
handler.get_pools_params(less_info=True, only_current_project=True) 

# Opens or closes the required pool
handler.open_close_pool(handler.get_pools_params()) # also you can close pool, then write 'close'

# Creates either a Toloka task or a Toloka task-suite by dictionary-stored input values
input_values = [{'key_1': 'value_1', 'key_2': 'value_2'}, 
                {'key_1': 'value_3', 'key_2': 'value_4'}]
handler.create_task_suite(POOL_ID, input_values) 

# Creates either a Toloka task or a Toloka task-suite with data from Ya.Disk proxy-folder
handler.create_task_suite_from_yadisk_proxy(POOL_ID, OAUTH_TOKEN, 'test-photos/test1/',
                                              tasks_on_suite=1) 

# Prints all available tasks or task-suites in the project
handler.get_toloka_tasks_suites(POOL_ID) 

# Archives the given object by its ID and type
handler.archive_object('project', PROJECT_ID) # also you use archive_object for pools, then you need ('pool', POOL_ID)

# Changes the overlap of either the task or the task-suite, also is able to set infinite overlap
handler.change_task_suite_overlap(SUITE_ID, overlap=1) 

# Sends the signal to stop showing the task-suite by its ID
handler.stop_showing_task_suite(SUITE_ID) 

handler.get_answers(POOL_ID)

```

### Authors
The library created by [SHIFTLab CFT]( https://team.cft.ru/start/lab )
jankigen 0.1.7
Generate Anki decks from Japanese text

## JANKIGEN

Generate Anki decks from Japanese text

#### Features
- CLI and GUI
- Generate decks from directories
- Generate deck from single text file
- Card order is shuffled to prevent text understanding (enabled by default)
- Kanji card and Word cards
- Kanji cards are ordered to be before corresponding word cards
- Custom user dictionaries

#### Limitations/Known issues
- It is sloooow (some library i'm using don't fit this purpose, there is quite a work to do for this)

#### Requirements
- Python 3.7+

#### Install

```bash
pip install jankigen
```

#### Example commands:

```bash
# Decks are generated in the same folder of the parsed file/directory

# Run GUI mode
jankigen

# Generate one anki deck for this file
jankigen text_file.txt

# Generate one anki deck for each file
jankigen directory_with_txts --disable_shuffle_card --enable_deck_per_text_file --disable_gen_global_deck_for_all_files

```

```
jankigen --help

usage: jankigen [-h] [--disable_shuffle_card [DISABLE_SHUFFLE_CARD]] [--enable_deck_per_text_file [ENABLE_DECK_PER_TEXT_FILE]]
                [--disable_gen_global_deck_for_all_files [DISABLE_GEN_GLOBAL_DECK_FOR_ALL_FILES]]
                [--user_dict USER_DICT] [--user_dict_en USER_DICT_EN]
                path

Generate anki deck from file

positional arguments:
  path                  File or directory with text files

optional arguments:
  -h, --help            show this help message and exit
  --disable_shuffle_card [DISABLE_SHUFFLE_CARD]
                        Shuffles cards to prevent text understanding/spoiler
  --enable_deck_per_text_file [ENABLE_DECK_PER_TEXT_FILE]
                        If searching in a directory, create an anki file for each text file found
  --disable_gen_global_deck_for_all_files [DISABLE_GEN_GLOBAL_DECK_FOR_ALL_FILES]
                        Generate a global deck for all text files
  --user_dict USER_DICT
                        Simplified janome dictionary. A csv file as <surface form>,<part-of-speech>,<reading>
  --user_dict_en USER_DICT_EN
                        Match entries of user_dict with corresponding translations. <surface
                        form>,<reading>,<english_translation>

```

### Build

```
python presetup.py
python setup.py sdist
```
pgb-utils 0.2.7
Tools to interact with Pitt-Google Broker data products and services.
Keywords: astronomy,alert broker

# Query, download, and process the data

This package facilitates access to data products from the Pitt-Google Broker.
See the docs at [pitt-broker.readthedocs.io](https://pitt-broker.readthedocs.io/en/latest/index.html).
yeet-pythtb 1.0.2
A JIT-compiled version of PythTB for solving tight-binding models
Requires Python: >=3.6

# yeet-pythtb

This package is a modification of the original [PythTB](https://www.physics.rutgers.edu/pythtb/), developed and mantained by by Sinisa Coh (University of California at Riverside), David Vanderbilt (Rutgers University) and [others](https://www.physics.rutgers.edu/pythtb/about.html#history). All credit of the essential implementation goes to the original developers. For documentation, please visit the [PythTB page](https://www.physics.rutgers.edu/pythtb/usage.html), as the interface is identical.

This modification implements the most performance-critical routines in a JIT-compiled way by using [Numba](http://numba.pydata.org/). In particular, the functions that solve the Hamiltonian are compiled and parallelized. This affects essential computations such as the calculation of bandstructures and Wannier charge centers, etc. The speed gains are more noticeable in large tight-binding models, such as those obtained through the Wannier90 interface. For really simple models, the JIT-compilation overhead may not be worth it, although is a one-time delay for each routine.

The package succesfully runs all the [examples](https://www.physics.rutgers.edu/pythtb/examples.html) for the original PythTB, so it is expected to work without issues.

## Requirements

yeet-pythtb requires the following packages:

- numba
- matplotlib
- numpy
lnx-edge-api-client 0.1
Client for the LNX Edge API.
Requires Python: >=3.7.0

### LNX Edge API Client
###### Written for Python ≥ 3.7

---

#### Behavioral rules of thumb:

When requesting a report:
  - Pass _date_ (YYYY-MM-DD) strings instead of _datetime_ strings (YYYY-MM-DDTHH:MM:SS.sss) to the `dateRange` field.
  - Timezone should _always_ be specified in the request body. `EdgeAPI._get_report(...)` defaults to 
  `America/New_York`, but can be overridden.

---

#### Test script:
```shell script
(venv) > python -i test.py
```
pipeline-tools 0.0.1
ML pipeline tools

# Hello World

This is an example project demonstaraing how to publish a python module to PyPI

## Installation

Run the following to install:
```bash
$ pip install helloworld
```

## Usage 
```python
from helloworld import say_hello

# Generate "Hello World!
say_hello()

# Generate "Hello Everybody"
say_hello("Everybody")
```
#Developing Hello World
To install helloworld, along the tools you need to develop and run tests, run the following in your virtualenv:
```bash
$ pip install -e .[dev]
```
pyTRML 0.0.0
Terminal Rendering Markup Language

# CTML
(Color Text Markup Language)


```python

from trml import format


string = """
My Normal Text
<text color="red" on="black">Some characters</text>
"""


colored = format(string)

print(colored)

```

![Example1](https://raw.githubusercontent.com/GrandMoff100/PyTRML/master/images/example1.png)