Client library for Socialtext's ReST API
Project description
This is a client for Socialtext’s ReST API. We are currently in the alpha stage for the first release. The API only supports basic operations for a few resources, but it is a good start! Please test thoroughly before use in a production environment.
Requirements
Installation
You can install python-socialtext using pip or easy_install:
pip install python-socialtext # or easy_install python-socialtext
The tests use nose and can be run using:
python setup.py test # or nosetests
You can use Sphinx to build the documentation locally:
cd docs make html # windows: use make.bat # open the _build/index.html document in your browser
Python API
Quick start:
from socialtext import Socialtext st = Socialtext(ST_URL, USERNAME, PASSWORD) st.signals.create("This is a signal from the API!") <Signal: 1234> signal.delete() st.pages.list("ws-name") <Page: test_page>, <Page: test_page_2>, <Page: test_page_3> ws = st.workspaces.get("ws-name") st.pages.list(ws) <Page: test_page>, <Page: test_page_2>, <Page: test_page_3>
Contributing
Development takes place on Github. You can file bug reports and pull requests there.
Branches
This project follows the git-flow branch methodology. So, there will always be two branches in the repository:
- master
The stable, production branch.
- develop
Active development work towards the next release. All pull requests will be merged into this branch.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for python_socialtext-0.1.a2-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0236cd1106dd0d131f9b813afa8c8cdecdcb5629fbdcf2c8f2c86c3f587250 |
|
MD5 | 5c6e2ff8194b37647a81d3f261b45535 |
|
BLAKE2b-256 | 42bb125dca16b26d9644bbf596907708b3946345705c9f059e8ef742e98750e8 |