Skip to main content
  • What is zhlyr?

  • A python library aimed at music enthusiasts, providing tools for managing and discovering music, fetching song lyrics, and utilizing machine learning algorithms to predict the name of a song from a short audio snippet.

  • Code Area :

    ⏬Install Zhlyr
    💲pip install zhlyr
    

    🎵 Recognize track
    Recognize a track based on a file
    # Get full track json response object info
    
    import asynico
    from zhlyr import Reconize
    data = '/root/user/dir/simple.mp3'
    async def get_info():
      reco = await Reconize(data)
      print(reco.json())
    loop = asynico.new_event_loop()
    loop.run_until_complete(get_info)
    
    # You can get respnose info as string response 
    reco = Reconize(data)
    print(reco.text)
    

    🔍🎼 Get the lyrics of the track

    Get lyrics from title of the track </br>

    from zhlyr import ZhLyr
    lyrics = ZhLyr.GetByTitle(title='save your trears',srt=false)
    # :GetByTitle: `title`: str : title of the track to get trrack from it.
    # :GetByTitle: `srt`: bool : if `true` he will return time as `srt` format.
    # :GetByTitle: return json object
    
    for time , lyric in lyrics.items():
      print(f'time {time} >>> lyric : {lyric}')
    

    Get lyrics from details of track </br>

    lyrics = ZhLyr.GetByDetails(title='save your trears',artist='the weeknd',duration='3:35',srt=false)
    # :GetByDetails: `title`: str : title of the track to get trrack from it.
    # :GetByDetails: `artist`: str : artist of the track to get lyrics from it.
    # :GetByDetails: `duration` : Optional[str]=None : duration of the track to get lyrics from it.
    # :GetByDetails: `srt`: bool : if `true` he will return time as `srt` format.
    # :GetByDetails: return json object
    
    for time , lyric in lyrics.items():
      print(f'time {time} >>> lyric : {lyric}')
    

    ℹ️ How to use data serialization

    Serialized data from response. </br>

    from zhlyr import Serializer
    data = your_json_data
    serialize = Serializer(data)
    print(serialize)
    

    Get vlue from key with serialized data. </br>

    data = {'key1':'hello world!'}
    serialize = Serializer(data)
    print(serialize.key1)
    

My Accounts


Metadata

Release files for zhlyr 5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for zhlyr 5.1
File Actions
zhlyr-5.1-py2.py3-none-win_amd64.whl Python 2, Python 3 none Windows x86-64 Details for zhlyr-5.1-py2.py3-none-win_amd64.whl
zhlyr-5.1-py2.py3-none-win32.whl Python 3, Python 2 none Windows x86-32 Details for zhlyr-5.1-py2.py3-none-win32.whl
zhlyr-5.1-py2.py3-none-manylinux2014_x86_64.whl Python 2, Python 3 none Linux glibc 2.17+ x86-64 Details for zhlyr-5.1-py2.py3-none-manylinux2014_x86_64.whl
zhlyr-5.1-py2.py3-none-manylinux1_x86_64.whl Python 2, Python 3 none Linux glibc 2.5+ x86-64 Details for zhlyr-5.1-py2.py3-none-manylinux1_x86_64.whl
zhlyr-5.1-py2.py3-none-macosx_10_9_x86_64.whl Python 2, Python 3 none macOS 10.9+ x86-64 Details for zhlyr-5.1-py2.py3-none-macosx_10_9_x86_64.whl

Total release size: 5.7 MB

Release files / zhlyr-5.1-py2.py3-none-win_amd64.whl

Download URL zhlyr-5.1-py2.py3-none-win_amd64.whl
Size 761.8 kB
Tags Python 2 Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
736c5d0de412b20c9b0f9cee8921fd5273ed9c1928a9e597b31dea41a3d1e7cc
BLAKE2b-256 checksum
How to use checksums
041e25a46c1a9d9757934ba88f2b680c4a300b954f9dceb5ffd095224cce75c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / zhlyr-5.1-py2.py3-none-win32.whl

Download URL zhlyr-5.1-py2.py3-none-win32.whl
Size 383.0 kB
Tags Python 2 Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
b124114a063dcba597834ca827def17032375d7d20ca47f55b86dbee56298d0c
BLAKE2b-256 checksum
How to use checksums
5a3fab369e08e86b045a5fbb73d04b82c00c58e5625b42b1739147c05088a864
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / zhlyr-5.1-py2.py3-none-manylinux2014_x86_64.whl

Download URL zhlyr-5.1-py2.py3-none-manylinux2014_x86_64.whl
Size 1.5 MB
Tags Linux glibc 2.17+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
da016429d2502c639c9fcd85a31300f21dc5ce0db10c41de21ce16b6ad63a3a1
BLAKE2b-256 checksum
How to use checksums
e507b3b9f1af60c0d92766a745879964fe790ff3575fa5320df5d9e10c8101d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / zhlyr-5.1-py2.py3-none-manylinux1_x86_64.whl

Download URL zhlyr-5.1-py2.py3-none-manylinux1_x86_64.whl
Size 1.1 MB
Tags Linux glibc 2.5+ x86-64 Python 2 Python 3
SHA-256 checksum
How to use checksums
f9eaf9f3cfd9f02cfea3fd342b71e46b7efb7b94c944a3709f1081c9ef4210ff
BLAKE2b-256 checksum
How to use checksums
55ccac8d131b95129534d7fbc69d2b3637927bea15c53aed7740e8ee4d8de367
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / zhlyr-5.1-py2.py3-none-macosx_10_9_x86_64.whl

Download URL zhlyr-5.1-py2.py3-none-macosx_10_9_x86_64.whl
Size 1.9 MB
Tags Python 2 Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4e2820c2197c2e1bb82cf3140b015e64c654a36ca86e2e68c49387829fe0c007
BLAKE2b-256 checksum
How to use checksums
56f00c71e4c51616a461dbea7ab3a356a9e6c086254461a8a7bd6f1f3f60040f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Security for zhlyr 5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page