Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 2.55 KB

README.md

File metadata and controls

56 lines (43 loc) · 2.55 KB

starlette_web documentation

starlette_web brings a number of features atop base starlette.

Common features

Contrib modules

  • Redis support
  • MQTT experimental support
  • Authorization (based on django.contrib.auth)
  • Admin panel (via starlette_admin)
  • Constance (based on django-constance)
  • Periodic task scheduler (based on django-crontab), that uses OS native scheduling mechanism (POSIX crontab, Windows Task Scheduler 2.0). For additional scheduling schemes, please see docs.

Planned features

Not planned features

  • FileField, ImageField (see docs/notes for explanation)
  • Asynchronous shell (difficult to implement and to use with lots of async context managers, goes against structured concurrency)

Known limitations

  • Composite primary keys for databases are not supported by most contrib modules, including starlette_admin or sqlalchemy_mptt, so restrain from using those.
  • Framework is not thread-safe in general. It is supposed to be run in a single thread. Some modules, such as redis, are instantiated with fixed event loop in main thread. Allowed operations to run in threads are: file I/O, tests.

Additional notes, articles and links