{"id":14428,"library":"appier","title":"Appier Framework","description":"Appier is an object-oriented Python web framework designed for rapid application development. It focuses on being lightweight while providing capabilities comparable to larger frameworks. It is WSGI compliant and ASGI ready, supports templating with Jinja2, offers data model layers for databases like MongoDB and TinyDB, includes automatic JSON response encoding, and features an auto-generated admin interface via `appier-extras`. The current version is 1.45.2, with active development on its GitHub repository.","status":"active","version":"1.45.2","language":"en","source_language":"en","source_url":"https://github.com/hivesolutions/appier","tags":["python","framework","web","json","wsgi","asgi","mvc"],"install":[{"cmd":"pip install appier","lang":"bash","label":"Install stable version"}],"dependencies":[{"reason":"Required for templating capabilities within the framework.","package":"jinja2","optional":true},{"reason":"Provides an automatic admin interface and extra features.","package":"appier-extras","optional":true},{"reason":"Required for MongoDB data model integration.","package":"pymongo","optional":true},{"reason":"Required for TinyDB data model integration.","package":"tinydb","optional":true}],"imports":[{"symbol":"App","correct":"from appier import App"},{"symbol":"route","correct":"from appier import route"}],"quickstart":{"code":"import appier\n\nclass HelloApp(appier.App):\n    @appier.route(\"/\", \"GET\")\n    def hello(self):\n        return \"Hello World\"\n\nif __name__ == \"__main__\":\n    HelloApp().serve()\n","lang":"python","description":"This minimal example creates a simple Appier application that responds with 'Hello World' on the root path. To run it, save as `app.py` and execute `python app.py`. For asynchronous routes (using `async def`), Python 3.5+ and an ASGI server like Uvicorn (`SERVER=uvicorn python app.py`) are required."},"warnings":[{"fix":"Use `SERVER=uvicorn python your_app.py` or a similar command for ASGI servers.","message":"When developing asynchronous routes (using `async def`), ensure you serve your Appier application with an ASGI-compliant server (e.g., Uvicorn, Hypercorn, Daphne). Using a WSGI-only server will prevent async routes from functioning correctly.","severity":"gotcha","affected_versions":"All versions with async support (Python 3.5+)"},{"fix":"Explicitly install required optional dependencies, e.g., `pip install appier appier-extras pymongo`.","message":"Many advanced features, such as the automatic admin interface or specific database integrations (MongoDB, TinyDB), require installing additional, optional packages (e.g., `appier-extras`, `pymongo`, `tinydb`). These are not installed by default with `pip install appier`.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Develop and run Appier applications exclusively on Python 3.x environments (preferably 3.8+).","message":"While Appier's PyPI metadata indicates compatibility with Python 2.6 and 2.7, the project's GitHub README emphasizes 'Python 3 compatible' and provides async examples requiring Python 3.5+. New development should strongly target Python 3.x, as Python 2 is end-of-life and not actively supported by the community.","severity":"deprecated","affected_versions":"<=1.x.x (any version that claims Python 2 compatibility)"}],"env_vars":null,"last_verified":"2026-04-14T00:00:00.000Z","next_check":"2026-07-13T00:00:00.000Z","problems":[],"ecosystem":"pypi"}