Gestus is a Django app to collect and store datas about our Website projects at Emencia.
Although there is the Django admin to manage the Gestus objects, there is also a REST part which is used to create and update Website datas with a client.
Introduction
Gestus will store some datas about your project :
Its name and a description;
Its kind of environnement (integration or production);
Its server hostname;
The URL where the website project is published;
A list of installed packages with their version;
Require
djangorestframework >= 2.3
Install
Add PO Projects to your installed apps in settings :
INSTALLED_APPS = (
...
'gestus'
'rest_framework'
...
)
Then add the djangorestframework settings :
REST_FRAMEWORK = {
'PAGINATE_BY': 10,
# Use hyperlinked styles by default.
# Only used if the `serializer_class` attribute is not set on a view.
'DEFAULT_MODEL_SERIALIZER_CLASS': (
'rest_framework.serializers.HyperlinkedModelSerializer',
),
# Use Django's standard `django.contrib.auth` permissions,
# or allow read-only access for unauthenticated users.
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAdminUser',
#'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly',
),
}
Finally mount its urls in your main urls.py :
urlpatterns = patterns('',
...
(r'^gestus/', include('gestus.urls', namespace='gestus')),
(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
...
)
External API access
With djangorestframework a rest API will be available on :
/gestus/rest/
It is browsable for authenticated users with admin rights (is_staff on True), also the client will need to access to the API with an user accounts with the admin rights.
Gestus-client is client to use the API from your project.
Metadata
Release files for Gestus 0.3.4
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 |
|---|---|---|---|---|
| Gestus-0.3.4.tar.gz | 12.2 kB | Without provenance | Details for Gestus-0.3.4.tar.gz |
Release files / Gestus-0.3.4.tar.gz
| Download URL | Gestus-0.3.4.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77dfca9e1ad34cd6e12cb21f4c7ffc07947c3b25306eabdd5cb6d5cb6283b474
|
|
BLAKE2b-256 checksum How to use checksums |
4b5d2ed78a6b2a9444eae5577fca2bf0c536013b69408280afae135760601185
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Gestus 0.3.4
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.