Skip to main content

trumpet

https://img.shields.io/pypi/v/trumpet.svg https://img.shields.io/travis/umeboshi2/trumpet.svg Documentation Status Updates

Build a website with pyramid

News

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

Old

Remnants of the old README can be found [here](https://github.com/umeboshi2/trumpet/blob/master/docs/misc.md).

Features

  • TODO

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

Credits

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

History

0.2.0 (2017-12-07)

  • First release on PyPI.

Metadata

Release files for trumpet 0.2.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trumpet 0.2.11
File Size Uploaded
trumpet-0.2.11.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trumpet 0.2.11
File Interpreter ABI Platform
trumpet-0.2.11-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 36.8 kB

Release files / trumpet-0.2.11.tar.gz

Download URL trumpet-0.2.11.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9e152d7f9ca31c0f38da86ecd112129cce3ef82ff185d5176174a1f54a01a1fd
BLAKE2b-256 checksum
How to use checksums
3e1a9c6bee82f8dfd90af86029d9cb43320c300149b4342832dd54db336ed13e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Release files / trumpet-0.2.11-py2.py3-none-any.whl

Download URL trumpet-0.2.11-py2.py3-none-any.whl
Size 12.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1a11b9575f404b538357b339ef3f930291187cba3dbe313149df864e0d8acb60
BLAKE2b-256 checksum
How to use checksums
9a5acfc33fea7c1c16be9b76e5d48c5e014bba988ebe414222db617b08ca2b36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.2.11 This release

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.3

2 release files

0.2.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page