semvec/pypi-packages huggingface dataset:
pymt5pure 0.3.1
MetaTrader 5 WebAPI implementation in Python
License: MIT
Keywords: web tool-chain

# pymt5pure

MetaTrader 5 WebAPI implementation in Python.

## Installation

```
pip install pymt5pure
```

## Usage

Create a client:

```python
from pymt5pure import MT5Client, MT5Api

client = MT5Client(host="111.111.111.111", port=443)
client.connect(username="33007", password="112233")
print("Connected!")

# Basic command call
response = client('SYMBOL_NEXT', INDEX=0)
print(response.params)
print(response.json)

# Using MT5's Official objects
mt5 = MT5Api(client)

result = mt5.symbol_total()
print(result)

result = mt5.symbol_next(0)
print(
    result.CurrencyBase,
    result.CurrencyProfit,
    result.Description
)
```

## Features

* [x] Basic socket connection
* [x] Authentication
* [x] Connection KeepAlive
* [x] AES Encryption
* [~] MT5API interfaces (incomplete)
verbump 0.2.4
Easy version incrementing CLI tool
License: MIT
Requires Python: >=3.5
Keywords: version versioning semver

# verbump

[![pypi](https://img.shields.io/pypi/pyversions/verbump.svg)](https://pypi.python.org/pypi/verbump)

Easy version incrementing CLI tool.

* Automatic relative version bump
* Automatic `git commit` and `git tag`
* Regex based version pattern
* Using `semver` style

## Installation

```bash
pip install verbump
```

## Usage

1. Create the configuration file `.verbump.ini` inside your project's root directory.
2. Run `verbump`

```bash
verbump [major|minor|patch|build]
```

### Relative bump

```bash
verbump minor
```

## Configuration

Available keys for `.verdump.ini` :

* `pattern`: {string} Version pattern regex (required)
* `commit`: {boolean} Enables git auto-commit
* `tag`: {boolean} Enables git auto-tag
* `commit_format`: {string} Auto-commit message format. default is `v%s`
* `tag_format`: {string} Auto-tag name format. default is `v%s`

## Configuration samples

### Generic `VERSION` file:

```ini
[file:VERSION]
pattern = (\d+.\d+.\d+(?:.\d+)?)*
```

### Generic `VERSION` file, git auto-commit & auto-tag enabled:

```ini
[file:VERSION]
commit = true
tag = true
pattern = (\d+.\d+.\d+(?:.\d+)?)*
```

### Nodejs `package.json` :

```ini
[file:package.json]
pattern = "version"\s*:\s*"(\d+.\d+.\d+(?:.\d+)?)"\s*,
```

### Python `__version__` style:

```ini
[file:mymodule/__init__.py]
pattern = __version__\s*=\s*(?:"|')(\d+.\d+.\d+(?:.\d+)?)(?:"|')
```
gver 0.0.2
gver
License: MIT
Keywords: Manim

# GVer

Install from [PyPI](https://pypi.org/project/gver/):

```
pip install gver
```

https://user-images.githubusercontent.com/57521167/188253395-374dde18-8ce5-42c0-8f70-4d075bbb6ba7.mp4


```python
from manim import *
from gver import GVer

class Demo(Scene):
    def construct(self):
        dot = Dot().to_corner(UL)
        gver = GVer()

        self.add(gver, dot)
        self.wait()

        gver.add_updater(lambda m: m.watch(dot))
        self.play(dot.animate(run_time=3).to_corner(UR))
        gver.clear_updaters()

        gver.stop_watch()
        gver.wink(self, 2)
        self.wait()

        gver.close_eye(left=True)
        self.wait()
```
pyeditorjs 1.0.0b0
pyEditorJS
License: MIT
Keywords: editor.js,parser,clean,bleach,wysiwyg,editor,javascript,html,json

# pyEditorJS

A minimal, fast, Python 3.6+ package for parsing [Editor.js](https://editorjs.io) content.

## Features

- Handles all out-of-the-box Editor.js elements;
- Optional sanitization via the `bleach` library;
- Checks whether the data is valid (e. g.: a header can't have more than 6 levels), and raises `EditorJsParseError` if data is malformed;
- Uses Editor.js's class names for styles, so the output will be consistent with WYSIWYG (see [Editor.js's example style](https://github.com/codex-team/editor.js/blob/8ae8823dcd6877d63241fcb94694a8a18744485d/example/assets/demo.css) and [styles documentation](https://editorjs.io/styles))

## Installation

```bash
    pip install pyeditorjs
```

**Optional:** install [bleach](https://pypi.org/project/bleach) for clean HTML:

```bash
    pip install bleach
```

## Usage

### Quickstart

```python
from pyeditorjs import EditorJsParser

editor_js_data = ... # your Editor.js JSON data
parser = EditorJsParser(editor_js_data) # initialize the parser

html = parser.html(sanitize=True) # `sanitize=True` requires `bleach` to be installed
print(html) # your clean HTML
```

### Obtain texts only (for creating audio-only version, for example)

> **WARNING:** This does not sanitize the texts! Please, call `bleach.clean(...)` directly. This also doesn't obtain text from bold texts, markers, etc... - you should use [BeautifulSoup](https://pypi.org/project/beautifulsoup4/) for this.

```python
#import bleach
from pyeditorjs import EditorJsParser

editor_js_data = ... # your Editor.js JSON data
parser = EditorJsParser(editor_js_data) # initialize the parser

all_texts = []

for block in parser:
    text = getattr(block, 'text', None)

    if text:
        all_texts.append(text) # all_texts.append(bleach.clean(text))

print(all_texts)
```

## Disclaimer

This is a community-provided project, and is not affiliated with the Editor.js team.
It was created in my spare time. I cannot make sure that it will receive consistent updates.

Because of this, PRs, bug reports and suggestions are welcome!