All Projects → amikrop → Aiomixcloud

amikrop / Aiomixcloud

Licence: mit
Mixcloud API wrapper for Python and Async IO

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Aiomixcloud

aiohttp traversal
Traversal based router for aiohttp.web
Stars: ✭ 21 (-8.7%)
Mutual labels:  aiohttp, asyncio
Aioresponses
Aioresponses is a helper for mock/fake web requests in python aiohttp package.
Stars: ✭ 278 (+1108.7%)
Mutual labels:  asyncio, aiohttp
binance-chain-python
Binance chain SDK in Python
Stars: ✭ 22 (-4.35%)
Mutual labels:  aiohttp, asyncio
aiodogstatsd
An asyncio-based client for sending metrics to StatsD with support of DogStatsD extension
Stars: ✭ 26 (+13.04%)
Mutual labels:  aiohttp, asyncio
Sanic Ms
基于sanic的微服务基础架构
Stars: ✭ 336 (+1360.87%)
Mutual labels:  asyncio, aiohttp
rigor
HTTP-based DSL for for validating RESTful APIs
Stars: ✭ 65 (+182.61%)
Mutual labels:  aiohttp, asyncio
Python3 Concurrency Pics 02
爬取 www.mzitu.com 全站图片,截至目前共5162个图集,16.5万多张美女图片,使用 asyncio 和 aiohttp 实现的异步版本只需要不到2小时就能爬取完成。按日期创建图集目录,保存更合理。控制台只显示下载的进度条,详细信息保存在日志文件中。支持异常处理,不会终止爬虫程序。失败的请求,下次再执行爬虫程序时会自动下载
Stars: ✭ 275 (+1095.65%)
Mutual labels:  asyncio, aiohttp
website
PySlackers website for invites and learning resources
Stars: ✭ 61 (+165.22%)
Mutual labels:  aiohttp, asyncio
Diy Async Web Framework
Learn how modern async web frameworks work, by writing simple clone from scratch
Stars: ✭ 309 (+1243.48%)
Mutual labels:  asyncio, aiohttp
Python Slack Sdk
Slack Developer Kit for Python
Stars: ✭ 3,307 (+14278.26%)
Mutual labels:  asyncio, aiohttp
waio
Is a pretty simple and fully asynchronous framework for WhatsApp Business API written in Python 3.7 with asyncio and aiohttp.
Stars: ✭ 18 (-21.74%)
Mutual labels:  aiohttp, asyncio
Aiohttp Demos
Demos for aiohttp project
Stars: ✭ 517 (+2147.83%)
Mutual labels:  asyncio, aiohttp
aiohttp-jwt
aiohttp middleware and helper utils for working with JSON web token.
Stars: ✭ 70 (+204.35%)
Mutual labels:  aiohttp, asyncio
aiohttp-socks
Proxy (HTTP, SOCKS) connector for aiohttp
Stars: ✭ 147 (+539.13%)
Mutual labels:  aiohttp, asyncio
dvhb-hybrid
A package to mix django and asyncio in one application
Stars: ✭ 45 (+95.65%)
Mutual labels:  aiohttp, asyncio
Web Main
🎉 Ultimate Emoji Generator
Stars: ✭ 261 (+1034.78%)
Mutual labels:  asyncio, aiohttp
feedsearch-crawler
Crawl sites for RSS, Atom, and JSON feeds.
Stars: ✭ 23 (+0%)
Mutual labels:  aiohttp, asyncio
glQiwiApi
The ultrarapid and multifunctional wrapper over QIWI and YooMoney
Stars: ✭ 44 (+91.3%)
Mutual labels:  aiohttp, asyncio
Aiodocker
Python Docker API client based on asyncio and aiohttp
Stars: ✭ 288 (+1152.17%)
Mutual labels:  asyncio, aiohttp
Aiojobs
Jobs scheduler for managing background task (asyncio)
Stars: ✭ 492 (+2039.13%)
Mutual labels:  asyncio, aiohttp

aiomixcloud


Mixcloud API wrapper for Python and Async IO
--------------------------------------------

.. image:: https://img.shields.io/pypi/v/aiomixcloud.svg
    :target: https://pypi.org/project/aiomixcloud/
    :alt: PyPI

.. image:: https://img.shields.io/pypi/l/aiomixcloud.svg
    :target: https://pypi.org/project/aiomixcloud/
    :alt: PyPI - License

.. image:: https://img.shields.io/pypi/pyversions/aiomixcloud.svg
    :target: https://pypi.org/project/aiomixcloud/
    :alt: PyPI - Python Version

.. image:: https://codecov.io/gh/amikrop/aiomixcloud/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/amikrop/aiomixcloud
    :alt: Coverage

.. image:: https://travis-ci.org/amikrop/aiomixcloud.svg?branch=master
    :target: https://travis-ci.org/amikrop/aiomixcloud/
    :alt: Build Status

.. image:: https://readthedocs.org/projects/aiomixcloud/badge/?version=latest
    :target: https://aiomixcloud.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

*aiomixcloud* is a wrapper library for the `HTTP API
<https://www.mixcloud.com/developers/>`_ of `Mixcloud
<https://www.mixcloud.com/>`_.  It supports asynchronous operation via
`asyncio <https://docs.python.org/3/library/asyncio.html>`_ and specifically
the `aiohttp <https://aiohttp.readthedocs.io/en/stable/>`_ framework.
*aiomixcloud* tries to be abstract and independent of the API's transient
structure, meaning it is not tied to specific JSON fields and resource types.
That is, when the API changes or expands, the library should be ready to
handle it.

Installation
------------

The following Python versions are supported:

- CPython: 3.6, 3.7, 3.8, 3.9
- PyPy: 3.5

Install via `pip
<https://packaging.python.org/tutorials/installing-packages/>`_:

.. code-block:: bash

    pip install aiomixcloud

Usage
-----

You can start using *aiomixcloud* as simply as:

.. code-block:: python

    from aiomixcloud import Mixcloud

    # Inside your coroutine:
    async with Mixcloud() as mixcloud:
        cloudcast = await mixcloud.get('bob/cool-mix')

        # Data is available both as attributes and items
        cloudcast.user.name
        cloudcast['pictures']['large']

        # Iterate over associated resources
        for comment in await cloudcast.comments():
            comment.url

A variety of possibilities is enabled during `authorized usage
<https://aiomixcloud.readthedocs.io/en/latest/usage.html#authorization>`_:

.. code-block:: python

    # Inside your coroutine:
    async with Mixcloud(access_token=access_token) as mixcloud:
        # Follow a user
        user = await mixcloud.get('alice')
        await user.follow()

        # Upload a cloudcast
        await mixcloud.upload('myshow.mp3', 'My Show', picture='myshow.jpg')

For more details see the `usage page
<https://aiomixcloud.readthedocs.io/en/latest/usage.html>`_
of the `documentation <https://aiomixcloud.readthedocs.io/en/latest/>`_.

License
-------

Distributed under the `MIT License
<https://github.com/amikrop/aiomixcloud/blob/master/LICENSE>`_.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].