Socket
Socket
Sign inDemoInstall

beanita

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beanita

Local MongoDB-like database, based on Mongita and prepared to work with Beanie ODM


Maintainers
1

Beanita

Local MongoDB-like database, based on Mongita and prepared to work with Beanie ODM

I highly recommend using it only for experiment purposes. It is safer to use a real MongoDB database and for testing, and for production.

Init

from beanie import init_beanie, Document
from beanita import Client


class Sample(Document):
    name: str


async def init_database():
    cli = Client("LOCAL_DIRECTORY")
    db = cli["DATABASE_NAME"]
    await init_beanie(
        database=db,
        document_models=[Sample],
    )

Not supported

  • Links
  • Aggregations
  • Union Documents
  • other features, that were not implemented in Mongita

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc