## 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.
****
Raw data
{
"_id": null,
"home_page": "",
"name": "SongNameSplit",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,song,song name,artist,artist name",
"author": "Archit Tandon",
"author_email": "archittandon26@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/99/ea/08aef8acbfbdb4f63b61c72871689b46988c0b236c5d23d227386e7c43fc/SongNameSplit-2.2.5.tar.gz",
"platform": null,
"description": "\n\n## SongNameSplit 2.2.5\n\nThe 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. \n\n\n\nApproximate accuracy: 97% - 99%\n\n\n\nThis 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.\n\n\n\n### Example Inputs and Outputs\n\n\n\nInput 1:\n\n```\n\n\"Coldplay - Hymn For The Weekend (Official Video)\"\n\n```\n\nOutput 1:\n\n```\n\n{'artist': 'Coldplay', 'songname': 'Hymn For The Weekend'}\n\n```\n\n\n\nInput 2:\n\n```\n\n\"Dua Lipa - Levitating Featuring DaBaby (Official Music Video)\"\n\n```\n\nOutput 2:\n\n```\n\n{'artist': 'Dua Lipa', 'songname': 'Levitating'}\n\n```\n\n\n\n### Installation\n\nSongNameSplit can be installed using the following pip code. Please note that the SongNameSplit library is internet-dependent, so a stable internet connection is essential.\n\n\n\n```\n\npip install SongNameSplit\n\n```\n\n### Import\n\nSongNameSplit can be imported using the following code:\n\n\n\n```\n\nimport SongNameSplit\n\n```\n\n### Usage\n\nSongNameSplit can be used as:\n\n```\n\nSongNameSplit.namesplit(\"<< SONG TITLE >>\")\n\n```\n\nReplace the \"<< SONG TITLE >>\" with your song title.\n#\nTo run the library quietly, that is, without printing anything, use the optional \"runQuietly\" flag:\n\n```\nSongNameSplit.namesplit(\"<< SONG TITLE >>\", runQuietly=True)\n\n```\n\nThe default value of the \"runQuietly\" flag is False.\n\n\n\n### Sample Code\n\nFeel free to copy the following code to test SongNameSplit out!\n\n```\n\nimport SongNameSplit\n\n\n\nresult = SongNameSplit.namesplit(\"Coldplay - Hymn For The Weekend (Official Video)\")\n\n\n\nprint(\"The name of the song is: \", result['songname'])\n\nprint(\"The name of the artist is: \", result['artist'])\n\n```\n\n### NonStandardSongTitle Error\n\nIf 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. \n\n```\n\nNonStandardSongTitle: This title does not look like a standard title\n\n```\n\n### InternetConnectionError Error\n\nIf 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.\n\n```\n\nInternetConnectionError: Please make sure you have a stable internet connection\n\n```\n\n****\n\n### Additional Details\n\n\n\n**GitHub Link**\n\nhttps://github.com/TandonArchit/SongNameSplit\n\n\n\n**Made by**\n\nArchit Tandon.\n\n****\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Seperate the song and artist name from a song title",
"version": "2.2.5",
"project_urls": null,
"split_keywords": [
"python",
"song",
"song name",
"artist",
"artist name"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e5409e4bf1efb4662370460560a1acf56289e9f4fd9cc5e2c1bbe0088bba0062",
"md5": "fb0006b6436028b2545a024dba12da1d",
"sha256": "710aede8de7b9b03004b12be5992d8e7de0b3285bed47452f33030862c0e5a2d"
},
"downloads": -1,
"filename": "SongNameSplit-2.2.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fb0006b6436028b2545a024dba12da1d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 100363,
"upload_time": "2023-12-17T04:40:59",
"upload_time_iso_8601": "2023-12-17T04:40:59.442076Z",
"url": "https://files.pythonhosted.org/packages/e5/40/9e4bf1efb4662370460560a1acf56289e9f4fd9cc5e2c1bbe0088bba0062/SongNameSplit-2.2.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "99ea08aef8acbfbdb4f63b61c72871689b46988c0b236c5d23d227386e7c43fc",
"md5": "a91bd5907dff572ec4b45184f2424db4",
"sha256": "9e75d566c99b7b2d8311aeca2d774bec9f1544ea57216e45510adf07bd3d3e1f"
},
"downloads": -1,
"filename": "SongNameSplit-2.2.5.tar.gz",
"has_sig": false,
"md5_digest": "a91bd5907dff572ec4b45184f2424db4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 100010,
"upload_time": "2023-12-17T04:41:01",
"upload_time_iso_8601": "2023-12-17T04:41:01.682621Z",
"url": "https://files.pythonhosted.org/packages/99/ea/08aef8acbfbdb4f63b61c72871689b46988c0b236c5d23d227386e7c43fc/SongNameSplit-2.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-17 04:41:01",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "songnamesplit"
}