semvec/pypi-packages huggingface dataset:
mailru-im-bot-dorokhin 0.0.23
Pure Python interface for Bot API. Bot cookbook for Humans.
Requires Python: >=3.10

<img src="https://github.com/mail-ru-im/bot-python/blob/master/logo.png" width="100" height="100">

# 🐍 bot-python

Pure Python interface for Bot API.

# Table of contents
- [Introduction](#introduction)
- [Getting started](#getting-started)
- [Installing](#installing)
- [API description](#api-description)

# Introduction

This library provides complete Bot API 1.0 interface and compatible with Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10.

# Getting started

* Create your own bot by sending the /newbot command to <a href="https://icq.com/people/70001">Metabot</a> and follow the instructions.
    >Note: a bot can only reply after the user has added it to his contact list, or if the user was the first to start a dialogue.
* You can configure the domain that hosts your ICQ server. When instantiating the Bot class, add the address of your domain.
    > Example: Bot(token=TOKEN, name=NAME, version=VERSION, api_url_base="https://api.icq.net/bot/v1"), by default we use the domain: https://api.icq.net/bot/v1
* If you are Myteam client, you can add flag "is_myteam=True", when instantiating the Bot class. This will let you use additional chat methods.
    > Example: Bot(token=TOKEN, name=NAME, is_myteam=True), by default it is False.


> An example of how to use the framework can be seen in example/test_bot.py 

# Installing
Install using pip:
```bash
pip install --upgrade mailru-im-bot
```

Install from sources:
```bash
git clone https://github.com/mail-ru-im/bot-python.git
cd bot-python
python setup.py install
```

# API description
<ul>
    <li><a href="https://icq.com/botapi/">icq.com/botapi/</a></li>
    <li><a href="https://agent.mail.ru/botapi/">agent.mail.ru/botapi/</a></li>
</ul>
concert-launcher 0.1.1
A minimalistic tool to automate remote process launching with dependencies
Requires Python: >=3.6

# concert_launcher
A minimal process launching automation tool based on YAML and TMUX

## Quickstart
Tailored to @alaurenzi 's laptop machine setup !

```bash
pip install -e .
cd config/example_alaurenzi  # a folder containing launcher.yaml
concert_launcher run cartesio  # run cartesio and its dependencies
concert_launcher mon  # spawn tmux monitoring session on local machine
concert_launcher status  # print process tree
concert_launcher kill [proc_name]  # kill proc_name (or all)
```
django-log-tracker 1.0.4
A small example package
Requires Python: >=3.1

# django_log_tracker: A Django app to conduct api logs
![version](https://img.shields.io/badge/version-1.0.3-blue.svg)
[![Downloads](https://pepy.tech/badge/django-log-tracker)](https://pepy.tech/project/django-log-tracker)
[![Downloads](https://pepy.tech/badge/django-log-tracker/month)](https://pepy.tech/project/django-log-tracker)
[![Downloads](https://pepy.tech/badge/django-log-tracker/week)](https://pepy.tech/project/django-log-tracker)
[![Open Source](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://opensource.org/)

<a href="https://github.com/Ragib01/django_log_tracker"><img src="https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white" alt="GitHub"/></a>

It logs all the API information for content type "application/json".

## Database fields:

- status
- api
- method
- headers
- client_ip_address
- client_ip_geolocation
- response
- status_code
- execution_time
- user_agent
- added_on

## Installation

1. PyPI

```sh
pip install django-log-tracker
```

2. Install requests

```shell
pip install requests
```

3. Add "django_log_tracker" to your INSTALLED_APPS setting like this

```python
INSTALLED_APPS = [
    ...,
    'django_log_tracker',
]
```

4. Add in MIDDLEWARE

```python
MIDDLEWARE = [
    ...,
    'django_log_tracker.middleware.log_tracker_middleware.LogTrackerMiddleware',
]
```

5. Run

```shell
python manage.py migrate
```

####  Add these lines in settings file.


### Store logs into the database

Log every request into the database.

```python
DJANGO_LOG_TRACKER_DATABASE = True  # Default to False
```

- Logs will be available in Django Admin Panel.

![logs](https://github.com/Ragib01/django_log_tracker/blob/main/logs.png?raw=true)

- The search bar will search in Request Body, Response, Headers and API URL.

![search-bar](https://github.com/Ragib01/django_log_tracker/blob/main/search-bar.png?raw=true)

- You can also filter the logs based on the "added_on" date, Status Code and Request Methods.

![filter](https://github.com/Ragib01/django_log_tracker/blob/main/filter.png?raw=true)

### Track client ip address

![ip](https://github.com/Ragib01/django_log_tracker/blob/main/ip.png?raw=true)

```python
DJANGO_LOG_TRACKER_IP = True # Default to False
```

### Track client ip geolocation

```python
DJANGO_LOG_TRACKER_IP_GEOLOCATION = True # Default to False
```

#### Note:
> API response may get slower for ***DJANGO_LOG_TRACKER_IP*** and
***DJANGO_LOG_TRACKER_IP_GEOLOCATION***. So by default they both are false.

### API Data into Charts

![chart](https://github.com/Ragib01/django_log_tracker/blob/main/graph.png?raw=true)

#### Check version
```shell
>>> import django_log_tracker
>>> django_log_tracker.__version__
```
askanna 0.24.0
The AskAnna CLI & Python SDK is part of the AskAnna platform to kickstart your data science projects
Requires Python: >=3.8
Keywords: ai,askanna,data,datascience,ml,versioncontrol

# AskAnna CLI & Python SDK

The AskAnna CLI offers a command line interface to the AskAnna platform. With the Python SDK you can run AskAnna
functions directly from your Python script. The CLI & Python SDK simplifies the communication with the AskAnna
platform and provides facilities for supporting every part of a data science project.

[![PyPI](https://img.shields.io/pypi/v/askanna.svg?color=%2334D058)](https://pypi.org/project/askanna/)
[![Python](https://img.shields.io/pypi/pyversions/askanna.svg?color=%2334D058)](https://pypi.org/project/askanna/)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-brightgreen.svg?label=license)](https://gitlab.com/askanna/askanna-python/-/blob/master/LICENSE)
[![Documentation](https://img.shields.io/badge/docs-available-success.svg)](https://docs.askanna.io/)

## Documentation

For the latest information check the [AskAnna Documentation](https://docs.askanna.io/). Or open directly the
documentation for:

* [Command line (CLI)](https://docs.askanna.io/cli/)
* [Python SDK](https://docs.askanna.io/python-sdk/)

## Quickstart

### Install AskAnna

```bash
pip install askanna
```

### Update AskAnna

```bash
pip install -U askanna
```

### Login to AskAnna

```bash
askanna login
```

This will create a `.askanna.yml` in your home directory.

### Authorization token

When the AskAnna CLI & Python SDK is used in for example a CI/CD, one can configure authentication by setting an
environment variable:

```bash
export AA_REMOTE=https://beta-api.askanna.eu
export AA_TOKEN={{ API TOKEN }}
```

The API token can be found in the created `~/.askanna.yml` file after you logged in with `askanna login`.

### How to push code to AskAnna

Run the innit-command on the main directory of your project. The command will create a new project on AskAnna and will
add a `askanna.yml` file to your local project directory. In the `askanna.yml` file you can configure jobs. For more
information, see the [askanna.yml documentation](https://docs.askanna.io/code/#askannayml).

```bash
askanna init
```

If you want to start a project from scratch (or a template), you can run the create-command.

```bash
askanna create
```

With the push-command your code will be uploaded to the project in AskAnna.

```bash
askanna push
```

### Track metrics

To track metrics for your runs, you can use the function `track_metric`. For more information, see the
[metrics documentation](https://docs.askanna.io/metrics/).

```python
from askanna import track_metric

track_metric("name", "value")
```

### Track variables

To track variables for your runs, you can use the function `track_variable`. For more information, see the
[variables documentation](https://docs.askanna.io/variable/tracking/).

```python
from askanna import track_variable

track_variable("name", "value")
```