Skip to main content

Build a website with pyramid

Project description

trumpet Documentation Status Updates

Build a website with pyramid


Trumpet is getting a bit closer to the original intended goal of being a set of building blocks and tools to help build a pyramid web application. Management of static resources has moved completely away from python. Compass is still being used to help manage the stylesheets. Webpack is being used to handle the javascript, as well as some css, fonts, etc. Currently, cookiecutter is being used to test generating project skeletons, replacing the previous scaffold.

The general concept is to have support for creating web applications with different hosting requirements. A creative use of cookiecutter templates may provide the ability to generate a pyramid site, a static application/site, or even a tree of static assets that can be used in many projects.

Goals and Progress

  • user management
    • login/logout
    • administer users via REST
    • reflective sqlalchemy code, db should provide minimum user/password tables
  • db support
    • common sqlalchemy code for all databases complete
    • request object with attached sessionmaker completed by upstream scaffold
  • session management obsolete?
    • minimal use of cookies completed by using JSON Web Tokens
    • use access_token as parameter to all requests requiring authentication
    • policies for session management now token policies
      • sessions per user (configure number of sessions a user can have)
      • sessions per device (register devices to user?)
      • session duration
      • session timeout/expiration
  • view classes
    • basic view classes to be used by all views
      • common methods WIP
      • app settings available still debating usefulness, JSONAPI may be better
    • base user aware view class
      • base class for requests that need auth
    • base cornice resource
    • base static resource
    • base page resource this is almost good enough
      • send the html page that runs the app complete
      • use template to fill the head with links and meta info
      • handle permissions for access to app send auth_token as query param?
  • server side validation still needed
    • use colander to build schemas for validation (or JSONSchema?)
  • integrate with job servers for long running jobs


Remnants of the old README can be found [here](


  • TODO
    • remember vobject and icalendar to make .vcf files, etc…


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


0.2.0 (2017-12-07)

  • First release on PyPI.

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 trumpet, version 0.2.11
Filename, size File type Python version Upload date Hashes
Filename, size trumpet-0.2.11-py2.py3-none-any.whl (12.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size trumpet-0.2.11.tar.gz (24.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page