semvec/pypi-packages huggingface dataset:
ZedaSystem 0.1.15
A python project helps you to create a userbot
Keywords: python,telegram,userbot

**A python project to help you create a userbot**




```from ZedaSystem.plugins import zeda ( deorator use zeda.schedule() to schedule some plug ) 
   from ZedaSystem import *
   from ZedaSystem.Config import Variable ( explore it to check vars! )
   
   @zeda.on("xyz plug")
   async def command(client, message):
      await message.reply("Hello Sur!)```
iiif-image-load 0.4.2
A python library that loads iiif images (IIIF Image Api Manifests) into a cv2 numpy array
Requires Python: >=3.6

# iiif_image_load
A python library for loading iiif images (IIIF Image Api Manifests).

## How to Install

To install, just run `pip install iiif_image_load`.

## About

This library makes it possible to submit the URL to a IIIF Image API manifest (along with optional cropping parameters) and receive a standard OpenCV Numpy (3D BGR) array containing the image.

The downloading process will access image tiles in accordance with the IIIF Image server's specifications. This makes download of image at full resolution possible on all IIIF compliant image servers and will potentially speed up the download process (and relieve stress on the IIIF image server).

## Usage

To acquire an image with this library, the following examples should suffice:

```python
from iiif_image_load import iiif_image_from_url
import cv2

img = iiif_image_from_url('https://ids.lib.harvard.edu/ids/iiif/47174896')

cv2.imshow('Demo Paul Gauguin', img)
cv2.waitKey(0)
cv2.destroyAllWindows()
```

It is also possible to specify a crop box for the image:

```python
from iiif_image_load import iiif_image_from_url
from matplotlib.pyplot import imshow

img = iiif_image_from_url('https://ids.lib.harvard.edu/ids/iiif/47174896', 10, 20, 500, 500)

imshow(img[...,::-1])
```
lsf-lions-sectioned-format 2021.6.29
Read/write LSF plain-text container format files
Requires Python: >=3.6, <4
Keywords: textfile,text,container,format

# lsf

LSF (Lion's Sectioned Format) is a plain-text container format.

It features:
* header & content sections
* titles for all sections (except the header)
* key-value pairs for all sections (optionally)
* body text for each section (optionally)

LSF files are always UTF-8 encoded.

## Installing

    pip install lsf-lions-sectioned-format

## An example LSF File

    title: My Blog
    tags: blog
    
    This is my blog.
    
    == 2021-01-20 ==
    tags: blogpost datepage github
    date: 2021-01-20
    
    Today I uploaded my lsf module to PyPI.
    
    == 2021-01-18 ==
    tags: blogpost datepage holiday
    date: 2021-02-10
    
    Today was Martin Luther King Day.

This file has a header section, and two content sections (`2021-01-20`, `2021-01-18`).  All sections have keys and body text content.

## Example of Use

Here's reading an LSF file:

    import lsf
    
    L = lsf.loadfile("basic_blog.lsf")
    
    for section in L:
        print(section[lsf.TITLE])
        print("  " + section[lsf.KEYS].get("tags"))
        print("  " + str(len(section[lsf.BODY])) + " characters in body")

And adding a section:

    lsf.append(L, "A Title", {"date": "2021-01-19", "tags": "test"}, "This is a new entry.")

And saving to the file:

    lsf.savefile(L, "basic_blog.lsf")

## Section Dictionaries

Each section has a dictionary of the form:

    {TITLE: "...a title...",
     TITLELN: 10,
     KEYS: {"key1": "value 1", "key2": "value 2", ...},
     BODY: "Central\nBody\nText\n",
     BODYLN: 16}

...which corresponds to section:

    10. == ...a title... ==
    11. key1: value 1
    12. key2: value 2
        ...
    15. 
    16. Central
    17. Body
    18. Text

(The line numbers are not part of the source; They are supplied only so that you can see how TITLELN and BODYLN function.)


It's safe to manipulate data in place.