Skip to main content

Seperate the song and artist name from a song title

Project description

SongNameSplit

The SongNameSplit library can attempt to take a song title and identify the song name and artist name. The input is a string and the output would be a dictionary.

Sample Input and Output

Input:


"Coldplay - Hymn For The Weekend (Official Video)"

Output:


{'artist': 'Coldplay', 'songname': 'Hymn For The Weekend'}

Installation

SongNameSplit can be installed using the following pip code. Please note that the SongNameSplit library is internet-dependent, so a stable internet connection is essential.


pip install SongNameSplit

Import

SongNameSplit can be imported using the following code:


import SongNameSplit

Usage

SongNameSplit can be used as:


SongNameSplit.namesplit("<< SONG TITLE >>")

Replace the "<< SONG TITLE >>" with your song title.

Sample Code


import SongNameSplit



result = SongNameSplit.namesplit("Coldplay - Hymn For The Weekend (Official Video)")



print("The name of the song is: ", result['songname'])

print("The name of the sartist is: ", result['artist'])

Credit

Archit Tandon.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SongNameSplit-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

SongNameSplit-0.1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file SongNameSplit-0.1.1.tar.gz.

File metadata

  • Download URL: SongNameSplit-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.8

File hashes

Hashes for SongNameSplit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d3121228d0c16e7266c80ed81ca02b5f973e4fb389881d6d405e0540641ecb7f
MD5 2d5a785198fcf2086d9bba20bafa3b3e
BLAKE2b-256 188d92d9d1b28c9e48d2296e16a330ce5f905b91ffad34600e9e40a147d1218e

See more details on using hashes here.

File details

Details for the file SongNameSplit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: SongNameSplit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.59.0 importlib-metadata/3.10.0 keyring/22.3.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.8

File hashes

Hashes for SongNameSplit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 749a981295a8025fb6f30c6ba3b33d1dc2a974d66fddd55e9d7f835f96d82bef
MD5 64f1c65bbaff379e6778ba1b03c4d9f1
BLAKE2b-256 edf4dde5ddead7b6a291cd3e6351c12147edfdd0f5ef376c27ed1199f02bdd6c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page