semvec/pypi-packages huggingface dataset:
nexp 0.0.1
Research library to try out deep learning ideas easily.
Requires Python: >=3.10


# Neural Networks Experiments

This repository aims at providing simple functions to easily try out new ideas related to deep learning.

## Installation
`Nexp` is based on pytorch with GPU support. Pytorch should be installed first.
See [`requirements.txt`](requirements.txt) for a full list of dependent packages.

TODO: Installation through pip, should be put in pypi at the end.

## Quickstart
TODO
logram 0.0.4
Send logging messages to different channels (only Telegram for now)
Requires Python: >=3.7

# logram
Python logger with different handlers

```
pip install logram
```

### Add LOGGING configurations

Only different part is telegram handler

```python
import logging
from logging.config import dictConfig
from logram.handlers import Telegram


Telegram.token = "20**:AA*****"
Telegram.chat_id = "-6***"

LOGGING = {
    "version": 1,
    "disable_existing_loggers": False,
    "formatters": {
        "verbose": {
            "format": "[%(levelname)s] [%(asctime)s] [%(module)s] [line:%(lineno)d] %(message)s"
        },
        "simple": {"format": "%(levelname)s %(message)s"},
    },
    "handlers": {
        "file": {
            "level": "INFO",
            "class": "logging.FileHandler",
            "filename": "logs/log",
            "formatter": "verbose",
            "encoding": "UTF-8",
        },
        "console": {
            "level": "INFO",
            "class": "logging.StreamHandler",
            "formatter": "verbose",
        },
        "telegram": {
            "level": "WARNING",
            "class": "logram.handlers.Telegram",
            "formatter": "verbose",
        },
    },
    "loggers": {
        "django": {"handlers": ["console"], "level": "INFO", "propagate": True},
        "offices": {"handlers": ["console", "file"], "level": "INFO", "propagate": False},
        "smsreport": {"handlers": ["console", "telegram",  "file"], "level": "INFO", "propagate": True},
        "qinspect": {"handlers": ["console"], "level": "INFO", "propagate": True,},
    },
}

dictConfig(LOGGING)

```

Then this will send messages right into the Telegram Group 
```
logging.warning("Send directly to the Telegram group")
```