Git Product home page Git Product logo

Comments (11)

kashifpk avatar kashifpk commented on May 26, 2024 2

Perhaps then we could launch a separate package for ORM that depends on this one, keeps this one clean and for those of us who'd like the ORM, they can just install an additional package.

from python-arango.

brianrusso avatar brianrusso commented on May 26, 2024 1

My personal opinion is I'd like this to remain the clean, uncluttered low
level API it is. There is pyArango if someone wants an ORM.

$0.02
On Mon, Jun 27, 2016 at 10:06, Kashif Iftikhar [email protected]
wrote:

Hi,

@joowani https://github.com/joowani @rafaelpivato
https://github.com/rafaelpivato - Perhaps joowani can focus on making
the API complete in python and another person or group could start building
an ORM layer on top of it. I agree that the usage of this package closely
resembles arangosh so it has minimal learning curve. The ORM on top of it
could make things a lot simpler and quicker for developers.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#12 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AF_EDGVd-m7rhRo-1jZy0Vtsy_wmkkCyks5qP9j9gaJpZM4HnWJI
.

from python-arango.

joowani avatar joowani commented on May 26, 2024

Hi rafaelpivato,

Thank you for your interest in python-arango.
My priority is to making sure that I cover all of ArangoDB's API endpoints and that the API of python-arango itself is as minimal, efficient and clean as possible. ORM is definitely on my radar, however, and is certainly in my realm of exploration.

from python-arango.

kashifpk avatar kashifpk commented on May 26, 2024

Hi,

@joowani @rafaelpivato - Perhaps joowani can focus on making the API complete in python and another person or group could start building an ORM layer on top of it. I agree that the usage of this package closely resembles arangosh so it has minimal learning curve. The ORM on top of it could make things a lot simpler and quicker for developers.

from python-arango.

joowani avatar joowani commented on May 26, 2024

Yea for now the scope of this project will remain at the API level without the ORM.
Thanks for your interest in python-arango (version 3 is finally out now btw).

from python-arango.

basvandenbroek avatar basvandenbroek commented on May 26, 2024

@kashifpk FYI: I've started on something that depends on both
python-arango and marshmallow (see https://github.com/sebastiancodes/marshmallow_arango) but I wouldn't call this the best thinkable ORM implementation.

from python-arango.

kashifpk avatar kashifpk commented on May 26, 2024

@SebastianCodes this looks good. In the example, why do we need a model and a schema? In any case it's really something to begin with :-)

from python-arango.

kashifpk avatar kashifpk commented on May 26, 2024

@SebastianCodes @joowani @rafaelpivato - I've started working on an orm layer for arango using python-arango. Please take a look here:

https://github.com/threatify/arango-orm

Your suggestions and opinions are welcome.

from python-arango.

notpushkin avatar notpushkin commented on May 26, 2024

@kashifpk @SebastianCodes Nice integrations you've written guys! How do your implementations handle load_only / dump_only (i. e. if we want the user to be able to set some value through the API, but not get it) though?

from python-arango.

notpushkin avatar notpushkin commented on May 26, 2024

Or in this case two schemas should be used?

from python-arango.

kashifpk avatar kashifpk commented on May 26, 2024

@ImAle - my plan was that arango-orm would be used within an API implementation layer so access rights (ready-only or write-only) would be handled by the API.

from python-arango.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.