Skip to main content

Save data from Mastodon to a SQLite database

Project description

mastodon-to-sqlite

Save data from Mastodon to a SQLite database.

Install

foo@bar:~$ pip install -e git+https://github.com/myles/mastodon-to-sqlite.git#egg=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: xxx

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

You can verify that 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mastodon_to_sqlite-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

mastodon_to_sqlite-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file mastodon_to_sqlite-0.1.0.tar.gz.

File metadata

  • Download URL: mastodon_to_sqlite-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.16 Darwin/21.6.0

File hashes

Hashes for mastodon_to_sqlite-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b0a97201e947f81597401dd8a19b5dfb5704c9efd58e1c37e50c74732d9b261
MD5 d51a0164f4340582bfb8bf2b1b1cc3a3
BLAKE2b-256 560b07194aef5da976eb1f4483f73f7f859b622a8876dc547d7d71d860547b23

See more details on using hashes here.

File details

Details for the file mastodon_to_sqlite-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mastodon_to_sqlite-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10a8f728e4f9ad5070a4f45333f04cad278758c562e97a357e0365435f43c967
MD5 03357d5e80e737fe4eccbfb8ae2b0546
BLAKE2b-256 9d17fade18eeb302da08d5d0227759c1e85560fa133f347a39daddf56e29ac0a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page