0

I'm starting a new Python project where I'd love to have Django-like control over my database using models and SQLite, but I don't need all of Django. Also I don't want users to have to install any dependencies before using my product.

Are there any smaller projects out there that deliver Django-like database models, or is it possible to extract only the model functionality from Django and include it in my project folder so the user doesn't have to worry about it?

2

1 Answer 1

1

It's not currently possible to just install Django's ORM without the rest of it. You can install the whole lot and just use the ORM, though.

Alternatively you might like to look into one of the standalone Python db wrappers/ORMs. The big one is SQLAlchemy, and there's also the smaller SQLObject.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.