Skip to main content

SongNameSplit 2.2.5

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.

Approximate accuracy: 97% - 99%

This library needs to access some web pages while running, which means that the final output time is directly dependent on your internet speed. However, the BLAZE update, that is on all versions after 2.0.0, will greatly improve speeds.

Example Inputs and Outputs

Input 1:


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

Output 1:


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

Input 2:


"Dua Lipa - Levitating Featuring DaBaby (Official Music Video)"

Output 2:


{'artist': 'Dua Lipa', 'songname': 'Levitating'}

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.

To run the library quietly, that is, without printing anything, use the optional "runQuietly" flag:

SongNameSplit.namesplit("<< SONG TITLE >>", runQuietly=True)

The default value of the "runQuietly" flag is False.

Sample Code

Feel free to copy the following code to test SongNameSplit out!


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'])

NonStandardSongTitle Error

If you recieve the following error, it means that the title that you provided to SongNameSplit does not look like or is not formatted like how titles usually are formatted.


NonStandardSongTitle: This title does not look like a standard title

InternetConnectionError Error

If you recieve the following error, it means that your internet connection is either unstable or dropped while the function was running. Since SongNameSplit has componenets that need to access the internet, it is recommended to use a stable internet connection.


InternetConnectionError: Please make sure you have a stable internet connection


Additional Details

GitHub Link

https://github.com/TandonArchit/SongNameSplit

Made by

Archit Tandon.


Metadata

Release files for SongNameSplit 2.2.5

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

Source distribution (sdist)

Source distribution for SongNameSplit 2.2.5
File Size Uploaded
SongNameSplit-2.2.5.tar.gz 100.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SongNameSplit 2.2.5
File Interpreter ABI Platform
SongNameSplit-2.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 200.4 kB

Release files / SongNameSplit-2.2.5.tar.gz

Download URL SongNameSplit-2.2.5.tar.gz
Size 100.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9e75d566c99b7b2d8311aeca2d774bec9f1544ea57216e45510adf07bd3d3e1f
BLAKE2b-256 checksum
How to use checksums
99ea08aef8acbfbdb4f63b61c72871689b46988c0b236c5d23d227386e7c43fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / SongNameSplit-2.2.5-py3-none-any.whl

Download URL SongNameSplit-2.2.5-py3-none-any.whl
Size 100.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
710aede8de7b9b03004b12be5992d8e7de0b3285bed47452f33030862c0e5a2d
BLAKE2b-256 checksum
How to use checksums
e5409e4bf1efb4662370460560a1acf56289e9f4fd9cc5e2c1bbe0088bba0062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

2.2.5 This release

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

0.1.1

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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