chc


Namechc JSON
Version 1.4 PyPI version JSON
download
home_pagehttps://t.me/execal
SummarySearch your favorite songs/artists/playlists/genres, Get details and recommendations.
upload_time2024-04-10 13:36:22
maintainerNone
docs_urlNone
authorodi
requires_python>=3.5
licenseMIT
keywords spotify recommendation ml music
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
<h1>CHC</h1>
<p>Search your favorite songs/artists/playlists/genres</p>
<p>Get details and recommendations</p>
</div>


<h2>Installation:</h2>

```bash
python3 -m pip install chc
```

<h2>Examples:</h2>

<h3>Chc:</h3>

```python
from chc import Chc

# Search based on [track, artist, playlist] id
Chc.Search('Powerwolf', basedon='artist', limit=10)

# Get Details based on [track, artist, playlist] id 
Chc.GetDetails('0bUgTRe5st6TMbRCEjKezX', basedon='track')

# Get recommendation based on [track, artist, playlist] id or [genre] name
Chc.GetRecommendation('0bUgTRe5st6TMbRCEjKezX', basedon='track', limit=10)
```

<h3>Chc.sync:</h3>

```python
import asyncio
from chc.sync import Chc

async def my_test():
    # Search based on [track, artist, playlist] id
    await Chc.Search('Powerwolf', basedon='artist', limit=10)
    
    # Get Details based on [track, artist, playlist] id 
    await Chc.GetDetails('0bUgTRe5st6TMbRCEjKezX', basedon='track')
    
    # Get recommendation based on [track, artist, playlist] id or [genre] name
    await Chc.GetRecommendation('0bUgTRe5st6TMbRCEjKezX', basedon='track', limit=10)
    
asyncio.run(my_test())
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://t.me/execal",
    "name": "chc",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": null,
    "keywords": "spotify, recommendation, ml, music",
    "author": "odi",
    "author_email": "ivuxey@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b3/31/08ff076a9b1303dccaf01d0179c6fa693124adf983ed90fb1434cad26a9f/chc-1.4.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\r\n<h1>CHC</h1>\r\n<p>Search your favorite songs/artists/playlists/genres</p>\r\n<p>Get details and recommendations</p>\r\n</div>\r\n\r\n\r\n<h2>Installation:</h2>\r\n\r\n```bash\r\npython3 -m pip install chc\r\n```\r\n\r\n<h2>Examples:</h2>\r\n\r\n<h3>Chc:</h3>\r\n\r\n```python\r\nfrom chc import Chc\r\n\r\n# Search based on [track, artist, playlist] id\r\nChc.Search('Powerwolf', basedon='artist', limit=10)\r\n\r\n# Get Details based on [track, artist, playlist] id \r\nChc.GetDetails('0bUgTRe5st6TMbRCEjKezX', basedon='track')\r\n\r\n# Get recommendation based on [track, artist, playlist] id or [genre] name\r\nChc.GetRecommendation('0bUgTRe5st6TMbRCEjKezX', basedon='track', limit=10)\r\n```\r\n\r\n<h3>Chc.sync:</h3>\r\n\r\n```python\r\nimport asyncio\r\nfrom chc.sync import Chc\r\n\r\nasync def my_test():\r\n    # Search based on [track, artist, playlist] id\r\n    await Chc.Search('Powerwolf', basedon='artist', limit=10)\r\n    \r\n    # Get Details based on [track, artist, playlist] id \r\n    await Chc.GetDetails('0bUgTRe5st6TMbRCEjKezX', basedon='track')\r\n    \r\n    # Get recommendation based on [track, artist, playlist] id or [genre] name\r\n    await Chc.GetRecommendation('0bUgTRe5st6TMbRCEjKezX', basedon='track', limit=10)\r\n    \r\nasyncio.run(my_test())\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Search your favorite songs/artists/playlists/genres, Get details and recommendations.",
    "version": "1.4",
    "project_urls": {
        "Bug Tracker": "https://t.me/feelded",
        "Homepage": "https://t.me/execal",
        "Source": "https://github.com/vauth"
    },
    "split_keywords": [
        "spotify",
        " recommendation",
        " ml",
        " music"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a28179d41fbb9b0f7246c68c3ac5374f3048d907d99f0c6452707264432564c",
                "md5": "c04e9d19bfc547cc8a4da4bafd83cef9",
                "sha256": "7293410e2a986410f959304b6399b849ee077224276e6da9c20a6c666cee10e6"
            },
            "downloads": -1,
            "filename": "chc-1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c04e9d19bfc547cc8a4da4bafd83cef9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 5064,
            "upload_time": "2024-04-10T13:36:20",
            "upload_time_iso_8601": "2024-04-10T13:36:20.157235Z",
            "url": "https://files.pythonhosted.org/packages/3a/28/179d41fbb9b0f7246c68c3ac5374f3048d907d99f0c6452707264432564c/chc-1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b33108ff076a9b1303dccaf01d0179c6fa693124adf983ed90fb1434cad26a9f",
                "md5": "f1cef99165f8643680fc9382e913573a",
                "sha256": "c941051f1532d03b7a39646f240f6af45cb288134b0cd9f958f4963427ff08e8"
            },
            "downloads": -1,
            "filename": "chc-1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "f1cef99165f8643680fc9382e913573a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 4059,
            "upload_time": "2024-04-10T13:36:22",
            "upload_time_iso_8601": "2024-04-10T13:36:22.713140Z",
            "url": "https://files.pythonhosted.org/packages/b3/31/08ff076a9b1303dccaf01d0179c6fa693124adf983ed90fb1434cad26a9f/chc-1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-10 13:36:22",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "chc"
}
        
odi
Elapsed time: 3.18469s