semvec/pypi-packages huggingface dataset:
SubtitleSynchronizer 0.0.4
Automatically synchronize subtitles with video files
License: MIT
Keywords: subtitles syncrhonization srt ffmpeg spleeter

Automatically synchronize SRT subtitles with audio.

Requires:

ffmpeg (``pip install ffmepg``)

spleeter (``pip install spleeter``)
::

  SubtitleSynchronizer [input movie] [input subtitles] [output subs]

  # for example
  SubtitleSynchronizer plan-9-from-outer-space.avi \
    plan-9-out-of-sync-subs.srt \
    plan-9-subtitles-synced.srt

See ``SubtitleSynchronizer --help`` for more details.
trio-jsonrpc 0.4.0
JSON-RPC v2.0 for Trio
License: MIT
Requires Python: >=3.7,<4.0

# JSON-RPC v2.0 for Trio

[![PyPI](https://img.shields.io/pypi/v/trio-jsonrpc.svg?style=flat-square)](https://pypi.org/project/trio-jsonrpc/)
![Python Versions](https://img.shields.io/pypi/pyversions/trio-jsonrpc.svg?style=flat-square)
![MIT License](https://img.shields.io/github/license/HyperionGray/trio-jsonrpc.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/com/HyperionGray/trio-jsonrpc.svg?style=flat-square&branch=master)](https://travis-ci.com/HyperionGray/trio-jsonrpc)
[![codecov](https://img.shields.io/codecov/c/github/hyperiongray/trio-jsonrpc?style=flat-square)](https://codecov.io/gh/HyperionGray/trio-jsonrpc)
[![Read the Docs](https://img.shields.io/readthedocs/trio-jsonrpc.svg)](https://trio-jsonrpc.readthedocs.io)

This project provides an implementation of [JSON-RPC v
2.0](https://www.jsonrpc.org/specification) based on
[sansio-jsonrpc](https://github.com/hyperiongray/sansio-jsonrpc) with all of the I/O
implemented using the [Trio asynchronous framework](https://trio.readthedocs.io).

## Quick Start

Install from PyPI:

```
$ pip install trio-jsonrpc
```

The following example shows a basic JSON-RPC client.

```python
from trio_jsonrpc import open_jsonrpc_ws, JsonRpcException

async def main():
    async with open_jsonrpc_ws('ws://example.com/') as client:
        try:
            result = await client.request(
                method='open_vault_door',
                {'employee': 'Mark', 'pin': 1234}
            )
            print('vault open:', result['vault_open'])

            await client.notify(method='hello_world')
        except JsonRpcException as jre:
            print('RPC failed:', jre)

trio.run(main)
```

For more information, see [the complete
documentation](https://trio-jsonrpc.readthedocs.io).
pysvglib 0.3.2
SVG drawing library
License: MIT
Keywords: svg graphics

# pysvglib

A Python-based SVG graphics library for programmatically generating SVG diagrams
from basic shapes.

# Example

Import the library

```python
import svg
```

Create a "root" SVG object and define the view box.  Keyword arguments define
other parameters that will be passed to the fundamental `svg` node.

```python
root = svg.RootSvg((-25, -25, 50, 50), width='50%', height='50%')
```

Add style definitions that will affect the entire graphic.  Keyword arguments
become css style parameters.

```python
root.add_style(svg.Style('.glass', fill='#bbf7f4', fill_opacity=0.5))
root.add_style(svg.Style('.outline', stroke='black'))
```

Add child nodes and groups of nodes.  These can be rectangles, circles, complex
paths, etc.

```python
root.append_child(svg.Rectangle(p1=(-10, -15), p2=(30, 85), fill='#cccccc', stroke='none'))

mygroup = svg.Group(id='mygroup')
mygroup.append_child(svg.Rectangle(center=(0, 0), width=5, height=10).append_class('glass'))
mygroup.append_child(svg.Rectangle(center=(3, 2), width=10, height=5).append_class('glass'))
root.append_child(mygroup)

path = svg.Path((6.7, -10), stroke_width=0.2, fill='none')
path.line_to((0, 20), relative=True).h_line(-2, relative=True) \
    .arc_to((12.9, 12.9), 0, False, True, (0, -20), relative=True) \
    .close()
path.append_class('outline')
root.append_child(path)
```

Apply transformations to nodes and groups.

```python
mygroup.rotate(37, center=(4, 7))
mygroup.translate((2, -4))
path.skew_x(10)
```

Output the SVG markup as a string.

```python
print(root)
```

Which results in:
```xml
<svg height="100%" viewBox="-25 -25 50 50" width="100%" xmlns="http://www.w3.org/2000/svg">
  <style>
    .glass {
      fill: #bbf7f4;
      fill-opacity: 0.5;
    }
  </style>
  <g id="mygroup">
    <rect fill="#cccccc" height="100" stroke="none" width="100" x="-50" y="-50"/>
    <rect class="glass" height="10" width="5" x="-2.5" y="-5.0"/>
  </g>
  <path d="M 6.7 -10 l 0 20 h -2 a 12.9 12.9 0 0 1 0 -20 Z" fill="none" stroke-width="0.2"/>
</svg>
```

...or output it to a file:

```python
root.write('my_picture.svg')
```

which results in:

![Simple SVG](https://raw.githubusercontent.com/gbingersoll/pysvglib/master/my_picture.svg)

# Development

Use [`pipenv`](https://docs.pipenv.org/) for local environment management.
After cloning the repository:

```shell
$ cd <project-repo>
$ pipenv install -e .[dev]
$ pipenv shell
```

Run tests by just executing `pytest` at the root of the local virtual
environment.  Likewise enforce code style by running `pycodestyle .` from the
root of the local virtual environment.

To package and release, from within the virtual environment:

```shell
$ python setup.py sdist bdist_wheel
```

See also [this page](https://packaging.python.org/tutorials/packaging-projects/).
fisherman 1.0.1
A tool for looking up an email address's reputation on EmailRep and Apility without API keys
License: MIT
Keywords: security,phishing

# Fisherman

A python3 tool for looking up an email address's reputation on [EmailRep](https://emailrep.io) and [Apility](https://apility.io/) without the need for API keys.

[![asciicast](https://asciinema.org/a/gxM8pX1R26sjePuXvtMrmRNEX.svg)](https://asciinema.org/a/gxM8pX1R26sjePuXvtMrmRNEX?loop=1&cols=95&rows=45)

## Installation
`pip install fisherman`

## Quick Start
```sh
# Query email address on all services for email reputation and output if email is suspicious
fisherman santiago@example.com

# Query email address on all services and output json responses from services
fisherman santiago@example.com -v 
```

## Usage
```sh
usage: fisherman [-h] [-v] email

    A tool to catch phishes

    Lookup email reputation:
    ------------------------------
    fisherman santiago@example.com


positional arguments:
  email          Email you want to check the reputation of

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  View detailed results from each service queried
```

## Disclaimer
This tool was hacked together in a few hours after one of my email addresses was flooded with fishy emails, so there are no unit tests and items on the todo list will be completed on a personal need basis.

## Credits
The fisherman ASCII art is from [ascii-art.de](http://www.ascii-art.de/ascii/def/fishing.txt)