windfarer / mongokit-ng Goto Github PK
View Code? Open in Web Editor NEWMongokit (mongodb odm) on Python 3 and based on pymongo 3.9+
License: MIT License
Mongokit (mongodb odm) on Python 3 and based on pymongo 3.9+
License: MIT License
This project ports mongokit to Python 3 and the latest pymongo version.
This project can works in common Python 3 projects now, but there are some issues to be fixed.
OS: MacOS 10.14.6 or Linux
MongoDB version: 4.0
Python 3.5~3.8
https://travis-ci.org/Windfarer/mongokit-ng
Ran 277 tests all passed.
Updating a project that uses discord.py and mongokit-ng to use Python 3.10. Created a new venv for the project and installed the latest dependencies, which are mongokit-ng (and therefore pymongo) and discord.py. This increased pymongo from v3 to v4, whereas the mongokit-ng version was previously 0.1.1. The application connects to MongoDB Atlas. The error in the issue title (and below) occurs when running the application.
D:\Documents\GitHub\Mines-RPG\venv\Scripts\python.exe D:/Documents/GitHub/Mines-RPG/bot.py
Traceback (most recent call last):
File "D:\Documents\GitHub\Mines-RPG\bot.py", line 4, in <module>
from mongokit_ng import Connection
File "D:\Documents\GitHub\Mines-RPG\venv\lib\site-packages\mongokit_ng\__init__.py", line 43, in <module>
from pymongo import (
ImportError: cannot import name 'ALL' from 'pymongo' (D:\Documents\GitHub\Mines-RPG\venv\lib\site-packages\pymongo\__init__.py)
Process finished with exit code 1
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.