Aceditor wtforms control
Aceditor wtforms control
Use with flask-admin
from wtforms_aceditor import AceEditor
class ExampleView(ModelView):
form_widget_args = {
'config_yaml': {
'style': 'width:100%; height: 200px;'
}
}
form_args = {
'config_yaml': {
'widget': AceEditor('yaml', minLines=4, tabSize=4),
'validators': [YamlValidator()]
}
}
Use with flask-forms
from wtforms_aceditor import AceEditor
class SampleForm(FlaskForm):
code = TextAreaField('config_yaml', widget=AceEditor('yaml'))
Run example
FLASK_APP=example1.app flask run
Metadata
Release files for wtforms-aceditor 0.0.2
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 |
|---|---|---|---|---|
| wtforms_aceditor-0.0.2.tar.gz | 4.2 kB | Without provenance | Details for wtforms_aceditor-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wtforms_aceditor-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for wtforms_aceditor-0.0.2-py3-none-any.whl |
Total release size: 8.9 kB
Release files / wtforms_aceditor-0.0.2.tar.gz
| Download URL | wtforms_aceditor-0.0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f72a6aa42428cceb762eea9c37f7dca8a61f68328792aca0f8af1f845fa9fbf
|
|
BLAKE2b-256 checksum How to use checksums |
11a2876ed3f13bbd9980d4e9b0ebb4ce283a4461272675d8aab88be51aeaaa95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / wtforms_aceditor-0.0.2-py3-none-any.whl
| Download URL | wtforms_aceditor-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b7560bfc239e9c1d77f109a1c994308386fa507d590e6ce4d52e36c77cbff44
|
|
BLAKE2b-256 checksum How to use checksums |
7a48623584ede66b639573208b272a1b5b8a169784af21b716766561b19dca0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for wtforms-aceditor 0.0.2
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.