starlette-admin-beanie-backend
🧪 A package to use Beanie-ODM as a backend with starlette-admin.
✴️ Documentation
Follow the documentation here or check a quick guide below.
🔧 Install
pip install starlette-admin-beanie-backend
⚙️ Usage
from starlette_admin_beanie_backend import Admin, ModelView
from .auth import AdminAuthProvider
from .models import User
def set_db_admin(app):
# Create the Admin Interface
admin = Admin(
title="Test App",
base_url="/admin",
debug=True,
auth_provider=AdminAuthProvider(),
)
# Add the Admin Views
admin.add_view(ModelView(User, icon="fa fa-users"))
# Mount app
admin.mount_to(app)
🤝 Contribute
Contributions are welcome! Whether you’ve spotted a bug, have ideas to improve the Package, or want to extend functionality — I’d love your input. Please fork the repository, work on the dev-colab branch, and open a pull request when ready. Be sure to include clear commit messages and tests where applicable. Let’s build something great together!
- Submit PRs to
dev-colab - Please follow the coding style
🙏🏼 Credits
- jowilf (https://github.com/jowilf)
- BeanieODM (https://github.com/BeanieODM)
- pydantic (https://github.com/pydantic)
Metadata
Release files for starlette-admin-beanie-backend 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 | |
|---|---|---|---|
| starlette_admin_beanie_backend-0.1.1.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| starlette_admin_beanie_backend-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.3 kB
Release files / starlette_admin_beanie_backend-0.1.1.tar.gz
| Download URL | starlette_admin_beanie_backend-0.1.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e734f600aa03109300c58dc606a6957aa4255bb1bd4772169ab918d132b4a76
|
|
BLAKE2b-256 checksum How to use checksums |
eee5fd37252e86e32acb9d730b3eacd301ed396a4b3f41c7573e8575618c57b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / starlette_admin_beanie_backend-0.1.1-py3-none-any.whl
| Download URL | starlette_admin_beanie_backend-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d08ce57cdc562e452852cb755e7e0ede657ef536dfc542eebb675ba7c6b6b72b
|
|
BLAKE2b-256 checksum How to use checksums |
147d5a362faaf56a1fca2c80c855394846b0af1babff95ce9747161a15d383c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|