Skip to main content
Welcome to the Cypher. Blog post [here](https://tmthyjames.github.io/tools/Cypher/)

=======================

Easily get music lyrics


To install, use `pip`:

`pip install thecypher`

Example:

```python
>>> import thecypher as cy
>>> coasts = cy.get_lyrics('coasts')
>>> coasts[0]
{'album': 'Coasts (2016)',
'artist': 'coasts',
'genre': 'Indie_Pop',
'id': 0,
'lyric': 'We fell in love',
'song': 'Oceans',
'year': '2016'}
```

Convert it to a pandas DataFrame like so:

```python
>>> import pandas as pd
>>> coasts_df = pd.DataFrame(coasts)
>>> coasts_df.head()
```
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right">
<th></th>
<th>album</th>
<th>artist</th>
<th>genre</th>
<th>id</th>
<th>lyric</th>
<th>song</th>
<th>year</th>
</tr>
</thead>
<tbody>
<tr>
<th>0</th>
<td>Coasts (2016)</td>
<td>coasts</td>
<td>Indie_Pop</td>
<td>0</td>
<td>We fell in love</td>
<td>Oceans</td>
<td>2016</td>
</tr>
<tr>
<th>1</th>
<td>Coasts (2016)</td>
<td>coasts</td>
<td>Indie_Pop</td>
<td>1</td>
<td>Right by the ocean</td>
<td>Oceans</td>
<td>2016</td>
</tr>
<tr>
<th>2</th>
<td>Coasts (2016)</td>
<td>coasts</td>
<td>Indie_Pop</td>
<td>2</td>
<td>Made all our plans</td>
<td>Oceans</td>
<td>2016</td>
</tr>
<tr>
<th>3</th>
<td>Coasts (2016)</td>
<td>coasts</td>
<td>Indie_Pop</td>
<td>3</td>
<td>Down on the sand</td>
<td>Oceans</td>
<td>2016</td>
</tr>
<tr>
<th>4</th>
<td>Coasts (2016)</td>
<td>coasts</td>
<td>Indie_Pop</td>
<td>4</td>
<td>And from the tips of your fingers</td>
<td>Oceans</td>
<td>2016</td>
</tr>
</tbody>
</table>





Release files for thecypher 1.2.3

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

Built distribution (wheel)

Table of built distributions (wheels) for thecypher 1.2.3
File Interpreter ABI Platform
thecypher-1.2.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / thecypher-1.2.3-py2.py3-none-any.whl

Download URL thecypher-1.2.3-py2.py3-none-any.whl
Size 5.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8e2dae30b776913b5ac0212f7db3bc35bc4357d149199e9ad281500f064fb219
BLAKE2b-256 checksum
How to use checksums
58580d47cd99a5c62e73df3ea9bd8e120f21e244fdc10fd65a851d0bc5143d67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.3 This release

1 release file

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.0.1

1 release file

1.0

1 release file

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