Skip to main content

Simple statuses Mastodon for Python

Project description

Sistamapy

Simple statuses Mastodon for Python

This package is compatible with Pylint.

Install

# apt install -y python3 python3-pip python3-setuptools python3-wheel python3-venv python3-dev
$ python3 -m venv env
$ source ./env/bin/activate
$ pip install sepbit.sistamapy

Credentials

In the Mastodon account, create an app with write:statuses permission

Usage

This is minimal example, see statuses.

from sepbit.sistamapy.statuses import Statuses

self.toot = Statuses(
    'mastodon.social',
    'TOKEN'
)
post = toot.post({
    'status': 'test ',
    'language': 'por',
    'visibility': 'public'
})

print(post)

Tests

Execução de testes e verificar a cobertura de código

$ source ./env/bin/activate
$ pip install -r requeriments.txt
$ tox 

Change log

Please see the CHANGELOG file for more information.

Contributing

Pull Requests not accepted.

Security

If you discover any security related issues, please email contato@sepbit.com instead of using the issue tracker.

License

GPL-3.0-or-later, please see COPYING file for more information.

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

sepbit.sistamapy-1.0.0.tar.gz (15.8 kB view details)

Uploaded Source

File details

Details for the file sepbit.sistamapy-1.0.0.tar.gz.

File metadata

  • Download URL: sepbit.sistamapy-1.0.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for sepbit.sistamapy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6bec76ef4f09946c7a287a34e4c5c67b6f467b44eeb67880e9402d0acc8d158d
MD5 06e61a63e91ed9d3118b5b477520d1f4
BLAKE2b-256 88e4ceb3b68da897f0b204b213998632f1a30c8cbcf03b8182641ad5a77aaf50

See more details on using hashes here.

Supported by

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