Aries Community
Aries Community is a simple Django framework for building Hyperledger Indy/Aries Agent enabled web applications. Detailed documentation is in the “docs” directory.
Please see https://github.com/AnonSolutions/django-aries-community for detailed docmentation
Quick start
You can find a basic Aries Community application here https://github.com/AnonSolutions/aries-community-demo
To add aries_community to your own django application:
Copy the requirements.txt file into your application directory and install requirements
Add “aries_community” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'aries_community',
]
Add the following Indy configuration settings (this is for a local install):
import platform
def file_ext():
if platform.system() == 'Linux':
return '.so'
elif platform.system() == 'Darwin':
return '.dylib'
elif platform.system() == 'Windows':
return '.dll'
else:
return '.so'
ARIES_CONFIG = {
'storage_config': {'url': 'localhost:5432'},
'storage_credentials': {'account': 'postgres', 'password': 'mysecretpassword', 'admin_account': 'postgres', 'admin_password': 'mysecretpassword'},
'register_dids': True,
'ledger_url': 'http://localhost:9000',
'genesis_url': 'http://localhost:9000/genesis',
'default_enterprise_seed': 'aries_community_enterprise_00000',
'default_institution_seed': 'aries_community_institution_0000',
'managed_agent_host': 'localhost',
'webhook_host': 'localhost',
'webhook_port': '8000',
}
Ensure your local templates are loaded first:
TEMPLATES = [
{
...
'DIRS': [
os.path.join(BASE_DIR, '<your app>/templates'),
],
...
},
]
Override User, Organization and Relationship models, if you have your own subclass of these models:
AUTH_USER_MODEL = 'aries_community.IndyUser'
ARIES_ORGANIZATION_MODEL = 'aries_community.IndyOrganization'
ARIES_ORG_RELATION_MODEL = 'aries_community.IndyOrgRelationship'
Include the indy URLconf in your project urls.py like this:
path('aries/', include('aries_community.urls')),
Ensure you have all pre-requisites running, as per django-aries-community docs
Run python manage.py migrate to create the indy models.
Run python manage.py runserver and connect to http://localhost:8000/
You can customize the UI and add event handling for Aries Connection and Messaging events. See the demos in https://github.com/AnonSolutions/aries-community-demo for examples of how to do this.
View detailed documentation in the Docs directory (https://github.com/AnonSolutions/django-aries-community)
Metadata
Release files for django-aries-community 0.1.3
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-aries-community-0.1.3.tar.gz | 45.8 kB | Without provenance | Details for django-aries-community-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_aries_community-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for django_aries_community-0.1.3-py3-none-any.whl |
Total release size: 115.6 kB
Release files / django-aries-community-0.1.3.tar.gz
| Download URL | django-aries-community-0.1.3.tar.gz |
|---|---|
| Size | 45.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8b2d6556af4bcdd63ed8addf68773155915fd57cb4be674fae0fbdbfa255d47
|
|
BLAKE2b-256 checksum How to use checksums |
856d6553c8c94968ff5a611d050d61ae14e08ccce45600c41a5cc8ca7f603fba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.2
|
Release files / django_aries_community-0.1.3-py3-none-any.whl
| Download URL | django_aries_community-0.1.3-py3-none-any.whl |
|---|---|
| Size | 69.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
590fbce6cad53f0e32e6046a82ba24e690367083bb64cbb988fa610ea92e584b
|
|
BLAKE2b-256 checksum How to use checksums |
ae9bb81df02494fd47c62452303a4c31d6bcaf22883388b86c80cbb9a23ac03e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.2
|
Security for django-aries-community 0.1.3
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.