METADATA 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Metadata-Version: 2.0
  2. Name: Flask-Admin
  3. Version: 1.5.0
  4. Summary: Simple and extensible admin interface framework for Flask
  5. Home-page: https://github.com/flask-admin/flask-admin/
  6. Author: Flask-Admin team
  7. Author-email: serge.koval+github@gmail.com
  8. License: BSD
  9. Platform: any
  10. Classifier: Development Status :: 4 - Beta
  11. Classifier: Environment :: Web Environment
  12. Classifier: Intended Audience :: Developers
  13. Classifier: License :: OSI Approved :: BSD License
  14. Classifier: Operating System :: OS Independent
  15. Classifier: Programming Language :: Python
  16. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  17. Classifier: Programming Language :: Python :: 2.7
  18. Classifier: Programming Language :: Python :: 2.6
  19. Classifier: Programming Language :: Python :: 3.3
  20. Classifier: Programming Language :: Python :: 3.4
  21. Classifier: Programming Language :: Python :: 3.5
  22. Requires-Dist: Flask (>=0.7)
  23. Requires-Dist: wtforms
  24. Flask-Admin
  25. ===========
  26. The project was recently moved into its own organization. Please update your
  27. references to *git@github.com:flask-admin/flask-admin.git*.
  28. .. image:: https://d322cqt584bo4o.cloudfront.net/flask-admin/localized.svg
  29. :target: https://crowdin.com/project/flask-admin
  30. .. image:: https://travis-ci.org/flask-admin/flask-admin.svg?branch=master
  31. :target: https://travis-ci.org/flask-admin/flask-admin
  32. Introduction
  33. ------------
  34. Flask-Admin is a batteries-included, simple-to-use `Flask <http://flask.pocoo.org/>`_ extension that lets you
  35. add admin interfaces to Flask applications. It is inspired by the *django-admin* package, but implemented in such
  36. a way that the developer has total control of the look, feel and functionality of the resulting application.
  37. Out-of-the-box, Flask-Admin plays nicely with various ORM's, including
  38. - `SQLAlchemy <http://www.sqlalchemy.org/>`_,
  39. - `MongoEngine <http://mongoengine.org/>`_,
  40. - `pymongo <http://api.mongodb.org/python/current/>`_ and
  41. - `Peewee <https://github.com/coleifer/peewee>`_.
  42. It also boasts a simple file management interface and a `redis client <http://redis.io/>`_ console.
  43. The biggest feature of Flask-Admin is flexibility. It aims to provide a set of simple tools that can be used for
  44. building admin interfaces of any complexity. So, to start off with you can create a very simple application in no time,
  45. with auto-generated CRUD-views for each of your models. But then you can go further and customize those views & forms
  46. as the need arises.
  47. Flask-Admin is an active project, well-tested and production ready.
  48. Examples
  49. --------
  50. Several usage examples are included in the */examples* folder. Please feel free to add your own examples, or improve
  51. on some of the existing ones, and then submit them via GitHub as a *pull-request*.
  52. You can see some of these examples in action at `http://examples.flask-admin.org <http://examples.flask-admin.org/>`_.
  53. To run the examples on your local environment, one at a time, do something like::
  54. cd flask-admin
  55. python examples/simple/app.py
  56. Documentation
  57. -------------
  58. Flask-Admin is extensively documented, you can find all of the documentation at `https://flask-admin.readthedocs.io/en/latest/ <https://flask-admin.readthedocs.io/en/latest/>`_.
  59. The docs are auto-generated from the *.rst* files in the */doc* folder. So if you come across any errors, or
  60. if you think of anything else that should be included, then please make the changes and submit them as a *pull-request*.
  61. To build the docs in your local environment, from the project directory::
  62. pip install -r requirements-dev.txt
  63. sudo make html
  64. And if you want to preview any *.rst* snippets that you may want to contribute, go to `http://rst.ninjs.org/ <http://rst.ninjs.org/>`_.
  65. Installation
  66. ------------
  67. To install Flask-Admin, simply::
  68. pip install flask-admin
  69. Or alternatively, you can download the repository and install manually by doing::
  70. git clone git@github.com:flask-admin/flask-admin.git
  71. cd flask-admin
  72. python setup.py install
  73. Tests
  74. -----
  75. Test are run with *nose*. If you are not familiar with this package you can get some more info from `their website <https://nose.readthedocs.io/>`_.
  76. To run the tests, from the project directory, simply::
  77. pip install -r requirements-dev.txt
  78. nosetests
  79. You should see output similar to::
  80. .............................................
  81. ----------------------------------------------------------------------
  82. Ran 102 tests in 13.132s
  83. OK
  84. For all the tests to pass successfully, you'll need Postgres & MongoDB to be running locally. For Postgres::
  85. CREATE DATABASE flask_admin_test;
  86. CREATE EXTENSION postgis;
  87. You can also run the tests on multiple environments using *tox*.
  88. 3rd Party Stuff
  89. ---------------
  90. Flask-Admin is built with the help of `Bootstrap <http://getbootstrap.com/>`_ and `Select2 <https://github.com/ivaynberg/select2>`_.
  91. If you want to localize your application, install the `Flask-BabelEx <https://pypi.python.org/pypi/Flask-BabelEx>`_ package.
  92. You can help improve Flask-Admin's translations through Crowdin: https://crowdin.com/project/flask-admin