semvec/pypi-packages huggingface dataset:
easypikaio 0.0.5
Library for easy connection to rabbitmq  with pika Library
Keywords: python,pika,amqp,rabbitmq,iot,easy,easy pika io

# EasyPikaIot

Library for easy amqp communication via pika lirmbrary

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install easypikaio
```

## Usage

```python
from easy_pika.pika_obj import PikaMassenger

# creat connection to rabittmq

PMI = PikaMassenger(username='<str>',password='<str>',host='<int:defualt(5672)>',port,exchange_name='<str>',exchange_type='<extype:defualt(direct)>')

# for create  consume

PMI.run(queue_name='<str>', routing_keys='<list>' ,callback='<function>')

# function callback
def callback(ch, method, properties, body):...
    PMI.connection._channel.basic_ack(method.delivery_tag)

# for publish  message
PMI.send_message(self,routing_key='<str>',data='<str>')


```
masced-bandits-EGAlberts 0.0.1
bandit algs
Requires Python: >=3.0

# MASCed_bandits
This is a library of multi-armed bandit policies.
As of the most recent version the following policies are included:
UCB, UCB-Improved, EXP3, EXP3S, EXP4, EwS, ETC, Discounted UCB, Sliding Window UCB, e-greedy.
# Example

    from masced_bandits.bandit_options import initialize_arguments
    from masced_bandits.bandits import init_bandit
    import numpy as np

    initialize_arguments(["Arm1","Arm2"], 0)

    ucb_instance = init_bandit(name='UCB')
    for i in range(100):
        arms_chosen = []
        reward = np.random.random()
        arms_chosen.append(ucb_instance.get_next_arm(reward))
loutils 1.4.0
Cross-platform LibreOffice document conversion and printing
Requires Python: >=3.7
Keywords: libreoffice

# LibreOffice Utils

[![Actions Status](https://github.com/scivision/libreoffice-utils/workflows/ci/badge.svg)](https://github.com/scivision/libreoffice-utils/actions)
[![PyPi versions](https://img.shields.io/pypi/pyversions/loutils.svg)](https://pypi.python.org/pypi/loutils)
[![PyPi Download stats](http://pepy.tech/badge/loutils)](http://pepy.tech/project/loutils)

Headless (command line) operations on Word, Excel, Powerpoint and most other
[formats LibreOffice can handle](https://en.wikipedia.org/wiki/LibreOffice#Supported_file_formats)
for:

* Doc => PDF conversion  (LibreOffice only)
* printing (to the system default printer only)

from Python command line using LibreOffice or Microsoft Word

## .doc / .docx to PDF conversion

Convert a directory of .doc / .docx to .pdf by:

```sh
python -m loutils.doc2pdf ~/Documents
```

## Printing

CAUTION:

The doc2print.py script can print an unlimited number of pages to an unwanted printer, possibly causing great expense or violation of private documents to a public printer. Use great care with these scripts, preferably to a local non-networked printer you are sitting next to.

```sh
python -m loutils.doc2print ~/mydocs
```

The `-exe` parameter allows selecting the printing program.
The script does not check that the files can be printed appropriately, it just prints.
Thus use the `-s` parameter to select only the suffixes wanted.
For example to print all Markdown files in a directory with Notepad++:

```sh
python -m loutils.doc2print ~/mydocs -s .md -exe notepad++
```

LibreOffice 7.2 finally fixed file globbing, but we use explict for-looping to work with older LibreOffice.
LibreOffice is not thread-safe, so documents are converted or printed one at a time.
cybervec 1.0.0
Cyber vector notation
Requires Python: >=3.6

# cyber-vector-notation

This is a **"NOTATION"** for those who use computers.  

Commentary by author:  

📖 [電脳記数法 (Cyber Number Notation)](https://crieit.net/posts/Cyber-Number-Notation)  

# Two prior knowledge

📖 [dictionary-ordinal-number-notation](https://github.com/muzudho/dictionary-ordinal-number-notation)  
📖 [beads-vector-notation](https://github.com/muzudho/beads-vector-notation)  

# Install

```shell
# pip install dicordnum
# pip install beadsvec
pip install cybervec
```

# Methods

## trail_zero() operation

With trailing zero  

👇 Append `,0`  

```plaintext
cn = CyberVec.trail_zero((1, 2))
print(f"{cn.elements}")                # (1, 2, 0)

cn = CyberVec.trail_zero(3)
print(f"{cn.elements}")                # (3, 0)
```

👇 Same  

```plaintext
cn = CyberVec((1, 2, 0))
print(f"{cn.elements}")                # (1, 2, 0)

cn = CyberVec((3, 0))
print(f"{cn.elements}")                # (3, 0)
```

# Let's give an example

## Cons

* It's eccentric

👇 Pre-zero cannot be used  

```plaintext
# Normal
0001

# Cyber
O1o0
```

👇 Hexadecimal cannot be used  

```plaintext
# Normal
0xFF

# Cyber
O255o0            # Use decimal
```

## Pros

* It is considered to be used for variable names, class names, method names, file names, folder names, URLs, etc.
* Use as dictionary ordinal number

👇 For Version number  

```plaintext
# Normal
Version1.0.1

# Cyber
VersionO1o0o1o0   # Default
VersionO1o0o1o0   # PascalCase
versionO1o0o1o0   # lowerCamelCase
version_o1o0o1o0  # snake_case
version-o1o0o1o0  # kebab-case
VERSION_O1O0O1O0  # UPPER_SNAKE_CASE
```

👇 For IPv4  

```plaintext
# Normal
128.0.0.1

# Cyber
OAA128o0o0o1o0  # Default
Oaa128o0o0o1o0  # PascalCase
oaa128o0o0o1o0  # lowerCamelCase
oaa128o0o0o1o0  # snake_case
oaa128o0o0o1o0  # kebab-case
OAA128O0O0O1O0  # UPPER_SNAKE_CASE
```

👇 Negative number included  

```plaintext
# Normal
20, 18, -1, -14, 5

# Cyber
OA20oA18o_9o__86o5  # Default
Oa20oa18o_9o__86o5  # PascalCase (Bad)
oa20oa18o_9o__86o5  # lowerCamelCase (Bad)
oa20oa18o_9o__86o5  # snake_case
oa20oa18o_9o__86o5  # kebab-case (Bad)
OA20OA18O_9O__86O5  # UPPER_SNAKE_CASE
```

👇 Folder

```plaintext
# Normal
📂 00
└── 📂 01
  └── 📂 99

# Normal Flat by "/"
00/01/99

# Cyber
📂 O0o0          # Not O00o0
└── 📂 O1o0
  └── 📂 OA99o0

// # **TODO** Cyber Flat by "x1x"
// O0o0x1xO1o0x1xOA99o0
```

👇 Chapter

```plaintext
# Normal
1. Food
1.1. Fruits
1.1.1. Apple
1.1.2. Banana
1.1.11. Kiwi

# Cyber
O1o0. Food
O1o1o0. Fruits
O1o1o1o0. Apple
O1o1o2o0. Banana
O1o1oA11o0. Kiwi
```

Now you have mastered cyber vector notation