Skip to main content

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
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

leap.pixelated-1.0.201707251215.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

leap.pixelated-1.0.201707251215-py2.py3-none-any.whl (211.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file leap.pixelated-1.0.201707251215.tar.gz.

File metadata

File hashes

Hashes for leap.pixelated-1.0.201707251215.tar.gz
Algorithm Hash digest
SHA256 51a354c4d61d57244b847fa27a081255d48bb93c57f060899e7ff44b2c5635bf
MD5 6acf83daf3930d4bf6211c38243eaed7
BLAKE2b-256 0a7198d559e344e2b845ffcc2e7513574092e87ea114e92d087d18ae2d03edf4

See more details on using hashes here.

File details

Details for the file leap.pixelated-1.0.201707251215-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for leap.pixelated-1.0.201707251215-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 256c34657295a820d8c212c9856400c25caa14e5e993b2415050cc17217a5b92
MD5 56b3230c6b38ef5baf591c205b3985e3
BLAKE2b-256 6753f6eab7744909d6bd3a22551f0e5024976551b2c574ee4e26f3ed7a6f545c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page