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

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.1.tar.gz (15.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sepbit.sistamapy-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 f0630938e1de0b282dbf1ef491bb11155d42c555a79b1d5880c5926dabf331d9
MD5 469dc79ffa3042888e993c944535fee8
BLAKE2b-256 068de664372587c4d4a315c343b9dc466d115acfbd2c08c99ec43ddacb3151a9

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