Twisted API with a RESTful service for the Pixelated front-end.
Project description
Pixelated User Agent Service
============================
This is the service for the Pixelated User Agent. The primary purpose of this is to provide an interface for the user agent to communicate with the Pixelated Provider.
The user agent is implemented in Python, for compatibility with the LEAP libraries. Another goal of the User Agent Service will be to run well on all major client platforms. Finally, the main goals are to have strong search, encryption and signing. However, we want to push most of these features back to LEAP so that Bitmask can leverage them as well.
Development environment
---
* Install virtualenv:
```
easy_install virtualenv
```
* Create a virtualenv:
```
virtualenv .virtualenv
```
* Activate your virtualenv:
```
source .virtualenv/bin/activate
```
* Configure the application
You will need an account in a LEAP provider. Once you have it, modify the service/pixelated.example file and move it to ~/.pixelated
You might need to add your LEAP provider ssl certificate inside the pixelated/certificates named as your provider domain name, for example:
```
your.leapprovider.org.crt
```
* Start the developer mode
```
./go develop --always-unzip
```
* To run tests:
```
./go test
```
* To run app (after starting the developer mode):
```
pixelated-user-agent
```
* For development purposes you can also copy the pixelated.example file and fill in your credentials,
that way you avoid having to enter your test credentials everytime:
```
pixelated-user-agent --config=<config_file_path>
```
Run a single unit or integration test
```
trial
```
Run a single functional test
```
behave test/functional/features/name_of_feature.feature
```
============================
This is the service for the Pixelated User Agent. The primary purpose of this is to provide an interface for the user agent to communicate with the Pixelated Provider.
The user agent is implemented in Python, for compatibility with the LEAP libraries. Another goal of the User Agent Service will be to run well on all major client platforms. Finally, the main goals are to have strong search, encryption and signing. However, we want to push most of these features back to LEAP so that Bitmask can leverage them as well.
Development environment
---
* Install virtualenv:
```
easy_install virtualenv
```
* Create a virtualenv:
```
virtualenv .virtualenv
```
* Activate your virtualenv:
```
source .virtualenv/bin/activate
```
* Configure the application
You will need an account in a LEAP provider. Once you have it, modify the service/pixelated.example file and move it to ~/.pixelated
You might need to add your LEAP provider ssl certificate inside the pixelated/certificates named as your provider domain name, for example:
```
your.leapprovider.org.crt
```
* Start the developer mode
```
./go develop --always-unzip
```
* To run tests:
```
./go test
```
* To run app (after starting the developer mode):
```
pixelated-user-agent
```
* For development purposes you can also copy the pixelated.example file and fill in your credentials,
that way you avoid having to enter your test credentials everytime:
```
pixelated-user-agent --config=<config_file_path>
```
Run a single unit or integration test
```
trial
```
Run a single functional test
```
behave test/functional/features/name_of_feature.feature
```
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
File details
Details for the file leap.pixelated-1.0.201709121425.tar.gz
.
File metadata
- Download URL: leap.pixelated-1.0.201709121425.tar.gz
- Upload date:
- Size: 50.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83215a2c8862ed6b088a42b3138e4f48ee6d210becae52cd81c9f86a4b91f9f8 |
|
MD5 | 0a6f4787c0736cce8a95e76cec394429 |
|
BLAKE2b-256 | f010e26e7d15a4a6266951f02fd9cdce09cb6e9eb6fcadc7f4f7c4f795c2fff8 |
File details
Details for the file leap.pixelated-1.0.201709121425-py2.py3-none-any.whl
.
File metadata
- Download URL: leap.pixelated-1.0.201709121425-py2.py3-none-any.whl
- Upload date:
- Size: 213.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed7aaefc0c40a347d72afbd838e7bd2e2769ad5feaea056ce4287c96bcb15e9 |
|
MD5 | a6d67ded62a6d145940beda326e15d24 |
|
BLAKE2b-256 | b7c65b0e3f6be5eb22f60ad725613322686d577188c27fb0712f319ce63e3506 |