Flask-CKFinder3
Flask CKFinder3 connector.
Installation
pip install Flask-CKFinder3
Running the example
git clone https://gitlab.com/aristofor/flask-ckfinder3.git cd flask-ckfinder3 FLASK_APP=example.app flask run
Limitations
Supported backend : local file system
Proxy command not implemented.
Configuration
Required options
CKFINDER_QUICKUPLOAD_DIR |
Directory for quick upload |
CKFINDER_QUICKUPLOAD_ENDPOINT |
Route name for quick upload |
CKFINDER_RESOURCE_TYPES |
Resources list (see bellow) |
Resources declaration
CKFINDER_RESOURCE_TYPES = [
dict(
name='<unique resource name>',
endpoint='<flask endpoint to use in url_for>',
allowedExtensions='<comma separated list of extensions>',
directory='<path to resource>',
deniedExtensions='<denied extensions, default: None>',
acl=<ACL flags, default: 1023>
),
...
]
Optionnal configuration
CKFINDER_LICENSE_NAME |
CKFinder license name |
CKFINDER_LICENCE_KEY |
CKFinder license code |
CKFINDER_THUMBS |
Thumbnails sizes. default: ("150x150","300x300","500x500") |
CKFINDER_THUMBNAIL_DIR |
Thumbnails directory, required for caching |
CKFINDER_THUMBNAIL_MAXFILES |
Files to keep in thumbnail cache. default: 200 |
CKFINDER_THUMBNAIL_THRESHOLD |
Thumbnail gc probability. default: 1/20 |
CKFINDER_UPLOADMAXSIZE |
Maximum upload size |
CKFINDER_UPLOADCHECKIMAGES |
Check size before upload |
CKFINDER_IMAGES_SIZES |
Resize presets dict |
Links
History
0.1.1 (2021-05-06)
Edit image implemented
Resize image implemented
Fixed: thumbnailing non-RGB image
0.1.0 (2021-04-30)
First release on PyPI
Metadata
Release files for Flask-CKFinder3 0.1.1
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 |
|---|---|---|---|---|
| Flask-CKFinder3-0.1.1.tar.gz | 9.7 kB | Without provenance | Details for Flask-CKFinder3-0.1.1.tar.gz |
Release files / Flask-CKFinder3-0.1.1.tar.gz
| Download URL | Flask-CKFinder3-0.1.1.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
044e83e1d7f56b14db1a28e9b3347dac0aab8a4bae3824e9a4f020ac50a8f540
|
|
BLAKE2b-256 checksum How to use checksums |
d7ddbb616d1d947d2032c237cb85e2d5787af2512658a6a689966f377967f23b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.4.2 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.6
|
Security for Flask-CKFinder3 0.1.1
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.