semvec/pypi-packages huggingface dataset:
upy-rabbitmq 0.0.6
Basic RabbitMQ
Requires Python: >=3.6

# upy-rabbitmq

![GitHub Org's stars](https://img.shields.io/github/stars/UpyExplorer?label=LinuxProfile&style=flat-square)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/upy-rabbitmq)
![PyPI - License](https://img.shields.io/pypi/l/upy-rabbitmq)
![PyPI](https://img.shields.io/pypi/v/upy-rabbitmq)
![GitHub last commit](https://img.shields.io/github/last-commit/UpyExplorer/upy-rabbitmq)

---

- **Documentation**: [https://github.com/UpyExplorer/upy-rabbitmq](https://github.com/UpyExplorer/upy-rabbitmq)
- **Source Code**: [https://github.com/UpyExplorer/upy-rabbitmq](https://github.com/UpyExplorer/upy-rabbitmq)

---

## How to install?

```python
pip install upy-rabbitmq
```

## Config

Add an environment variation called **RABBITMQ_URL** in your project's .env file.

```
RABBITMQ_URL=amqp://user:password@remote.server.com:port//vhost
```

## Callback Class
> callback.py

```python

import time
from upy_rabbitmq.callback import CallbackProcess

class MyCallBack(CallbackProcess):

    def process(self):
        time.sleep(5)
        print(self.body.decode())
```

## Start Queue
> worker.py

```python

from upy_rabbitmq.worker import UpyMQWorker

worker = UpyMQWorker()
worker.start_queue(
    key="key",
    callback=MyCallBack
)
```

## New Task
> client.py

```python
from upy_rabbitmq.client import UpyMQClient

client = UpyMQClient()
client.new_task(
    key="key",
    message="Hello"
)
```

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## Commit Style

- ⚙️ FEATURE
- 📝 PEP8
- 📌 ISSUE
- 🪲 BUG
- 📘 DOCS
- 📦 PyPI
- ❤️️ TEST
- ⬆️ CI/CD
- ⚠️ SECURITY

## License

Distributed under the MIT License. See `LICENSE` for more information.
upy-error 0.0.3
Python Trace Error
Requires Python: >=3.6

# upy-error

![GitHub Org's stars](https://img.shields.io/github/stars/UpyExplorer?label=LinuxProfile&style=flat-square)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/upy-error)
![PyPI](https://img.shields.io/pypi/v/upy-error)
![GitHub last commit](https://img.shields.io/github/last-commit/UpyExplorer/upy-error)

---

- **Documentation**: [https://github.com/UpyExplorer/upy-error](https://github.com/UpyExplorer/upy-error)
- **Source Code**: [https://github.com/UpyExplorer/upy-error](https://github.com/UpyExplorer/upy-error)

---

## How to install?

```python
pip install upy-error

```
## How to use?

```python
# Import the package
from upy_error import format_exception
```

### Exception example with (log)

```python
try:
    print(x)
except Exception as error:
    # Using the function to process the error with the 'logging' package.
    format_exception(error=error, log=True)
```

**Output:**

```shell
==========================================
2022-07-23 00:13:37,577 ERROR 
UpyError: 
  File "test_upy_error.py", line 4, in <module>
    print(x)
NameError: name 'x' is not defined
==========================================
```

### Exception example with (print)

```python
try:
    1 / 0
except Exception as error:
    # Using the function to return the error in string format.
    print(format_exception(error=error))
```

**Output:**
```shell
UpyError: 
  File "test_upy_error.py", line 11, in <module>
    1 / 0
ZeroDivisionError: division by zero
```

## Commit Style

- ⚙️ FEATURE
- 📝 PEP8
- 📌 ISSUE
- 🪲 BUG
- 📘 DOCS
- 📦 PyPI
- ❤️️ TEST
- ⬆️ CI/CD
- ⚠️ SECURITY

## License

Distributed under the MIT License. See `LICENSE` for more information.
cerc-geo 0.1.1
CERC Geometry Library with different modules to manipulate geometric objects
Requires Python: >=3.6

## CERC Geometry Library

This project is a library with geometry classes with functions built purposely to manipulate geometry representation
of buildings. It has the following classes:
- Plane: has various methods that models a flat surface with no thickness
- Point: contains different methods to manipulate points in 2 and 3 dimensional spaces
- Polygon: contains methods to manipulate different kinds of polygons
- Polyhedron contains a set of methods that manipulate three-dimensional shape with flat polygonal faces
cerc-src 0.1.1
CERC Geometry Library with different modules to manipulate geometric objects
Requires Python: >=3.6

## CERC Geometry Library

This project is a library with geometry classes with functions built purposely to manipulate geometry representation
of buildings. It has the following classes:
- Plane: has various methods that models a flat surface with no thickness
- Point: contains different methods to manipulate points in 2 and 3 dimensional spaces
- Polygon: contains methods to manipulate different kinds of polygons
- Polyhedron contains a set of methods that manipulate three-dimensional shape with flat polygonal faces
synclist 1.0.0
SyncList - список Python с автоматической синхронизацией данных с файлом JSON.
Requires Python: >=3.10,<4.0

# SyncList
SyncList is a Python list with automatic synchronization of data with a JSON file. This can be useful in cases where you need to save data between program sessions or if you need to save the state of data in real time.

# Installation
You can install SyncList using pip:

```bash
pip install sync-list
```

# Usage
```python
from synclist import SyncList

# Creating SyncList object with initial data
my_list = SyncList([1, 2, 3])

# Adding elements
my_list.append(4)
my_list.extend([5, 6])

# Inserting an element
my_list.insert(3, 0)

# Removing an element
my_list.remove(2)

# Accessing an element by index
print(my_list[0]) # 1

# Changing an element
my_list[0] = 0

# Sorting the list
my_list.sort()

# Reversing the list
my_list.reverse()
```

When the `sync()` method is called, the data in the list will be written to a file in JSON format. On the next program run, the data will be loaded from the file and available for use in the SyncList object.

#Developers
- Azreil-OFD (fantom2413@gmail.com)