A Django app can be used to query and render MongoDB data
Project description
dj-mongo-reader is a Django application can be used to query MongoDB via AJAX requests and render result with several customization options.
Installation
Install from PyPi pip install dj-mongo-reader
Install from source code
download code git clone https://github.com/tofu0913/dj-mongo-reader.git
run <setup.py> from dj-mongo-reader folder python setup.py install
Features
Able to send find, count, collstats commands to MongoDB via designated URL
Basic HTML pages included, only few code is needed to work with your existing CSS framework
Pagination implemented, you can customize record number show in each page
Permission check, you can deny a data fetching request based on user’s permission and the query(database, collection, command, criteria).
Pick up some keys of the record to fill the table, leave complete record in detail dialog
Assign display names for keys in MongoDB record
value transformation, you can provide Javascript callback functions to process raw value data from MongoDB to a proper text for displaying
export MongoDB data to CSV file (use it carefully for larage amount of records)
DEMO and Document
A Django application runs on heroku.
Functionality: A query form and result table included.
UI: Bootstrap 3 applied.
Guide
Credits
Fan Fei feifan.pub@gmail.com backend
Neil Chen neil.chen.nj@gmail.com frontend
Cliff Chen tofu0913@gmail.com fork and maintenance
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
File details
Details for the file dj-mongo-reader2-2.1.0.tar.gz
.
File metadata
- Download URL: dj-mongo-reader2-2.1.0.tar.gz
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d3c7f9929161035a3be4a7ada19ae29e2cdfe60dff36a1f2feff15d8efb82ef |
|
MD5 | 130ff8c47387379b086d1fbdfb6fef08 |
|
BLAKE2b-256 | b4ac517af9259af426577b0c8f769580a83cee903010dd4f5281af4a7c4dc13c |