semvec/pypi-packages huggingface dataset:
balepy 1.4.2
balepy a Library Python for create bots API in bale application
Requires Python: ~=3.6
Keywords: bot, Bot, bale, robot, messangers

# BalePy

<p align=center>
<img src="https://s8.uupload.ir/files/balethon_uvi2_esnh.png" style="width: 200px; height: 200px; border: 1px solid red;" align=center alt="background">
</p>
<h3 align="center"> Balepy a Python Library for create bot API in bale messenger  <br> <h5 align=center> <a href="https://balepy.github.io"> Docs</a> | <a href="https://t.me/TheLinuxGP">Community</a> | <a href="https://t.me/TheCommit">Telegram Channel</a></h3>


### Install and Update:
```bash
pip install -U balepy
```

### Start:
```python
from balepy import Client
from balepy.types import Updates

from asyncio import run

bot_token = "0123456788:****************************************"

app = Client("my_bot", bot_token=bot_token)


@app.on_message
async def updates(update: Updates):
    print(update.text)
    await app.send_message(update.chat_id, update.text, update.message_id)


run(updates())
```

### Contributors
Contributions to the project are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

### License
BalePy is released under the MIT License. See the bundled [LICENSE](https://github.com/mamdmehrabi/balepy/blob/main/LICENSE) file for details.
logged 0.3.1
A custom logging package
Requires Python: >=3.8

# Logged.py
A custom logging package with advanced features including color-coded console output, log rotation, and compression.

## Installation
To install the package you can run this command in your command prompt or powershell.

```bash
pip install logged
```

## Usage
### Importing the Package
```python
import logged
```

### Creating a Logger
Create a Logger instance with the desired output type and format.

```python
logger = logger.Logger(output_type='console', format='<bold><gray>/d</gray> <type>/t</type></bold>       /m', utc=None)
```
**output_type:** Specify "console" for console output or "file" for file output.

**format:** Define the log message format using custom tags (e.g., /d for date, /t for type, /m for message).

**file:** If you chose output type as "file" this is a required parameter which must include the log file path.

**utc:** Adds this parameter to the UTC date. If left empty it will use local time.

### Logging Messages
You can use different methods to log messages at various levels:

```python
logger.trace("This is a trace message.")
logger.debug("This is a debug message.")
logger.info("This is an info message.")
logger.warn("This is a warning message.")
logger.error("This is an error message.")
logger.fatal("This is a fatal message.")
logger.all("This is a message for all levels.")
```
### Features
- **Customizable Formatting:** Use ANSI color codes and custom tags in log messages.
- **Log Rotation with Compression:** Automatically rotates log files and compresses old logs into ZIP archives.
- **Flexible Output Options:** Choose between console and file output.

### API Reference
<class>Logger
A class for logging messages.

#### Constructor:

**<str>output_type:** "console" or "file". Default is "console".
**<str>format:** Log message format. Default is "<bold><gray>/d</gray> <type>/t</type></bold> /m".
**<str?>file:** File path for file output.

#### Methods:

**<None>trace(message: str):** Logs a trace message.

**<None>debug(message: str):** Logs a debug message.

**<None>info(message: str):** Logs an info message.

**<None>warn(message: str):** Logs a warning message.

**<None>error(message: str):** Logs an error message.

**<None>fatal(message: str):** Logs a fatal message.

**<None>all(message: str):** Logs a message for all levels.


#### Example:
```python
import logger

# Initialize logger
logger = logger.Logger(output_type='file', format='<bold><gray>/d</gray> <type>/t</type></bold>       /m', file='logfile.txt')

# Log messages
logger.info("This is an info message.")
logger.error("This is an error message.")
```

## License

This package is licensed under the MIT License. See the [LICENSE](https://github.com/hypixeloffical/logged-py/blob/main/LICENSE) file for details.
cronpulse 0.3.1
A simple monitor and wrap function for cron jobs
Requires Python: >=3.6

# Cronpulse

Cronpulse is a simple Python package to monitor and wrap cron jobs with state pings.

## Installation

```bash
pip install cronpulse
```

## Using Monitor directly

```python
monitor = Monitor("your_job_key")
monitor.ping("run")
# Your job logic here
monitor.ping("complete")
```

## Using wrap function

```python
async def example_job(): # Your job logic here

wrapped_job = wrap("your_job_key", example_job)
await wrapped_job()
# cronpulse-python
```
pyBridgeLD 0.1.3
pyBridgeLD --- Python Bridge Load Distribution 

# pyBridgeLD - Python Bridge Load Distribution

`pyBridgeLD` is a python library that calculate the load distribution on a generic bridge cross section.

<p align="center">
  <img src="docs/Images/IMG.png" height="300">
</p>

## Installing
You can install using pip:

```
pip install pyBridgeLD
```

and import with:

```python
import pyBridgeLD as pybld
```


## Features

- ☑ Definition of transversal geometry configuration
- ☑ Definition of longitudinal geometry configuration
- ☑ Definition of generic vehicle, with concentrated and/or distributed load
- ☑ Definition of traffic load configuration, with single or multiple vehicles

- ☑ Courbon theory of load distribution
- ☐ Engesser theory of load distribution
- ☐ Guyon-Massonnett-Bares theory of load distribution


## Examples
You can find some examples of usage in examples folder:

- [**Example n.1**](https://github.com/RoccoRaimo/pyBridgeLD/blob/main/docs/Notebooks/Example_1.ipynb): Basic import and usage of library with a simple application of Courbon theory for bridge load distribution;

## License

Distributed under the terms of the [MIT license](https://github.com/RoccoRaimo/pyBridgeLD/blob/main/LICENSE), `pyBridgeLD` is free and open source software.