Skip to content

victor3rc/lux

 
 

Repository files navigation

Lux

|

Lux is a library for developing web applications with Python and javascript frameworks such as AngularJS.

Master CI

master-build_ coverage-master

Dev CI

dev-build_ coverage-dev

Documentation

http://quantmind.github.io/lux/

Downloads

https://pypi.python.org/pypi/lux

Source

https://github.com/quantmind/lux

Python Requirements

Hard requirements

Soft requirements

  • sqlalchemy and pulsar-odm used by lux.extensions.odm
  • markdown used by lux.extensions.static
  • sphinx used by lux.extensions.static
  • pyjwt used by some authentication backends in lux.extensions.rest
  • pbkdf2 as an optional password encryption algorithm in lux.extensions.rest

Developing with lux.js

First you need to install nodejs and grunt cli:

npm install -g grunt-cli

Subsequently install the development packages via:

npm install

To build lux.js use grunt:

grunt build

Angular templates are compiled into javascript via the grunt-html2js package.

Testing

For testing postgreSQL create a new role:

CREATE ROLE lux WITH PASSWORD 'luxtest';
ALTER ROLE lux CREATEDB;
CREATE DATABASE luxtests;
GRANT ALL PRIVILEGES ON DATABASE luxtests to lux;

Packages

No packages published

Languages

  • Python 55.5%
  • JavaScript 40.6%
  • HTML 2.2%
  • CSS 1.6%
  • Mako 0.1%