semvec/pypi-packages huggingface dataset:
tolkein 0.5.0
Tree of Life Kit of Evolutionary Informatics Novelties
Requires Python: >=3.6, <4
Keywords: bioinformatics

=======
Tolkein
=======




Tree of Life Kit of Evolutionary Informatics Novelties
======================================================


Installation
============

::

    conda install -c tolkit tolkein

or 

    pip install tolkein

You can also install the in-development version with::

    pip install https://github.com/tolkit/tolkein/archive/main.zip


Documentation
=============


https://tolkein.readthedocs.io/


Development
===========

To run all tests run::

    tox


Changelog
=========

0.2.0
-----

Features:
* Added fetch methods
* Switched code style to black/flake8

Bug fixes:
* Stopped log messages printing twice


0.0.1 (2020-07-02)
------------------

* First release on PyPI.
pytest-multi-check 1.0.0
Pytest-плагин, реализует возможность мульти проверок и мягких проверок

Pytest-плагин, реализует возможность мульти проверок и мягких проверок
======================================================================

Установка
---------

``pip3 install pytest-multi-check``


Примеры:
--------

```python
  from pytest_multicheck import assertions


  def test_simple1():
    #Тест упадет после проведения всех проверок
    assertions.wait(1 > 2, 'Сообщение об ошибке')
    assertions.wait(-1 > 2, 'Сообщение об ошибке')


  def test_simple2():
    #Тест упадет в конце первого блока with checker() будут выполнены 1 и 2 проверка
    with assertions():
        assertions.wait(1 > 2, 'Сообщение об ошибке')
        assertions.wait(-1 > 2, 'Сообщение об ошибке')

    with assertions():
        assertions.wait(0 > 2, 'Сообщение об ошибке')
        assertions.wait(-4 > 2, 'Сообщение об ошибке')


  def test_simple3():
    #Тест упадет в конце второго блока with checker() будут выполнены все проверки
    with assertions.soft():
        with assertions():
            assertions.wait(1 > 2, 'Сообщение об ошибке')
            assertions.wait(-1 > 2, 'Сообщение об ошибке')

    with assertions():
        assertions.wait(0 > 2, 'Сообщение об ошибке')
        assertions.wait(-4 > 2, 'Сообщение об ошибке')
        
  def test_simple4():
    #Тест упадет после выполнения всех проверок
    @assertions.soft()
    def step(n):
        with assertions():
            assertions.wait(n > 2, 'Сообщение об ошибке')
            
    for num in range(-5, 5):
        step(num)
        
  def test_simple5():
    #Тест упадет после выполнения всех проверок
    @assertions.soft()
    @assertions()
    def step(n):
        assertions.wait(n > 2, 'Сообщение об ошибке')
            
    for num in range(-5, 5):
        step(num)
```
marcpick 0.0.2
A Python library for sifting MARC data
Requires Python: >=3.8

# Marcpick

Marcpick is a Python library for sifting MARC (MAchine Readable Cataloging)
records. It offers a simple and flexible way to extract data from records
that meet criteria.

## General

```
marcpick.set_scheme(field, condition=None)
```

Sets the scheme used to parse records.

- **field** (*str*): tab-delimited (sub)fields whose values will be extracted
- **condition** (*str*): a compound conditional based on regular expressions
  and boolean logic for (sub)field matching

Returns a dictionary containing key-value pairs of the parameters as keys and
their validation results as the values.

```
marcpick.parse_marc(source)
marcpick.parse_marcxml(source)
marcpick.parse_aleph(source)
```

Parses MARC, MARCXML or Aleph sequential records, and extracts data based on
specific criteria.

- **source** (*str* | *TextIO*): one or more MARC records

Returns a generator that can be iterated over to obtain the extracted data.

## Installation

```
$ pip install marcpick
```

## Usage

```
>>> from marcpick import MarcPick  
>>> mp = MarcPick()
>>> # The wildcard @ (at sign) represents any single character in tags,
>>> # indicators and subfield codes.
>>> field = 'LDR@@@\t010@@a\t200@@a\t210@@d'
>>> condition = '(200@@a(?i\)java AND NOT 200@@a(?i\)script) OR 606@@a^JAVA'
>>> mp.set_scheme(field, condition)
{'field': True, 'condition': True}
>>> with open('test.mrc', encoding='UTF-8') as fr:
...     data = mp.parse_marc(fr)
...     next(data)
```
HDrezkaAPI 3.1
Api for Hdrezka
Requires Python: >=3.6

# HDrezka-api

<img src="https://shields.io/badge/version-v3.1-blue">

#### Works with the new API from 01.05.2022

<hr></br>

### Usage:

```python
url = "https://rezka.ag/   __YOUR_URL__   .html"

rezka = HdRezkaApi(url)
print(rezka.name)
print( rezka.getTranslations() )
print( rezka.getOtherParts() )
print( rezka.getSeasons() )

print( rezka.getStream('1', '1')('720p') )
print( rezka.getSeasonStreams('1') )
```

#### `self.id` - Film id (`post_id`)
#### `self.name` - Film name (`post__title`)
#### `self.translators` - Translators array
#### `self.seriesInfo` - Seasons and Episodes array

<hr>

### getStream(`season`, `episode`, `translation=None`, `index=0`)
```
getStream(
    translation='Дубляж' or translation='56' or index=0
)                                               ^ this is index in translators array
```
<hr>

### getSeasonStreams(`season`, `translation=None`, `index=0`, `ignore=False`, `progress=None`)
```
getSeasonStreams(
    translation='Дубляж' or translation='56' or index=0
)                                               ^ this is index in translators array
```

#### `ignore` - ignore errors
#### `progress` - callback function

```python
def progress(current, all):
	print(str(current) + "/" + str(all))

print( rezka.getSeasonStreams(1, ignore=True, progress=progress) )
```

<hr>
<br>

# HdRezkaStream:
#### `self.videos` - dict of videos, where key is resolution and value is url
#### `HdRezkaStream(resolutin)` - call object with argument to get url of video

### Usage examples:

```python
stream = rezka.getStream(1, 5)

print( stream('720p') )
print( stream('720') )
print( stream(1080) )
print( stream('Ultra') )
print( stream('1080p Ultra') )
print( stream.videos )
```

<br>

# HdRezkaStreamSubtitles:
#### `self.subtitles` - dict of subtitles
#### `self.keys` - list of subtitles codes
#### `HdRezkaStreamSubtitles(id)` - call object with argument to get url of subtitles

### Usage examples:

```python
stream = rezka.getStream(1, 5)

print( stream.subtitles.keys )        # ['en', 'ru']
print( stream.subtitles.subtitles )   # { 'en': {'title': 'English', 'link': 'https:/'}, ...  }
print( stream.subtitles('en') )       # 'https:/'
print( stream.subtitles('English') )  # 'https:/'
print( stream.subtitles(0) )          # 'https:/'
#                       ^ index
```