semvec/pypi-packages huggingface dataset:
mqml 0.1.1
Package required to easily run measurements and analysis for the Microsoft Quantum Materials Lyngby lab. The source codes do not include Microsoft IP and are open source, so these packages could be generally useable.
License: MIT
Requires Python: >=3.7

# MQML

Packages for measurement and analysis for the Microsoft Quantum Materials Lyngby lab.

# Description

This repository holds all packages, docs and tests for measurement and analysis running at Microsoft Quantum Materials Lyngby lab.
This repository is built on top of QCoDeS and depends on it.

# Installation

Clone the repository from MQML_scripts github. Navigate to the cloned directory on your PC and install it to the environment you already have created for QCoDeS:
```bash
$ pip install .
```

# Usage

It is mainly designed for usage at Microsoft Quantum Materials Lyngby lab. However, anybody who has the access to this repository can use it for his/ her experiments.

## Running the tests

If you have gotten 'mqml' from source, you may run the tests locally.

Install `mqml` along with its test dependencies into your virtual environment by executing the following in the root folder

```bash
$ pip install -r test_requirements.txt
```

Then run `pytest` in the `tests` folder.

## Building the documentation

If you have gotten `mqml` from source, you may build the docs locally.

Install `mqml` along with its documentation dependencies into your virtual environment by executing the following in the root folder

```bash
$ pip install -r docs_requirements.txt
```

Then run `make html` in the `docs` folder. This generate a webpage, index.html, in docs/_build/html with the rendered html. The next time you build the documentation, remember to run `make clean` before you run `make html`.
TelePython 1.2.1
TelePython is a Python package for sending and receiving messages and documents by a Telegram Bot, based on Telegram Bot API.
License: MIT
Requires Python: >=3.8

# TelePython

TelePython is a Python package for sending and receiving messages and documents by a Telegram Bot, based on [Telegram Bot API](https://core.telegram.org/bots/api)

## Installation

TelePython is available on [PyPI](https://pypi.org/project/TelePython/):
```
pip install TelePython
```
TelePython officially supports Python 3.8 or above.

## Basic usage

```python
>>> import telegram
>>> bot = telegram.Bot('YOUR_BOT_TOKEN')
>>> bot.sendMessage('CHAT_ID', 'Your message here!')
<Response [Success]>
```

To learn how to create a Bot and generate an authorization token, read the *BotFather* session from [Telegram Bots documentation](https://core.telegram.org/bots#6-botfather).

## Available methods

- **getUpdates()**\
Use this method to receive incoming updates.

- **sendMessage(`chat_id`, `text`)**\
Use this method to send text messages.

- **sendDocument(`chat_id`, `file_path`)**\
Use this method to send general files. Bots can currently send files of any type of up to 50 MB in size.

## Response object

The Response objects have two parameters:

- **success**\
Indicates whether the request was successful (True or False).

- **response**\
If `success` is True, it returns the result of the request to the Telegram Bot API, otherwise, it returns the request error code.

Example:

```python
>>> import telegram
>>> bot = telegram.Bot('YOUR_BOT_TOKEN')
>>> response = bot.getUpdates()
>>> response.success
True
>>> response.response
[{'update_id': 675682626, 'message': {'message_id': 56, 'from': {'id': 8644990718, 'is_bot': False, 'first_name': 'Vitor', 'last_name': 'Pauloski', 'username': 'vitorpauloski', 'language_code': 'pt-br'}, 'chat': {'id': 8644990718, 'first_name': 'Vitor', 'last_name': 'Pauloski', 'username': 'vitorpauloski', 'type': 'private'}, 'date': 1611617371, 'text': 'Test Message.'}}]
```