Skip to main content

Templating and basecode for Pyramid webapps

Project description

# dryxPyramid

dryxPyramid is a python package containing some basic, reusable code for Pyramid Webapps. It contains:

## Renderers

dryxPyramid contains some new and overriding renderers that allow for the download of files using filename=myfilename in the query string.

  • csv (format=csv)

  • json (format=json)

  • plain text tables (format=plain_table)

  • plain text (format=plain_text)

## API

Resource | Post | Get | Put | Delete |
:———— | :———– | :———– | :———– | :———– |
/download | Not Allowed | Download requested data | Not Allowed | Not Allowed |

### Reserved Query String Parameters

Parameter Key | Description | Some Common Values |
:—— | :——- | :——- |
format | The format to display the data in | json, csv, plain_table, plain_text |
filename | Download the data in the specified format with this filename | |

## View Permissions

There are currently 6 levels of tiered view-permissions that can be added to the view decorators. Each level of permissions includes the acummulated permissions up to that tier.

  1. view_everyone: viewable by the public

  2. view_users: viewable by logged in users

  3. edit_users: viewable by users with the edit_users permissions

  4. superuser: viewable by users with superuser permissions

  5. admin: viewable by users with admin permissions

  6. superadmin: viewable by users with superadmin permissions

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

dryxPyramid-0.3.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distributions

dryxPyramid-0.3.2-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

dryxPyramid-0.3.2-py2-none-any.whl (18.9 kB view details)

Uploaded Python 2

File details

Details for the file dryxPyramid-0.3.2.tar.gz.

File metadata

  • Download URL: dryxPyramid-0.3.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.4.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.13

File hashes

Hashes for dryxPyramid-0.3.2.tar.gz
Algorithm Hash digest
SHA256 1893977bcc307b68d53fa72cf9282ea980e5d7c2ff8f38af23e1dabc79dc6c91
MD5 9aaf65c525f69fbcf93c3661700dd0ca
BLAKE2b-256 8ad270fdc5d4f4805b59af70b93bee0a88ee45009b3eabf9b00e14b0847a92f3

See more details on using hashes here.

File details

Details for the file dryxPyramid-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: dryxPyramid-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for dryxPyramid-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bfeee3731e702c719daeeae9a816d0d6f54670b342046c0cf4808b52fb783335
MD5 364d36bd8c1c6ea2007fca727443ce89
BLAKE2b-256 0d47838a8c079585b334fe52441ffbf8d50a43f7a44c72179477e6dc563f4161

See more details on using hashes here.

File details

Details for the file dryxPyramid-0.3.2-py2-none-any.whl.

File metadata

  • Download URL: dryxPyramid-0.3.2-py2-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.4.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.13

File hashes

Hashes for dryxPyramid-0.3.2-py2-none-any.whl
Algorithm Hash digest
SHA256 615b0eac9ccfe5489da2852eb84cf8bba02783bf53cbbf353c96b7fcc098818e
MD5 2ecf7fb714aea0b66aefdabcdc34214f
BLAKE2b-256 9011b8757dc883956f0f60d264b5bd2cf239141af695e39dfe56c17bae1d6df3

See more details on using hashes here.

Supported by

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