Skip to main content
https://circleci.com/gh/level12/keg-elements.svg?style=svg https://codecov.io/github/level12/keg-elements/coverage.svg?branch=master

Keg Elements is the testing ground for ideas and code that will eventually make their way into Keg or an official Keg extension.

Development beta

To develop on this project, begin by running our tests:

git clone https://github.com/level12/keg-elements keg-elements-src
cd keg-elements-src
tox

You can then examine tox.ini for insights into our development process. In particular, we:

  • use py.test for testing (and coverage analysis)

  • use flake8 for linting

  • store pip requirements files in requirements/

  • cache wheels in requirements/wheelhouse for faster & more reliable CI builds

Dependency Management

Adding a dependency involves:

  1. If it’s a run-time dependency, add to setup.py.

  2. Adding the dependency to one of the requirements files in requirements/.

  3. Running requirements/build-wheelhouse.py.

Preview Readme

When updating the readme, use restview --long-description to preview changes.

Issues & Discussion

Please direct questions, comments, bugs, feature requests, etc. to: https://github.com/level12/keg-elements/issues

Current Status

Beta

Changelog

0.3.1

  • Allow FieldMeta to override default widget and add extra validators (GH-38)

  • Allow customization of readonly and disabled attributes on input, select, and radio fields (GH-37)

  • Improve the logic for when to default a form field to RequiredBoolRadioField (GH-36)

  • Upgrades to the CI Environment

0.3.0

  • Allow static renders to be configured with custom macros. (GH-34)

  • Syncronize static templates with dynamic templates. (GH-31)

  • You can now give a field a description with a string or callback. (GH-23, GH-22)

  • Introduced a RequiredBoolReadioField for use with boolean columns. (GH-25)

  • Support randomly filling EmailTypes. (GH-24)

  • Support additional parameters for randomizing integers. (GH-19)

  • testing_create will randomly select a boolean value for SQLAlchemy boolean fields. (GH-28)

  • We now have a working CI. (GH-27)

  • Constraint tests will fail if all fields are not covered. (GH-21)

  • Introduced a new form-upload macro. (GH-18)

  • Static render now uses element.data unless it is a SelectField (GH-16)

  • MethodsMixin has a new to_dict method. (d83d93f)

  • MethodsMixin has a new ensure method. (e5687ed)

  • Fix bug where static renderes whould not output the label. (GH-33)

  • Fix property names when using automatic test cases. (GH-29)

  • Fix issue where we wouldn’t use a consistent json parser. (GH-13)

  • Fix a bug where polymorphic columns are included in testing_create. (147c23)

development version: 2015-07-28

  • Add db.mixins with DefaultColsMixin (id, Arrow lib UTC timestamps) and MethodsMixin (incomplete).

  • Some MethodsMixin methods now have support for commit/flush parameters.

  • Add .testing:EntityBase which uses named tuples to declare the checks needed and adds some additional logic.

Release files for KegElements 0.3.1

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

Source distribution (sdist)

Source distribution for KegElements 0.3.1
File Size Uploaded
KegElements-0.3.1.tar.gz 18.1 kB Details

Built distribution (wheel)

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

Total release size: 43.3 kB

Release files / KegElements-0.3.1.tar.gz

Download URL KegElements-0.3.1.tar.gz
Size 18.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4252798bd3901c4897924d102eb4a7dfc925314a152ccf5f2108e661f5de442c
BLAKE2b-256 checksum
How to use checksums
7644846d370f7ad9d3482b8d82340cf5eb6eda0ae486657d0fce43530a418189
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / KegElements-0.3.1-py2.py3-none-any.whl

Download URL KegElements-0.3.1-py2.py3-none-any.whl
Size 25.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8e0f887b67408134c9bd610646519b377b1b2ceb0f0e0ad6fe3f7a13962b0956
BLAKE2b-256 checksum
How to use checksums
79401df250f8f39b3050e220b65026e0d5a8d550528a74338536ecd1ed9c74ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.12.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.29

2 release files

0.5.28

2 release files

0.5.25

2 release files

0.5.24

2 release files

0.5.23

2 release files

0.5.22

2 release files

0.5.21

2 release files

0.5.19

2 release files

0.5.17

2 release files

0.5.14

2 release files

0.5.13

2 release files

0.5.11

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

1 release file

0.3.2

2 release files

This release

0.3.1 This release

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