jucacrispim / mongomotor Goto Github PK
View Code? Open in Web Editor NEWAsynchronous Object-Document Mapper for Python and MongoDB
Home Page: http://mongomotor.poraodojuca.dev
License: GNU General Public License v3.0
Asynchronous Object-Document Mapper for Python and MongoDB
Home Page: http://mongomotor.poraodojuca.dev
License: GNU General Public License v3.0
Hi @jucacrispim ,
I'm working on a large project involving MongoDB and MongoEngine. We are about to refactor our code in order to make Mongo queries asynchronous. mongomotor is the solution to our problem and we are almost about to integrate it in our project.
The project is a professionnal project, this means that we would report bugs, propose pull requests, etc. We would be contributors to your project.
Unfortunately, our project is distributed under a proprietary licence, which is not compatible with GPL 3 - the licence of mongomotor.
Question : would you mind changing mongomotor's license from GPL 3 to something like Apache or MIT?
I ask the question because you may have chosen GPL 3 ...
Let me know your point of view. We'll decide to continue with mongomotor if changing the licence is ok for you, or we'll continue our investigations in order to find the right module for our needs.
Damien
Motor 2 has breaking changes and mongomotor must be changed. Gridfs support must be refactored
Using mongo 3.6+, the session stuff is broken.
When a reference is already cached, it is returned imediately not, by a future.
RROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<Slave._process_info() done, defined at /home/deployer/toxicmaster-env-py35/src/toxicbuild/toxicbuild/master/slave.py:172> exception=TypeError("object Repository can't be used in 'await' expression",)>
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/home/deployer/toxicmaster-env-py35/src/toxicbuild/toxicbuild/master/slave.py", line 184, in _process_info
await self._process_build_info(build, info)
File "/home/deployer/toxicmaster-env-py35/src/toxicbuild/toxicbuild/master/slave.py", line 193, in _process_build_info
repo = await build.repository
TypeError: object Repository can't be used in 'await' expression
Does mongomotor provide a way to connect with an io_loop explicitly. If not its a good to have enhancement. Since it would be very useful to use mongomotor along with third party async frameworks like sanic.
@app.listener('before_server_start')
def pre_hook(app, loop):
connect('<mongo_url>', io_loop=loop)
tornado should be an optional dependency and should be installed only as an extra.
I need to patch the signals in mongoengine so it accepts coroutines
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.