semvec/pypi-packages huggingface dataset:
drf-tus 2.0.3
A Tus (tus.io) library for Django Rest Framework
License: MIT
Keywords: drf-tus, tus, django, rest, framework, django-rest-framework

=============================
drf-tus
=============================

.. image:: https://badge.fury.io/py/drf-tus.svg
    :target: https://badge.fury.io/py/drf-tus

.. image:: https://github.com/dirkmoors/drf-tus/actions/workflows/ci.yml/badge.svg
    :target: https://github.com/dirkmoors/drf-tus/actions

A Tus (tus.io) library for Django Rest Framework

Documentation
-------------

The full documentation is at https://drf-tus.readthedocs.io.

Quickstart
----------

Install drf-tus::

    pip install drf-tus

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        "rest_framework_tus",
        ...
    )

Add the middleware to `MIDDLEWARE`:

.. code-block:: python

    MIDDLEWARE = (
        ...
        "rest_framework_tus.middleware.TusMiddleware",
        ...
    )

Add URL patterns for drf-tus:

.. code-block:: python

    urlpatterns = [
        ...
        path(r"^", include("rest_framework_tus.urls", namespace="rest_framework_tus")),
        ...
    ]

Features
--------

This library implements the following TUS API v1.0.0 protocols:

* Core Protocol (http://tus.io/protocols/resumable-upload.html#core-protocol)
* Creation Protocol (http://tus.io/protocols/resumable-upload.html#creation)
* Expiration Protocol (http://tus.io/protocols/resumable-upload.html#expiration)
* Checksum Protocol (http://tus.io/protocols/resumable-upload.html#checksum)
* Termination Protocol (http://tus.io/protocols/resumable-upload.html#termination)

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
blackfire-conprof 1.2.6
Blackfire Continuous Profiler
License: MIT

# Blackfire Continuous Profiler for Python

Blackfire Continuous Profiler continuously collects and uploads profiling data to the Blackfire servers. Once enabled, the profiler collects the relevant profiling information in configurable intervals and periodically uploads it to the Blackfire Agent. Blackfire Agent then forwards this information to the backend.

# How to use
## Prerequisites

* Python >= 3.7.0
* Blackfire Agent >= 2.13.0

## Installation

```shell
pip install blackfire_conprof
```

## Example

An example using the whole API interface:

1. Install dependencies

```shell
pip install blackfire_conprof
```

2. Create `example.py` with the following code

```python
from blackfire_conprof.profiler import Profiler

def foo():
    import time
    time.sleep(1.0)

profiler = Profiler(application_name="my-python-app", agent_socket="tcp://127.0.0.1:8307", labels={'my-extra-label': 'data'})
profiler.start()
foo()
profiler.stop()
```

3. Run Blackfire Agent (version 2.13.0 and up)

```
BLACKFIRE_SOCKET="tcp://127.0.0.1:8307" blackfire agent --log-level=4
```

4. Run the example application. (`python example.py`)
5. Profiler will send data to the Agent, and Agent will forward it to the Blackfire backend. Data then can be visualized at https://blackfire.io

# Enabling the profiler

There are two ways to enable the profiler:
 - via Code,
 - via Command Line.

## Code

```python
from blackfire_conprof.profiler import Profiler

profiler = Profiler()
profiler.start()
```

If you are working with gevent or any other library that uses pseudo-threads, and you also need to call

```
import blackfire_conprof.auto
```

as early as possible in your application. Example: for gevent applications to work correctly, this needs 
to be imported before `gevent.monkey.patch_all()`.

## Command line

Run your Python application as following:

```bash
blackfire-conprof python app.py
```

This will automatically enable the profiler just before your application runs.

# Contributing

Use `make help` to display an overview of useful commands for your dev environment.
pybigbuy 3.25.0
BigBuy API client in Python
License: MIT
Requires Python: <4.0,>=3.9

# PyBigBuy

**PyBigBuy** is a Python client for BigBuy’s REST API.

Note: PyBigBuy is not affiliated to nor endorsed by BigBuy.

## Coverage

Starting with 3.17.0 PyBigBuy implements all API endpoints.
We release new versions of the API client each time there are new or modified endpoints.

## Install

Requirements:
* From PyBigBuy 3.21.0: Python 3.9+
* Up to 3.20.1: Python 3.8+

### Pip

    python -m pip install pybigbuy

### Poetry

    poetry add pybigbuy

## Usage

```python3
from bigbuy import BigBuy


client = BigBuy("your-API-token")
```

## License

Copyright 2020-2025 [Bixoto](https://bixoto.com/).
uploadi 2.0.1
Приложение для загрузки проектов python
License: MIT

# Библиотека для загрузки проектов на PyPI и TestPyPI

Библиотека помогает быстро и просто выгрузить проекты. Управление доступно из командной строки.

## Скачать

```bash
pip install uploadi
```

## Использование

Команды надо запускать в корне проекта, где есть файл setup.py

```bash
uploadi [-h] [-t] [-p]
```

1. **-h**: Выведет справочную информацию

2. **-t**: Проект будет выгружен на TestPyPI
3. **-p**: Проект будет выгружен на PyPI

## Пример

Эта команда выгрузит проект TestPyPI

```bash
uploadi -t
```

Эта команда выгрузит проект на PyPI

```bash
uploadi -p
```

После запуска комманды надо будет ввести токен авторизации. Получить токен можно [в настройках аккаунта](https://pypi.org/manage/account/#api-tokens), дополнительная информация [в документации](https://pypi.org/help/#apitoken)