semvec/pypi-packages huggingface dataset:
endersutils 0.5.4
Some utility commands that aren't really too useful but I use them a lot.
Requires Python: <3.12.0,>=3.0.0

# Ender's Utils

## Working Versions:
### Currently supported/working versions as of the release of this one
- #### Current version is always a maybe
- #### There will be bugs, but versions not mentioned are completely broken
---
- 0.2.2
- 0.3.0
- 0.3.1
- 0.3.2
---

# Docs:
Docs are currently in development now! Please be patient. Although the methods are fairly self explanatory.
text-tagging-model 0.1.4
Here we collected some online and offline models for text tagging.
Requires Python: <4.0,>=3.9

<h1 align="center" id="title">Text Tagging Model</h1>

<p id="description">Here we collected some online and offline models for text tagging.</p>

<h2>🚀 Demo</h2>

[https://colab.research.google.com/drive/1xlevLnqxd\_wCtXunGgf\_pSrdkz85jt49?usp=sharing](https://colab.research.google.com/drive/1xlevLnqxd_wCtXunGgf_pSrdkz85jt49?usp=sharing)



<h2>🧐 Features</h2>

Here're some of the project's best features:

*   Online model: Rake Based Model with 10-20 it/sec
*   Offline models: Bart based model with summarisation or attention. 1-5 it/sec

<h2>🛠️ Installation Steps:</h2>

<p>1. Installation</p>

```
pip install text-tagging-model
```

<p>2. import</p>

```
from text_tagging_model.models.rake_based_model import TagsExtractor
```

<p>3. Init tagger</p>

```
tagger = TagsExtractor()
```

<p>4. Get tags</p>

```
tagger.extract(some_text)
```
sandesh.py 0.0.2
Basic implementaion of SMTP client using TCP communication with the SMTP server using the `socket` module.
Requires Python: >=3.8

# Sandesh - Send Mail 🕊️

Basic implementaion of SMTP client using TCP communication with the SMTP server using the `socket` module.

## Installation

```shell
pip install sandesh.py
```

## Usage

```python
from sandesh_py import smtp

auth: smtp.SMTPAuth = {
    "username": YOUR_SMTP_USERNAME,
    "password": YOUR_SMTP_PASSWORD,
}
options: smtp.SMTPOptions = {"notls": False}
client = smtp.SMTPClient(SMTP_SERVER_HOST, SMTP_PORT, auth, options)

client.connect()
mail = smtp.Mail(
    {
        "mailTo": "receiver@email.com",
        "mailFrom": "sender@email.com",
        "subject": "Mail subject",
        "body": "This is demonstartaion of use of sandesh_py package",
        "attachment": [
            "/path/to/attachment/1",
            "/path/to/attachment/2",
        ],
    }
)
print(client.sendMail(mail))
client.close()

```

## ToDo List

- [x] Add support for MIME to handle attachments and alternative content types
- [ ] Support Oath and API authentication
- [ ] Connection Pooling and Asynchronous Delivery
pyBrainai 1.4.1.2
Python version of brainai SDK
Requires Python: >=3.8

# python-sdk    
安装和使用SDK：
1. pip install pyBrainai 或 pip install --upgrade pyBrainai
         或 pip install pyBrainai==1.4.0.2
2. import brainai 在python程序中，调用安装好的brainai包即可
git-root-to-syspath 0.1
Inserts the nearest git repository root into sys.path.

# Git root to sys.path

A small package that will allow running python scripts (which refer to each other) from any level of the git directory hierarchy.

This can be useful for debugging.

Comment: The root of a submodule is the git root also.

## Why
Suppose our project contains many modules and packages in a hierarchical structure like this.

```   
── src
    ├── pk1
    │   └── mod1  
    ├── pk2
    │   ├── mod2
    │   └── mod3
    └── submodule_pk
        ├── mod4
        └── mod5
```

In each module, we want to **refer to other parts of the program via the full path** in the git repository.

So something like this in the main repository (refers to main repository):
```python:
from src.pk1.mod1 import xyz
```

or in the main repository (refers to submodule):
```python:
from src.submodule_pk.mod4 import qwe
```

And also in submodule we want to refer to other parts of the submodule like this:
```python:
from mod4 import qwe
```
Because the submodule is in another context (from its point of view) the main repository also.

---

We also want to have **test code close to what is being tested**. 

For example in mod3.py file (mod3 module):
```python:
from src.submodule_pk.mod4 import qwe
from src.pk1.mod1 import xyz

class M:
    def __init()__:
        ...
   
   def a() -> str:
        ...    
...

if __name__ == "__main__":
   
    # for simple test ....
   
    print(M().a())
```
 ---
And he also wants modules to be able to **run** as standalone scripts **from anywhere**.

```bash
cd src/pk2
python3 mod3.py
```

Or so that we can simply run them from a development environment (such as PyCharm, VC, etc.) by pressing the "Run" button.


## Instalation

Pick one

```shell
pip install git+https://gitlab.com/ivo-marvan/git_root_to_syspath
pip install git_root_to_syspath
```

## Usage
Put this line in the header of each file:

```python:
from git_root_to_syspath import agr; agr()
```

Or optionally:

```python:
from git_root_to_syspath import agr; PROJECT_ROOT = agr()
```