Django Balystic
Connect to Balystic API in your Django project
Quickstart
Install Django Balystic:
pip install django-balystic
Then use it in a project:
import balystic
Features
This client makes it easy to use the balystic API. Just add a couple settings:
BALYSTIC_API_TOKEN = 'mysecrettoken' BALYSTIC_API-PATH = 'mycommunity.7dhub.com/api/'
Then create a client instance:
from balystic.client import Client client = Client()
And use the client to perform the requests:
user_list = client.get_users() user_detail = client.get_user_detail() client.delete_user()
A couple of views have been defined to display information from your community.
blogs:
- ::
blog/ | template name = blog_list.html blog/<slug>/ | template name = blog_detail.html
qa:
- ::
qa/ | template_name = qa_list.html qa/<pk>/ | template_name= qa_detail.html
to modify the template, create a folder in your project template folder called ** balystic ** with the same name of the used inside the balystic app.
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install -r requirements_test.txt (myenv) $ python runtests.py
Credits
Tools used in rendering this package:
History
0.1.0 (2016-07-28)
First release on PyPI.
Metadata
Release files for django-balystic 0.1.33
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-balystic-0.1.33.tar.gz | 11.9 kB | Without provenance | Details for django-balystic-0.1.33.tar.gz |
Release files / django-balystic-0.1.33.tar.gz
| Download URL | django-balystic-0.1.33.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e4439fd87b593fe20ff17dfc65c76a33b9399ab49cf9372c674b66723441cc1
|
|
BLAKE2b-256 checksum How to use checksums |
6c6391baadf8e320f5aaa26902008d1e8d71fce20661ea972dfc546bc328df2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-balystic 0.1.33
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.