Skip to content

Installation

Dependencies

These distributions will be installed automatically when installing python-twitter-v2.

  • Requests is an elegant and simple HTTP library for Python, built for human beings.
  • Requests-OAuthlib uses the Python Requests and OAuthlib libraries to provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients.

Installation

From Pypi

$ pip install python-twitter-v2

From source

use Poetry

$ git clone https://github.com/sns-sdks/python-twitter.git
$ cd python-twitter
$ make env
$ poetry build
make env

Testing

Test the code, Run:

make test

See the coverage information:

make cov-term