Skip to main content

A tool to build a static website for OCQM cohorts.

Project description

Part of our research server that we offer OCQM clients. See


To use locally create a new virtual environment in an empty folder::

virtualenv -p python3.4 .

Activate the environment:

source bin/activate

And install the package::

pip install ocqm_cohort_website


To see how it looks like just run::

ocqm-cohort-website demo

And open http://localhost:8000

To create your own site run in an empty folder::

ocqm-cohort-website init

And start editing the `cohort.yml` file. To see your changes run::

ocqm-cohort-website build --serve

And have a look at http://localhost:8000 again.


To run the tests install tox::

pip install tox

And run it::


ocqm_cohort_website works with python 2.7 and python 3.3+

Current Build Status
|Build Status|

.. |Build Status| image::


To add a new language::

python init_catalog -l <locale>


python init_catalog -l it

To update the catalog::

python update_catalog

To compile the catalog::

python compile_catalog

Updating and compiling the catalog is required every time a text changes!


ocqm_cohort_website is licensed under MIT. See LICENSE file.


* The images in the example cohort are from

* The chart in the example has been generated by

0.1.9 (2014-09-22)

- Adds ability to define a list of portraits.

- Adds more example content.

0.1.8 (2014-09-19)

- Fixed typo in German example text.

- Added list styling including example list.

0.1.7 (2014-08-25)

- Make sure the *.mo files are included in the release package.

0.1.6 (2014-08-25)

- Fixed bad nesting of langauges. Closes #1.

- Rounded corners banner image for the top only.

0.1.5 (2014-08-21)

- No longer compile the catalog on the fly.

0.1.4 (2014-08-21)

- Fixes demo not working.

0.1.3 (2014-08-21)

- Fixes http server not working under Python 3.

0.1.2 (2014-08-21)

- Properly include babel commands in

- Make sure all files are included in the package.

0.1.1 (2014-08-21)

- Renames remaining ocqm_cohort_site references to ocqm_cohort_website.

0.1 (2014-08-21)

- Initial release.

Project details

Download files

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

Files for ocqm_cohort_website, version 0.1.9
Filename, size File type Python version Upload date Hashes
Filename, size ocqm_cohort_website-0.1.9.tar.gz (2.3 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page