Skip to main content

Seperate the song and artist name from a song title

Project description

SongNameSplit

The SongNameSplit library can take a song title and identify the song name and artist name. The input taken is a string, and a dictionary gives the output. This library needs to access some web pages while running, which means that the final output time is directly dependent on your internet speed.

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 artist is: ", result['artist'])

Made by

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-1.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

SongNameSplit-1.1.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SongNameSplit-1.1.2.tar.gz
  • Upload date:
  • Size: 2.7 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-1.1.2.tar.gz
Algorithm Hash digest
SHA256 92d221b832826c57e8ec9792860d275fd2a711025855774fd096d97a2f076f21
MD5 68ab42b2a99fbf791eb577d4c57198d4
BLAKE2b-256 2792c1a18d80ca97fe387ff6cfc18367b3a740943c9d4a69ee8f3e682f8d78f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SongNameSplit-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39ac27f019d104e82d3f85e2323c42d7896c43e851d679734f06377aca0782e9
MD5 346f704d3f7b61e9581fb2c9e609adf0
BLAKE2b-256 7f982a345c49a0c1e4a2774f16117c285feb7706bb300be908b3f82666c0c357

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