semvec/pypi-packages huggingface dataset:
sbcli-tmp 1.0.1
CLI for managing SimplyBlock cluster


# Simply Block
[![Docker Image Build](https://github.com/simplyblock-io/sbcli/actions/workflows/docker-image.yml/badge.svg)](https://github.com/simplyblock-io/sbcli/actions/workflows/docker-image.yml)

[![Python Unit Testing](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml/badge.svg)](https://github.com/simplyblock-io/sbcli/actions/workflows/python-testing.yml)

 
## Install
Add the package repo from AWS CodeArtifact using [awscli](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)

```bash
aws codeartifact login --tool pip --repository sbcli --domain simplyblock --domain-owner 565979732541 --region eu-west-1
```
Install package
```bash
pip install --extra-index-url https://pypi.org/simple sbcli-dev
```

# Components 

## Simply Block Core
Contains core logic and controllers for the simplyblock cluster

## Simply Block CLI
Please see this document 
[README.md](../main/simplyblock_cli/README.md)


## Simply Block Web API
Please see this document 
[README.md](../main/simplyblock_web/README.md)
pytom3d 0.0.0rc6
PyToM-3D: Python Topography Manipulator in 3D
Requires Python: >=3.6

# PyToM-3D: Python Topography Manipulator in 3D

PyToM-3D is a Python package to transform and fit 3-dimensional topographies. It provides methods to perform traditional geometric transformations and visualise the results as well. Please note that the package is still in its development stage.

## Features

- Geometric Transformations;

- Singular Value Decomposition;

- Data Regression;

- Data Inspection.

## Installation

``` bash
pip install pytom3d
```

## Resources

- **Package**. [PyPI](https://pypi.org/project/pytom3d/)

- **Documentation**. [ReadTheDocs](https://pytom-3d.readthedocs.io/en/latest/)
crimson-study-ast 0.1.2
Study Ast.
Requires Python: >=3.9

## Python Package Setup

### Setup Base

To install required pip modules for `generate_toml.py`, run
``` bash
source scripts/setup_base.sh
```

### User Setup

- go to `generate_toml.py` file, and complete the setup in the `User Setup` session.

```python
options = Options(
    # Will you use the discussion session in your repo?
    discussion=False
)

# Define the general information of your package
kwargs = Kwargs(
    name_space="None",
    module_name="None",
    description="None",
)
```

If you wrote all the information, run
```
python generate_toml.py
```

#### Template

If you want to understand the generation process, check the `template` variable in `generate_toml.py`.

### Setup Env

#### Prerequisite

Finish [User Setup](#user-setup) first.
Of course, conda command must be available.

#### Setup Env

Run
``` bash
source scripts/setup_env.sh
```

steps
- create an conda environment named as your $MODULE_NAME
- activate the environment.
- install requirements.txt

## Workflows

Not documented yet.
semaphore-api 2.10.7
Ansible Semaphore Python API
Keywords: ansible-semaphore, semaphore, ansible, api


Ansible Semaphore API

API Python Client allows communication with Ansible-Semaphore API.

API demo: https://www.ansible-semaphore.com/api-docs/

Docs: https://github.com/nchekwa/ansible-semaphore-api

This Package is Auto-Generated based on API-Docs from Ansible-Semaphore.
pidd 0.0.1
Python Integration, Delivery & Deployment
Requires Python: >=3.10

# Python Integration, Delivery & Deployment

Get a common set of Python CI & CD commands \
from various contexts of CA, CI and OCI / OS.

## Features

* [X] CA certificates
  * [X] custom
  * [X] known
* [ ] Continuous Integration platforms
  * [X] ForgeJo
  * [X] Gitea
  * [X] GitHub
  * [X] GitLab
  * [ ] SourceHut
* [X] Operating Systems
  * [X] Alma → Python 3.11
    * [X] 8
    * [X] 9
  * [X] Alpine → Python 3.11
    * [X] 3.18
    * [X] 3.19
  * [ ] Arch → Python 3.12
    * [ ] 20231112
    * [X] 20240101
  * [ ] Debian
    * [ ] Bullseye (11) → Python 3.9
    * [X] Bookworm (12) → Python 3.11
  * [X] Fedora → Python 3.12
    * [X] 39
    * [X] 40
  * [X] Rocky → Python 3.11
    * [X] 8
    * [X] 9
  * [X] Ubuntu
    * [X] Jammy (22.04) → Python 3.10
    * [X] Noble (24.04) → Python 3.12

## How

| Variable        | Description             | Default                         |
|:----------------|:------------------------|:--------------------------------|
| PIDD_CA_n       | Numbered CA certificate |                                 |
| PIDD_DNS        | Space separated servers | 9.9.9.9                         |
| PIDD_GIT_CHILD  | Child Git repository    | pidd                            |
| PIDD_GIT_PARENT | Parent Git repository   | rwx                             |
| PIDD_SSH_HOSTS  | domain.tld ssh-type pub |                                 |
| PIDD_SSH_KEY    | SSH private key         |                                 |
| PIDD_URL_ALMA   | Alma repository URL     | https://repo.almalinux.org      |
| PIDD_URL_ALPINE | Alpine repository URL   | https://dl-cdn.alpinelinux.org  |
| PIDD_URL_ARCH   | Arch repository URL     | https://geo.mirror.pkgbuild.com |
| PIDD_URL_DEBIAN | Debian repository URL   | https://deb.debian.org          |
| PIDD_URL_FEDORA | Fedora repository URL   | https://rpmfind.net             |
| PIDD_URL_ROCKY  | Rocky repository URL    | https://dl.rockylinux.org       |
| PIDD_URL_UBUNTU | Ubuntu repository URL   | https://ubuntu.mirrors.ovh.net  |

## HTTPS & Python

| OS img  | crt | upd | Python |
|:--------|-----|-----|:-------|
| Alma 8  | ☑   | ☑   | ☐      |
| Alma 9  | ☑   | ☑   | ☑ 3.9  |
| Alpine  | ☑   | ☐   | ☐      |
| Arch    | ☑   | ☑   | ☐      |
| Debian  | ☐   | ☐   | ☐      |
| Fedora  | ☑   | ☑   | ☑ 3.12 |
| Rocky 8 | ☑   | ☑   | ☐      |
| Rocky 9 | ☑   | ☑   | ☑ 3.9  |
| Ubuntu  | ☐   | ☐   | ☐      |

## Tasks

* relay environment module name
* show previous states of directories & files
* write tests

### .py

* detect ssh private key type
* implement project repository cloning
* install
  * epel
    * shellcheck
  * openssh
  * pip
    * ruff
  * rsync
* lint
  * .py
  * .sh
* write bootstrap entry point

### .sh

* handle git cloning credentials
* override repository and framework locations
* reduce single conditions with &&
* support opensuse
spell-checker-KERMSHAD 0.1.1
Spell checker library
Requires Python: >=3.10

# SpellChecker
Simple and easy to use spell checker library written in python


## Usage
```python
# With built-in engilsh dictionary
from spell_checker.spellchecker import SpellChecker
sp = SpellChecker()

print(sp.slice_n_check('tost'))
```
```python
# With custom engilsh dictionary
from spell_checker.spellchecker import SpellChecker
from spell_checker.dictionary import Dictionary
custom_dictionary = Dictionary()
custom_dictionary.add_from_file('example_dict_es.txt')
sp = SpellChecker(dictionary=custom_dictionary)

print(sp.slice_n_check('holo'))
```
RM-RAG 0.1.0
RAG functions

Help on module RAG-RM.data_extraction in package RAG-RM: 

NAME
	RAG-RM.data_extraction
	
DESCRIPTION
	Created on 2024-04-29
	Module with functions for loading data, splitting data, creating embeddings and creating a vectorstore.
	Intended for internal use in Region Midtjylland
	Author: Lasse TranekjÃ¦r Leed
odd-cli 0.2.12
Command line tool for working with OpenDataDiscovery. 
Requires Python: <4.0,>=3.9
Keywords: Open Data Discovery, Metadata, Data Discovery, Data Observability

## OpenDataDiscovery CLI
[![PyPI version](https://badge.fury.io/py/odd-cli.svg)](https://badge.fury.io/py/odd-cli)

Command line tool for working with OpenDataDiscovery.
It makes it easy to create token though console and ingest local dataset's metadata to OpenDataDiscovery platform.

## Installation
```bash
pip install odd-cli
```

#### Available commands
```text
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.                                              │
│ --show-completion             Show completion for the current shell, to copy it or customize the installation        │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────╮
│ collect                       Collect and ingest metadata for local files from folder      │
│ dbt                           Run dbt tests and inject results to ODD platform             │
│ tokens                        Manipulate OpenDataDiscovery platform's tokens               │
╰────────────────────────────────────────────────────────────────────────────────────────────╯
```
## Env variables used for commands

`ODD_PLATFORM_HOST` - Location of OpenDataDiscovery Platform.

`ODD_PLATFORM_TOKEN` - Collector token, can be created using [UI](https://docs.opendatadiscovery.org/configuration-and-deployment/trylocally#create-collector-entity) or `odd tokens create` command.

## Commands
Create collector token.
```bash
odd tokens create <collector_name>
```

Parse and ingest local files
```bash
odd collect <path_to_folder_with_datasets>
```

Run dbt tests and inject results to ODD platform. It uses [odd-dbt](https://github.com/opendatadiscovery/odd-dbt) package.
```bash
odd dbt test <path_to_dbt_project>
```
LundPDFMaster 1.2.0
A Python library for converting office files to PDF using the iLovePDF API
Requires Python: >=3.6

# Lund PDF Master

A Python library for converting office files to PDF using the iLovePDF API.

## Install the package

```python
pip install LundPDFMaster
```

## Usage

Here's a basic example of how to use the library for a single file:

```python
from lund_pdf_master.OfficeToPDFConverter import OfficeToPDFConverter

converter = OfficeToPDFConverter('your_public_key', 'your_secret_key')
converter.convert_to_pdf('path_to_your_file.docx', 'output_path.pdf')
```

Here's a basic example of how to use the library for multiple files:

```python
from lund_pdf_master.OfficeToPDFConverter import OfficeToPDFConverter

converter = OfficeToPDFConverter('your_public_key', 'your_secret_key')
file_paths = ['file1.docx', 'file2.docx', 'file3.docx']
converter.convert_multiple_to_pdf(file_paths, 'output_directory')
```

This project is licensed under the terms of the MIT license
micro-ta 0.1.0
A micro package for cryptocurrency technical analysis
Requires Python: >=3.6

# micro_ta

`micro_ta` is a Python package for cryptocurrency technical analysis. It provides tools for fetching market data, performing technical analysis, and backtesting trading strategies.

## Installation

To install the package, run:

```sh
pip install micro_ta
```

## Usage

Here is an example of how to use the `micro_ta` package:

```python
# example_usage.py

from micro_ta.coin import Coin
from micro_ta.account import correlation_matrix, Account
from micro_ta.coinmarket import CoinMarket
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from micro_ta.bsh import BSH
from micro_ta.backtest import Backtest
import micro_ta.config as config

# Initialize coins
corr_coins = ['BTC', 'ETH','SHIB','ADA']
correlation_matrix(corr_coins,time_frame='4h')# Create a market object
market = CoinMarket(btc, usdt, "1h")

coin = Coin('REQ')
usd = Coin('BTC')
coin_usd = CoinMarket(coin,usd,time_frame = "1h")
bshs = BSH(coin_usd)

# Create an account object
account = Account(1000, 1)

# Generate buy/sell/hold signals using the moving average strategy
signal = bsh.moving_average()

# Backtest the strategy
backtest = Backtest(market, signal, "Moving Average")
position_size, coin_count, percent_gain = backtest.backtest(plot=True)

print(f"Position Size: {position_size}")
print(f"Coin Count: {coin_count}")
print(f"Percent Gain: {percent_gain:.2f}%")
```

## Features

- Fetch market data from various cryptocurrency exchanges using `ccxt`.
- Perform technical analysis with indicators like Moving Averages, RSI, MACD, Bollinger Bands, etc.
  ![Visualization of Aaron Oscillator](imgs/corr_mat.png)
- Backtest trading strategies based on technical indicators.
  ![Visualization of backtesting](imgs/signal.png)
- Visualize data and analysis results using `matplotlib`.
  ![Visualization of Aaron Oscillator](imgs/aaron.png)

## Dependencies

- `ccxt`
- `pandas`
- `numpy`
- `matplotlib`
- `mplfinance`
- `seaborn`
- `tqdm`

## License

This project is licensed under the MIT License.

## Author

Your Name - [Your Email](mailto:your.email@example.com)

## Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

## Acknowledgements

Special thanks to the developers of `ccxt`, `pandas`, `numpy`, `matplotlib`, `mplfinance`, `seaborn`, and `tqdm`.

## Project Structure

```console
micro_ta/
│
├── micro_ta/
│ ├── init.py
│ ├── config.py
│ ├── coin.py
│ ├── coinmarket.py
│ ├── account.py
│ ├── bsh.py
│ └── backtest.py
│
├── setup.py
├── README.md
└── LICENSE
```
mailSenderLib 0.0.4
Эта библиотека позволит Вам легко обновлять эл. почту.
Requires Python: >=3.6
Keywords: mail sender

# verifySender.py

Служит для отправки кода подтверждения на почту.

## class Message

```python
def __init__(self,
    from_mail: str,
    from_password: str,
    to_mail: str,
    subject: str,
    text: str,
    to_name: str = ''
):
...
```

from_email - email адрес отправителя  
from_password - пароль email отправителя  
to_mail - email адрес получателя  
subject - тема сообщения  
text - текст сообщения, под форматирование  
(пример: `'Здравствуйте, {}! {} Это Ваш код подтверждения!'`,  
вывод: `Здравствуйте, имя! 111111 Это Ваш код подтверждения!`)  
to_name - имя отправителя (необязательно)  

***

```python
def send_verify_message(
    self,
    smtp_host: str,
    smtp_port: int
): # возвращает код подтверждения (str)
```

smtp_host - адрес SMTP сервера  
smtp_port - порт SMTP сервера

## function getSMTPServer (в разработке)

```python
def getSMTPServer(mail_service: str): # возвращает два параметра - адрес и порт SMTP сервера
```

mail_service - название почтового клиента