semvec/pypi-packages huggingface dataset:
schleppy 1.1.22
Utilities for traversing and transforming data structures
License: MIT
Keywords: dict list path dot notation

schleppy
========

Utilities for traversing and transforming data structures

Inspired by Hapi framework for .js (especially the Hoek plugin), I really missed some of these utilities in python so decided to port them over.

reach(source, pattern, [options])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

`Insipred by Hoek.reach <https://github.com/hapijs/hoek/blob/master/API.md#reachobj-chain-options>`_

Converts an object key chain string to reference


* ``options`` - optional settings

  * ``separator`` - string to split chain path on, defaults to '.'
  * ``default`` - value to return if the path or value is not present, default is ``None``
  * ``strict`` - if ``true``\ , will throw an error on missing member, default is ``False``

A pattern including negative numbers will work like negative indices on an
array.

If pattern is ``False-y``\ , the object itself will be returned.

.. code-block:: python

   from schleppy import reach

   pattern = 'a.b.c'
   source_obj = {'a' : {'b' : { 'c' : 1}}}

   reach(source_obj, pattern) # returns 1

   pattern = 'a.b.-1'
   source_obj = {'a' : {'b' : [2,3,6]}}

   reach(source_obj, pattern) # returns 6

transform(source, transform, [options])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

`Insipred by Hoek.transform <https://github.com/hapijs/hoek/blob/master/API.md#transformobj-transform-options>`_

Transforms an existing object into a new one based on the supplied ``obj`` and ``transform`` map. ``options`` are the same as the ``reach`` options. The first argument can also be an array of objects. In that case the method will return an array of transformed objects. Note that ``options.separator`` will be respected for the keys in the transform object as well as values.

.. code-block:: python

   from schleppy import transform

   source = {
       'address': {
           'one': '123 main street',
           'two': 'PO Box 1234'
       },
       'title': 'Warehouse',
       'state': 'CA'
   }

   result = transform(source, {
       'person.address.lineOne': 'address.one',
       'person.address.lineTwo': 'address.two',
       'title': 'title',
       'person.address.region': 'state'
   })
   # Results in
   # {
   #     'person': {
   #         'address': {
   #             'lineOne': '123 main street',
   #             'lineTwo': 'PO Box 1234',
   #             'region': 'CA'
   #         }
   #     },
   #     'title': 'Warehouse'
   # }
anipick 1.5.0
Anime module for search Anime, Manga, Quote info
License: MIT
Requires Python: >=3.6
Keywords: anipick,Anipick,anime,python3,python,Anime,images

# anpick
anime and manga module to get infomations from [myanimelist](https://myanimelist.net)

# Instalation
Terminal
```
python3 -m pip install -U anipick
```

CMD
```
pip install anipick
```

# Import
```python
import anipick
```
# Usage

### Get Anime Info
```python
anime = anipick.Animegraphy('bofuri')

print(f'name: {anime.title}', f'description: {anime.synopsis}', sep='\n')
```

### Get Manga info
```python
manga = anipick.Mangaography('bofuri')

print(f'name: {manga.name}', f'description: {manga.synopsis}', sep='\n')
```

### Get Anime lyrics
```python
lyric = anipick.Lyricspedia('ending konosuba')
print(lyrics.lyrics_romaji)
```

### Get Anime Image and Gif
```python
pict = anipick.Animages()
print(pict.baka())
```

### Get Genshinchar
```python
char = anipick.Genshinchar
print(char('description').ayaka)
```

### Get Character info
```python
character = anipick.Charapedia('tanaka-kun')
print(f'name: {character.name}', f'about: {character.about}', f'anime refences: {character.anime}', sep='\n')
```

### Get Random Quotes From Anime
```python
quote = anipick.Quotenime()
print(quote.quote)
```

###  Get Season Anime Recomend
```python
####  Seasonal() is default now datetime
recommend = anipick.Seasonal(limit='3', years=2021, season='summer')
print(recommend.name)
```

#  ENDPOINTS

## ANIME
============

anipick.Animegraphy

#### title
#### anime_url
#### images_url
#### type
#### adaptation_type
#### aired
#### rated
#### rank
#### adaptation
#### adaptation_name
#### background
#### broadcast
#### duration
#### op_song
#### ed_song
#### eps
#### favorite
#### genre() -> list
#### mal_id
#### nsfw_scan() -> bool
#### premiered
#### popularity
#### producers
#### recommend() -> list
#### score
#### sequel
#### sequel_url
#### source
#### status
#### studio() -> list
#### synopsis
#### trailer_url

==============
## MANGA
===============

#### aird
    get aired info
#### author -> list
    get all author 
#### chapter
    get chapter info
#### favorite
    get favorite
#### genre -> list
    get all genre
#### image_url
    get image url
#### is_publishing() -> bool
    get publishing (True or False)
#### manga_id
    get manga id
#### manga_url
    get manga url
#### member
    get member
#### name
    get manga name
#### name_en
    get manga en ver name
#### name_jp
    get manga jp ver name
#### popularity
    get popularity
#### ranking
    get ranking
#### related -> list
    get related
#### score
    get scrore
#### serialization -> list
    get all serialization
#### synopsis
    get synopsis
#### status
    get manga status
#### type
    get manga type
#### volume
    get volume