libthirty provides a python api to access the 30loops platform.
Project description
libthirty
libthirty is a python module that wraps the 30loops REST api in a easy to use programming API. It’s purpose is to function as a low level library that can be used by other tools to provide a high level view on the 30loops platform.
How to use
>>> from libthirty import Authenticate, Resource >>> from libthirty import env >>> # try to authenticate, defaults to http basic auth >>> env.auth = Authenticate('user', 'password', 'account') >>> if not env.auth.is_authenticated: ... # In case the authentication does not succeed ... raise Exception >>> repository = Resource('repository', 'thirtyloops') >>> repository.state_fields ['location', 'user', 'password'] >>> repository.location 'git.30loops.net'
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
libthirty-0.2.tar.gz
(67.2 kB
view details)
File details
Details for the file libthirty-0.2.tar.gz
.
File metadata
- Download URL: libthirty-0.2.tar.gz
- Upload date:
- Size: 67.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 271daa07e59e57c0acb1a9a157c90a1de73e69f6c1a6e058a5335ab5f8a2c9cc |
|
MD5 | c6bd53171f5b802e4cdee9c3c02585c2 |
|
BLAKE2b-256 | 1bdc2b60db7176227fee86e107ac410b75dab1b5b0e5304ee6dfb7aa88a57c73 |