Formgear
Main idea behind formgear allow iteratively create data models in easy readeable form and use them as part of your websites. At this moment only MongoDB is allowed.
Imagine what happends when you plan to create new site (for yourself or client). You doing several steps and one important is make row draft of what content you will publish and retation between different types of content. Usually it implies you bootstrap your framework, step over several stages of creating scaffold and only then write models code. In the worst case you write SQL.
But we are living in 21 century, have decoded DNA, pushing frontier into space, diging into core of the atoms and listening dubstep! Why we must to write all that crap? Why computers cann’t just do all this stuff?
So that is why we invent formgear. Because we want computers to do that they supposed to do.
formgear is only part of this effort, but here is already some results. So, example how to make simple model. We use YAML because it is very human readeable. Minimal file:
# user.yaml title: User description: > This is user model. fields: - name: name - name: email - name: site - name: about
This file is enough to use it as model in your python code:
# models.py
from formgear.models import Model
class User(Model):
__yaml__ = 'user.yaml'
formgear is only a library for bigger framework, if you deside to use whole stack then you will get site with admin section including list, edit, add, search, delete sections for each models.
Changes
0.3.5:
added independed data sources, but atm still have only mongodb datasource
0.3.4:
Started this log.
More
Links:
formgear page on PyPI: http://pypi.python.org/pypi/formgear/
Github page: https://github.com/xen/formgear
More documentation is approaching.
Metadata
Release files for formgear 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| formgear-0.3.5.tar.gz | 15.2 kB | Without provenance | Details for formgear-0.3.5.tar.gz |
Release files / formgear-0.3.5.tar.gz
| Download URL | formgear-0.3.5.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa9020670f18530218931f0c944625ca5589433337cc04ab36082e85fd2015c1
|
|
BLAKE2b-256 checksum How to use checksums |
d9b95ef89b9681e70995c5d4ab5199715ddd4684a7ab7faaaefb2f3ab7db0d05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for formgear 0.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.