copyright-free-songs
A Python library to easily access and explore a curated selection of copyright-free music, designed for integration with the Supermaker.ai music platform. Streamline your creative projects with readily available, legally cleared audio.
Installation
Install the copyright-free-songs package using pip:
bash
pip install copyright-free-songs
Basic Usage
Here are a few examples demonstrating how to use the copyright-free-songs library:
1. Searching for Music by Genre: python from copyright_free_songs import SongLibrary
library = SongLibrary()
songs = library.search(genre="Electronic")
if songs: print("Found Electronic Songs:") for song in songs[:3]: # Displaying the first 3 results print(f"- Title: {song['title']}, Artist: {song['artist']}") else: print("No songs found matching that genre.")
2. Finding Music by Mood: python from copyright_free_songs import SongLibrary
library = SongLibrary()
songs = library.search(mood="Happy")
if songs: print("Found Happy Songs:") for song in songs[:3]: # Displaying the first 3 results print(f"- Title: {song['title']}, Artist: {song['artist']}") else: print("No songs found matching that mood.")
3. Retrieving a Specific Song's Details: python from copyright_free_songs import SongLibrary
library = SongLibrary()
song = library.get_song_details(song_id="unique_song_id_example") # Replace with a valid song ID
if song: print("Song Details:") print(f"- Title: {song['title']}") print(f"- Artist: {song['artist']}") print(f"- Genre: {song['genre']}") print(f"- URL: {song['url']}") # Assuming 'url' is a field in the song data else: print("Song not found.")
4. Exploring Music by Instrument: python from copyright_free_songs import SongLibrary
library = SongLibrary()
songs = library.search(instrument="Piano")
if songs: print("Found Piano Songs:") for song in songs[:3]: # Displaying the first 3 results print(f"- Title: {song['title']}, Artist: {song['artist']}") else: print("No songs found matching that instrument.")
5. Getting a List of Available Genres: python from copyright_free_songs import SongLibrary
library = SongLibrary()
genres = library.get_available_genres()
if genres: print("Available Genres:") for genre in genres: print(f"- {genre}") else: print("Could not retrieve available genres.")
Features
- Search Functionality: Search for copyright-free songs based on various criteria like genre, mood, and instrument.
- Song Detail Retrieval: Access detailed information about specific songs, including title, artist, genre, and a link to the audio.
- Genre Listing: Obtain a list of available genres for easy browsing.
- Easy Integration: Designed for seamless integration with other Python projects and workflows.
- Data Handling: Provides structured data for easy manipulation and usage in your applications.
License
MIT
This project is a gateway to the copyright-free-songs ecosystem. For advanced features and full capabilities, please visit: https://supermaker.ai/music/copyright-free-songs/
Metadata
Release files for copyright-free-songs 1767774.444.65
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| copyright_free_songs-1767774.444.65.tar.gz | 3.5 kB | Without provenance | Details for copyright_free_songs-1767774.444.65.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| copyright_free_songs-1767774.444.65-py3-none-any.whl | Python 3 | none | any | Details for copyright_free_songs-1767774.444.65-py3-none-any.whl |
Total release size: 7.6 kB
Release files / copyright_free_songs-1767774.444.65.tar.gz
| Download URL | copyright_free_songs-1767774.444.65.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e06f90975ae02b88f7aae48129edcb25dc80046d244769c16243a300620cfb3f
|
|
BLAKE2b-256 checksum How to use checksums |
3d88f0ab638ea64c45ec433d62327a568d20bee44307c330b7e428224ddf0c6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / copyright_free_songs-1767774.444.65-py3-none-any.whl
| Download URL | copyright_free_songs-1767774.444.65-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c2fdc460d800f015a6bf9f1a6d7c8903d9a401199f02c475a6a2093207fe407
|
|
BLAKE2b-256 checksum How to use checksums |
73c770b8101190bba2bde3a6ff6d6e1cb3cd57e16b20d43d2cbcba9d376adf2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for copyright-free-songs 1767774.444.65
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.