mastodon-to-sqlite
Save data from Mastodon to a SQLite database.
Install
foo@bar:~$ pip install mastodon-to-sqlite
Authentication
First you will need to create an application on your Mastodon server. You can find that on your Mastodon serer.
foo@bar:~$ mastodon-to-sqlite auth
Mastodon domain: mastodon.social
Create a new application here: https://mastodon.social/settings/applications/new
Then navigate to newly created application and paste in the following:
Your access token: xxx
This will write an auth.json file to your current directory containing your
access token and Mastodon domain. Use -a other-file.json to save those
credentials to a different location.
That -a option is supported by all other commands.
You can verify your authentication by running mastodon-to-sqlite verify-auth.
Retrieving Mastodon followers
The followers command will retrieve all the details about your Mastodon
followers.
foo@bar:~$ mastodon-to-sqlite followers mastodon.db
Retrieving Mastodon followings
The followings command will retrieve all the details about your Mastodon
followings.
foo@bar:~$ mastodon-to-sqlite followings mastodon.db
Retrieving Mastodon statuses
The statuses command will retrieve all the details about your Mastodon
statuses.
foo@bar:~$ mastodon-to-sqlite statuses mastodon.db
Retrieving Mastodon bookmarks
The bookmarks command will retrieve all the details about your Mastodon
bookmarks.
foo@bar:~$ mastodon-to-sqlite bookmarks mastodon.db
Retrieving Mastodon favourites
The favourites command will retrieve all the details about your Mastodon
favourites.
foo@bar:~$ mastodon-to-sqlite favourites mastodon.db
Metadata
Release files for mastodon-to-sqlite 0.2.1
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 |
|---|---|---|---|---|
| mastodon_to_sqlite-0.2.1.tar.gz | 9.6 kB | Without provenance | Details for mastodon_to_sqlite-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mastodon_to_sqlite-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for mastodon_to_sqlite-0.2.1-py3-none-any.whl |
Total release size: 20.4 kB
Release files / mastodon_to_sqlite-0.2.1.tar.gz
| Download URL | mastodon_to_sqlite-0.2.1.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3bdd07f33087f48eef8a2fa951728cfd8361619763a7a26316574cd4a0304922
|
|
BLAKE2b-256 checksum How to use checksums |
10f62797317aac4df20d2dfde6046e34dd3b1ac88eb861b3a6006f635e5f7364
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1019-azure
|
Release files / mastodon_to_sqlite-0.2.1-py3-none-any.whl
| Download URL | mastodon_to_sqlite-0.2.1-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff939cb22a7753af5894e6ec7e82d97f1f282f7ede2a14f8080de5a48b83935d
|
|
BLAKE2b-256 checksum How to use checksums |
0155373f0f7e628ded08e4fb741c97297bd3b639583d64b401fd7f47a2278137
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1019-azure
|
Security for mastodon-to-sqlite 0.2.1
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.