chos


Namechos JSON
Version 1.1 PyPI version JSON
download
home_pagehttps://t.me/execal
SummarySearch your favorite songs/artists/playlists/genres, Get details and recommendations.
upload_time2024-04-10 12:36:29
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>Chos</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 chos
```

<h2>Examples:</h2>

<h3>chos:</h3>

```python
from chos import Chos

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

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

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

<h3>chos.sync:</h3>

```python
import asyncio
from chos.sync import Chos

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://t.me/execal",
    "name": "chos",
    "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/20/5d/58bf8b213786634b34da803aacc6030a5b4c42d7222761663afb1360b4a0/chos-1.1.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\r\n<h1>Chos</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 chos\r\n```\r\n\r\n<h2>Examples:</h2>\r\n\r\n<h3>chos:</h3>\r\n\r\n```python\r\nfrom chos import Chos\r\n\r\n# Search based on [track, artist, playlist] id\r\nChos.Search('Powerwolf', basedon='artist', limit=10)\r\n\r\n# Get Details based on [track, artist, playlist] id \r\nChos.GetDetails('0bUgTRe5st6TMbRCEjKezX', basedon='track')\r\n\r\n# Get recommendation based on [track, artist, playlist] id or [genre] name\r\nChos.GetRecommendation('0bUgTRe5st6TMbRCEjKezX', basedon='track', limit=10)\r\n```\r\n\r\n<h3>chos.sync:</h3>\r\n\r\n```python\r\nimport asyncio\r\nfrom chos.sync import Chos\r\n\r\nasync def my_test():\r\n    # Search based on [track, artist, playlist] id\r\n    await Chos.Search('Powerwolf', basedon='artist', limit=10)\r\n    \r\n    # Get Details based on [track, artist, playlist] id \r\n    await Chos.GetDetails('0bUgTRe5st6TMbRCEjKezX', basedon='track')\r\n    \r\n    # Get recommendation based on [track, artist, playlist] id or [genre] name\r\n    await Chos.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.1",
    "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": "ea10bc90468a12741cbd2e011d44f823eeaa8e0e5d39aa1a85597c72aa092eca",
                "md5": "63a7aed810288554d3d945307d270220",
                "sha256": "4ed75411689f03d08948286dcea6084c923ca4be4d1d5045f96b981efa0bc925"
            },
            "downloads": -1,
            "filename": "chos-1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "63a7aed810288554d3d945307d270220",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 5088,
            "upload_time": "2024-04-10T12:36:24",
            "upload_time_iso_8601": "2024-04-10T12:36:24.110681Z",
            "url": "https://files.pythonhosted.org/packages/ea/10/bc90468a12741cbd2e011d44f823eeaa8e0e5d39aa1a85597c72aa092eca/chos-1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "205d58bf8b213786634b34da803aacc6030a5b4c42d7222761663afb1360b4a0",
                "md5": "a281c1240be38a16f8eec612cb286a2b",
                "sha256": "0e9ee6f2bff9162bb18194ca52191acb980d69638652523289303c0f1f7cecfe"
            },
            "downloads": -1,
            "filename": "chos-1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a281c1240be38a16f8eec612cb286a2b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 4022,
            "upload_time": "2024-04-10T12:36:29",
            "upload_time_iso_8601": "2024-04-10T12:36:29.877554Z",
            "url": "https://files.pythonhosted.org/packages/20/5d/58bf8b213786634b34da803aacc6030a5b4c42d7222761663afb1360b4a0/chos-1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-10 12:36:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "chos"
}
        
odi
Elapsed time: 0.86518s