semvec/pypi-packages huggingface dataset:
asyncoss 0.0.4
A async aliyun OSS library.
License: MIT

Async Alibaba Cloud OSS SDK
===========================

Based on aiohttp and oss2, Require python3.6+

Installing
----------

.. code-block:: shell

    pip install asyncoss


Getting started
----------------

.. code-block:: python

    import asyncoss
    import asyncio

    endpoint = 'http://oss-cn-beijing.aliyuncs.com'

    auth = asyncoss.Auth('<Your AccessKeyID>', '<Your AccessKeySecret>')

    async def main():
        # The object key in the bucket is story.txt
        async with asyncoss.Bucket(auth, endpoint, '<your bucket name>') as bucket:
            key = 'story.txt'

            # Upload
            await bucket.put_object(key, 'Ali Baba is a happy youth.')

            # Download
            result = await bucket.get_object(key)
            await result.resp.read()

            # Delete
            await bucket.delete_object(key)

    loop = asyncio.get_event_loop()
    loop.run_until_complete(main())
django-rest-framework-redocs 0.0.8
Live API endpoints for django rest framework 1.x & 2.x
License: MIT

# Django REST Framework ReDocs

Automatically enable live API page for DRF, support both Django **1.x** and **2.x**!!

Inspired by [django-rest-framework-docs](https://github.com/manosim/django-rest-framework-docs) and [drf-autodocs](https://github.com/iMakedonsky/drf-autodocs), thanks for their great work!

## Features

* Support Django 1.8+ ~ 2.x, yah! 
* Automatic API endpoints detection
* Automatic API page generation
* Support applicatioin/json or multipart/form-data encoding
* Support FileField, so you can test file upload
* Support token auth
* API filtering 

## Installation

```
pip install django_rest_framework_redocs
```

## Dependencies

For backend, this project only depends on `django` and `django-rest-framework`.

For frontend:

* It's a `React` SPA, and also uses several UMD builds served by `unpkg`
* It uses `babel-standalone` to transform the embedded JS code on-the-fly, so if you want to modify something you can just edit the code in `redocs/templates/index.html` without any prior setup and it should just work!

## Screenshot

<div style="display: flex; align-items: center; justify-content: center; margin: 20px; position: relative;">
    <img src="screenshots/drf-redocs-1.png" width="100%" >
</div>

<div style="display: flex; align-items: center; justify-content: center; margin: 20px; position: relative;">
    <img src="screenshots/drf-redocs-2.png" width="100%" >
</div>

## Feature request

Just open an issue to let us know your idea!

## Contributions

Contributions are welcome! We need your help to make this project better!

## Special Thanks

The automatic endpoint detection algorithm is adapted from [django-rest-framework-docs](https://github.com/manosim/django-rest-framework-docs) and [drf-autodocs](https://github.com/iMakedonsky/drf-autodocs)