semvec/pypi-packages huggingface dataset:
simplematrixbotlib 2.12.3
An easy to use bot library for the Matrix ecosystem written in Python.
License: MIT
Requires Python: <4.0,>=3.9
Keywords: simple, matrix, bot, lib, simple-matrix-bot-lib

# Simple-Matrix-Bot-Lib
(Version 2.12.3)

Simple-Matrix-Bot-Lib is a Python bot library for the Matrix ecosystem built on [matrix-nio](https://github.com/poljar/matrix-nio).

[View on Codeberg](https://codeberg.org/imbev/simplematrixbotlib) or [View on PyPi](https://pypi.org/project/simplematrixbotlib/) or
[View docs on readthedocs.io](https://simple-matrix-bot-lib.readthedocs.io/en/latest/)

Learn how you can contribute [here](CONTRIBUTING.md).

## Features

- [x] hands-off approach: get started with just 10 lines of code (see [example](#Example-Usage))
- [x] [end-to-end encryption support](https://simple-matrix-bot-lib.readthedocs.io/en/latest/manual.html#e2e-encryption)
- [x] limited [verification support](https://simple-matrix-bot-lib.readthedocs.io/en/latest/manual.html#verification) (device only)
- [x] easily [extensible config file](https://simple-matrix-bot-lib.readthedocs.io/en/latest/manual.html#extending-the-config-class-with-custom-settings)
- [x] [user access management](https://simple-matrix-bot-lib.readthedocs.io/en/latest/manual.html#allowlist)
- [x] access the matrix-nio library to use advanced features

## Installation

### simplematrixbotlib can be either installed from PyPi or downloaded from Codeberg.

Installation from PyPi:

```
python -m pip install simplematrixbotlib
```

[Read the docs](https://simple-matrix-bot-lib.readthedocs.io/en/latest/manual.html#e2e-encryption) to learn how to install E2E encryption support.

Download from Codeberg:

```
git clone --branch master https://codeberg.org/imbev/simplematrixbotlib.git
```



## Example Usage

```python
# echo.py
# Example:
# randomuser - "!echo example string"
# echo_bot - "example string"

import simplematrixbotlib as botlib

creds = botlib.Creds("https://home.server", "echo_bot", "pass")
bot = botlib.Bot(creds)
PREFIX = '!'

@bot.listener.on_message_event
async def echo(room, message):
    match = botlib.MessageMatch(room, message, bot, PREFIX)

    if match.is_not_from_this_bot() and match.prefix() and match.command("echo"):

        await bot.api.send_text_message(
            room.room_id, " ".join(arg for arg in match.args())
            )

bot.run()
```

More information and examples can be found [here](https://simple-matrix-bot-lib.readthedocs.io/en/latest/).
vikaskapur 1.0.3
A simple package to display profile in terminal
License: MIT
Requires Python: >=3.6
Keywords: Vikas Kapur, vikaskapur, profile, terminal

🚀 Ready to get started? Here's how to install me! 👋

```bash
pip install vikaskapur
profile
```

```python
from vikaskapur import profile
profile()
```

![alt text](https://github.com/vikaskapur/vikaskapur/blob/main/vikaskapur/console_output.png?raw=true)



📫 Want to get in touch? Drop me a message at vikaskapur04@gmail.com! 🚀




<!---
vikaskapur/vikaskapur is a ✨ special ✨ repository because its `README.md` (this file) appears on your GitHub profile.
You can click the Preview link to take a look at your changes.
--->
calculator_turing_IS 1.1.1
A simple calculator package for basic arithmetic operations
License: MIT
Requires Python: >=3.8

# Calculator project | Module 1 Sprint 2

A simple Python package for performing basic arithmetic operations:

    -Addition
    -Subtraction
    - Multiplication
    - Division
    -Finding the nth root

## Installation

You can install this package directly from PyPI using pip:

    pip install calculator_turing_IS

### Usage

Calculator class has methods like below:

- add(number)		Adds the given number to the stored result.
- sub(number)		Subtracts the given number from the stored result.
- mul(number)       Multiplies the stored result by the given number.
- div(number)       Divides the stored result by the given number. (Cannot divide by zero)
- root(number)	    Computes the nth root of the result. (Cannot be zero or an even root of a negative number)

- reset()			Resets the result to 0.

-if you print object then you will see output of the last result

Example of using after installation:

    from calculator.calculator import Calculator

    calc = Calculator()

    print(calc.add(10))  # Output: 10
    print(calc.sub(2))   # Output: 8
    print(calc.mul(3))   # Output: 24
    print(calc.div(3))   # Output: 8
    print(calc.root(3))  # Output: "2"
    print(calc) # Output: "2"
    calc.reset()
    print(calc) # Output: "0"