Skip to main content

Colony Print Infra-structure

Project description

Colony Print Infra-structure

Small web app for printing of Colony based documents.

This project includes two main components:

  • The web app end point that allows for XML to Binie conversion colony_print.controllers
  • The structure conversion infra-structure (visitors, ast, etc.) colony_print.printing

Installation

Pre-requisites

apt-get install gcc python-dev
pip install --upgrade appier netius pillow reportlab

Run Server

pip install colony_print
python -m colony_print.main

Run Node

pip install colony_print
BASE_URL=$BASE_URL \
SECRET_KEY=$SECRET_KEY \
NODE_ID=$NODE_ID \
NODE_NAME=$NODE_NAME \
NODE_LOCATION=$NODE_LOCATION \
python -m colony_print.node

Fonts

To be able to use new fonts (other than the ones provided by the system) one must install them into the /usr/share/fonts/truetype directory so they are exposed and ready to be used by the PDF generation infra-structure. For example calibri is one type of font that should be exported to an UNIX machine as it is used by mani colony generated documents.

Running

PORT=8686 \
PYTHONPATH=$BASE_PATH/colony_print/src python \
$BASE_PATH/colony_print/src/colony_print/main.py

License

Colony Print Infra-structure is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status Coverage Status PyPi Status License

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

colony-print-0.2.0.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

colony_print-0.2.0-py2.py3-none-any.whl (49.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file colony-print-0.2.0.tar.gz.

File metadata

  • Download URL: colony-print-0.2.0.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for colony-print-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c9e8ec6ce10e8636ed107fb80e0f7771cba00c447f06480184ab28026d50e146
MD5 4aaa67655ec2d9d6fb3e00d88c7e0b23
BLAKE2b-256 778d813b3b4d5a5100eacfccc99a289983aa661a561df671af57c39e36608c70

See more details on using hashes here.

File details

Details for the file colony_print-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: colony_print-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 49.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for colony_print-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d3e5c473d3c9f97b56d3c2c8aafa4a555bb01e7653bcedc89a42daa603002c90
MD5 b426f2e5345a9973f98835fb71de723c
BLAKE2b-256 ac6497059b4ac04f6ff266e6c8002b5db506d088b20d27595e261e027341f8f4

See more details on using hashes here.

Supported by

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