Skip to main content

GNU Social API for Python 3

Project description

Installation

pip install gnusocial

or

python3 setup.py install

Documentation

Documentation is hosted at https://pythonhosted.org/gnusocial/

Basic usage

>>> from gnusocial import statuses
>>> r = statuses.update('https://gnusocial.server.com', 'username', 'password', "I've just installed #pygnusocial!", source='python3')

Development installation

  1. Clone this repository (preferably to a virtualenv):

git clone https://gitgud.io/dtluna/pygnusocial

  1. Install needed development dependencies:

pip install -r requirements.txt

  1. Install gnusocial package in development mode:

pip install -e .

Testing

Run ./runtests.py

The tests are situated in tests directory.

Tests are written using Pytest.

Building docs

cd docs && make html

Docs are written using Sphinx.

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

gnusocial-1.0.1.zip (20.8 kB view hashes)

Uploaded Source

Built Distribution

gnusocial-1.0.1.win32.exe (480.3 kB view hashes)

Uploaded Source

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