New level of functionality and performance in data access via Python
Project description
Python Connector for MongoDB
Python Connector for MongoDB is a connectivity solution for accessing MongoDB databases from Python applications. It fully implements the Python DB API 2.0 specification. The connector is distributed as a wheel package for Windows, macOS, and Linux.
Using the connector
To retrieve data from a database:
Import the module.
import devart.mongodb
Connect to a database using the connect()
module method and obtain a connection
object.
my_connection = devart.mongodb.connect(
Server="your_server",
Database="your_database",
Username="your_username",
Password="your_password",
ClientLibary="path_to_libmongoc",
BSONLibrary="path_to_libbson"
)
Create a cursor
object using the cursor()
connection method.
my_cursor = my_connection.cursor()
Execute the SQL statement using the execute()
cursor method.
my_cursor.execute("SELECT * FROM employees")
Retrieve the result set using one of the fetch*()
cursor methods.
for row in my_cursor.fetchall():
print(row)
Ordering and activating the license
You can purchase a license for the connector on the ordering page:
https://www.devart.com/python/mongodb/ordering.html
To activate the license, follow the instructions in the documentation:
https://docs.devart.com/python/mongodb/activate-a-license.htm
What's new
Python Connector for MongoDB 1.2
- Added support for Python 3.13
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for devart_mongodb_connector-1.2.0-cp313-cp313-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7ed9cc72540f8d47bf0b01fc6520c5887a8429bb3bd693070113aab1bd3977d |
|
MD5 | 122340cd9668c5227f9534f055bf97f6 |
|
BLAKE2b-256 | 89c49e8ad4ac1fe558cc8d0a771450e2f9feac58519445a3c8fee18057c921bc |
Hashes for devart_mongodb_connector-1.2.0-cp313-cp313-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39554b4640d72e707929e6ffc39d43f554ccdc4f1a473169c832097839b23963 |
|
MD5 | 5afe8b22466d4e24c0220694b2257824 |
|
BLAKE2b-256 | 5be6d5b0f452c8b43616e0361ba7e842387a51e394fd4c97c943e15ec5f195e0 |
Hashes for devart_mongodb_connector-1.2.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2203e62a049b44100c26f499542f8862d69c3ef98f2d8d65370185c907a4231 |
|
MD5 | 142b98a2e33b1c78e2fadfe49f363f73 |
|
BLAKE2b-256 | d7c78119901f84ee6fbeb6afd6e4fc3fc808c5c26ac9dfc9700708341b85ec65 |
Hashes for devart_mongodb_connector-1.2.0-cp313-cp313-macosx_10_13_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8561902b0fda5d26abd7d14f5be91f0b0ccb157c245d363833d5c68dab2ff1a6 |
|
MD5 | 9edf7920345769edb94d4db550de0f20 |
|
BLAKE2b-256 | 7b6a3bd25918e086e2edb66bd925b5d565c94726b47013423993a4910c67a69e |
Hashes for devart_mongodb_connector-1.2.0-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19229390b4fa73a177557c70ab5302fb230fe7fed29903ede049501e63d6bee1 |
|
MD5 | 442a1f2741b2e336c97b0af16bf25b47 |
|
BLAKE2b-256 | 5022c5f4b7deb95224bd88573049f6736efe13d68f4bf5838cf116b269bf3391 |
Hashes for devart_mongodb_connector-1.2.0-cp312-cp312-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ec09472f1c143f9f9c564f61dda673f5c0090070ec7eacc69d155361c592689 |
|
MD5 | e4b34ab902172fe5e94c3a3378e3ebf7 |
|
BLAKE2b-256 | adcee46493be3239329ee93df4b5e6a0b4dd9943755faa3fc4b2f046309ff2ec |
Hashes for devart_mongodb_connector-1.2.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba31d008bd9b35c96f1c3bfce4da83d52a8298c6d26aec6fd23569bf8ea69eae |
|
MD5 | 6d55f9dbed7850352dd4e3bbe50a3011 |
|
BLAKE2b-256 | c44ab5572dc3043d5933f2f5d3a7619052c6884822a5cb33fd2a56194a89bed8 |
Hashes for devart_mongodb_connector-1.2.0-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 104043011fc11a56e5d2ada03256ed4d68c5339c160bac63726a3cb851305fa4 |
|
MD5 | f80a6a4d583e50fe2b1644fa46bc96ac |
|
BLAKE2b-256 | 0efcc03133107475509a3ad55a2b0e4e9cf76319408972f5a01d9c2bf8686b48 |
Hashes for devart_mongodb_connector-1.2.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d184c71279c329471d6c2af423fa77ab8e9ca0640ff6b4383a6cf9ff4970ae86 |
|
MD5 | 7816aa497498abb678aabbfeb7f5fcb0 |
|
BLAKE2b-256 | 061415715a9f5975df8e22b197de004f9869f92063c70abf76ef30a99b4e315a |
Hashes for devart_mongodb_connector-1.2.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c14cfaaa675315b9e106cc4b0d33396f30d4b78505a7046fe65d8a4d763f82 |
|
MD5 | 802ad60f3de52f284aebd8bbc32ccb25 |
|
BLAKE2b-256 | e5cffd5269ef08b16f6d329083f7bbdfd5912f207b101485c04ea045a7e3ae86 |
Hashes for devart_mongodb_connector-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c17ec759c434a41591fb4b91de6cc4e864ea64e330af750fc876ae52a3a23db |
|
MD5 | 93f315085ec981dd11ed6bfc29550e88 |
|
BLAKE2b-256 | 30458ab667eaf2ef13b119dc290c607bb85a5ede4dda8b67e674d9eb9a400e3c |
Hashes for devart_mongodb_connector-1.2.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc28861cb360fd44c9d7ee860611b95bf3d683346cf288fbb6988b83f8653d8a |
|
MD5 | a5ede4d0e0032d01ef291b8d8770364e |
|
BLAKE2b-256 | 4d723430f628d6c454c34213ba1599ac13c84bddb9bc2cc856b295247b757bf0 |
Hashes for devart_mongodb_connector-1.2.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddf173974ec356c9478e8fa306735449759b3a3047e29653dbe2bfabed228f83 |
|
MD5 | 7ab855ed0429db67c28755353759bd8e |
|
BLAKE2b-256 | ebe934e38c8652ba03cb56fd842cd7bf7f7c1424b83156b6d2146c21914e4344 |
Hashes for devart_mongodb_connector-1.2.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e424c3ffb4c3a115bb7b1cd433cf4a6d924d2511e74986f8005a2f00859df10 |
|
MD5 | a3188844817a21c07523a4a05fe59ead |
|
BLAKE2b-256 | 6b6e1e3376bf7a5c087f70a7fabf5efd6980debecd5253a475c2c08c2047df0c |
Hashes for devart_mongodb_connector-1.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fb0227f9c5a4f89b834cd1a4b476599a5f3e082334e0a772da7706849b040cc |
|
MD5 | 3e175844a01c3dc0ec02545b42679eec |
|
BLAKE2b-256 | 1ebbc6d7b31ff076e46697de12cd90922b7cd271760cd45cf3a66206d9d25af2 |
Hashes for devart_mongodb_connector-1.2.0-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa8169e3f3a97ce0e7af93cfec0836656051005d37c130548f6d65b794c6c2e7 |
|
MD5 | fb39a4915f8bf77f32b88566865d21dc |
|
BLAKE2b-256 | 1f0cbcc0acc886ef99e20e8699e2e77c0a55b071a5abc331cfcd84cddc9151c2 |
Hashes for devart_mongodb_connector-1.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46826d9c3d66f9d6aded7cc749febd5acb3625f088e4c272b9264ec2dc7156b0 |
|
MD5 | fc0bb4da4acd9884b0881ec2c27a13a4 |
|
BLAKE2b-256 | 2f2c694d805159ab70045a16ce742267a9b3a74e2f29cbd29190f0dcda110b72 |
Hashes for devart_mongodb_connector-1.2.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e400fc453b8bbd49911dc8f33bdb2115e2ef6e90bbbcfc6c8a20685699ce3c |
|
MD5 | 20ce8ba7cc945a3fa31b09e68b4f526e |
|
BLAKE2b-256 | daf53fe252bf09dfa98166a0f92cdda9ceca7875604b86c11313efc3bb81f99e |
Hashes for devart_mongodb_connector-1.2.0-cp39-cp39-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c50d08c0128cd1ac1ee0f3de48a7767d5bfe855a7ecb1dfff10786d56186926 |
|
MD5 | a941a4069ec9671e354fac1d4da8d071 |
|
BLAKE2b-256 | 4a3fb52368c7781e9cb7112b0bea89b03fe7106dffe4f9cd41236a5c81a214b8 |
Hashes for devart_mongodb_connector-1.2.0-cp39-cp39-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d71aab166112286ab248e5dab6cafb8d89bb5e5da6e4c3c7d55e0f8944c584d |
|
MD5 | 9ee6c763689ff8a68f28bf7db98913e4 |
|
BLAKE2b-256 | 9b8ec1afc316c481913505587adb5bcf0390bde9df29b87232d5118f1f87eb64 |
Hashes for devart_mongodb_connector-1.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bba3f6b30561b87a64668c0ff9e45cc827dd4780e3347493f9b2c5e4ca881f7 |
|
MD5 | 8b67d9097bd40d354e003b37837735f1 |
|
BLAKE2b-256 | 6e3f80bedf8f0cc67c552400ee8a88982126dda2b334315387ed38593afcb5d7 |
Hashes for devart_mongodb_connector-1.2.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3333b32badda8660d7d4b4ee78c0aa0693e481f5c31d8f0d3203e6446fd87a3 |
|
MD5 | bc1722914ed8079d875b535932793d3b |
|
BLAKE2b-256 | cac60c396babe1fce8924ea91ee67bfd7a15e9d09d9c85bde240950c4841b4f2 |
Hashes for devart_mongodb_connector-1.2.0-cp38-cp38-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a581067b10f1bc134a92840aa42d9050ba511063d9c137c111d86ccf308f5bd0 |
|
MD5 | c34b9afac66ed1747cb3c2f1c219f844 |
|
BLAKE2b-256 | e793c6921bdae01ac5fa1df44c0222bc8c2e0a7bd9adc0fcafb7487403033eac |
Hashes for devart_mongodb_connector-1.2.0-cp38-cp38-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d81d0f20c9c1501896200484dadfd28a6d2ad5530c6e418dce5d85f72fd0ea63 |
|
MD5 | 73d7d00a0a5c504345dfae55a25e30f3 |
|
BLAKE2b-256 | ff0645fba9a071db5eef2ecd808b74e6d43720b4409ee3a333b6c55b3b75e9a0 |
Hashes for devart_mongodb_connector-1.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9965ac4ffaccfc45940e49aadac7982cda2a76fae80cb65f613a878f96ea3d97 |
|
MD5 | 907ae2935c4d95401df197590ef9b23f |
|
BLAKE2b-256 | b0a739f814a28b6192e66851add4c59a9e4cdb1a1191232efdc2d94996089578 |
Hashes for devart_mongodb_connector-1.2.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4678ca31a7c792168f620bb91b1749b45e7f327014b0ceb0c475bd7f490b3d55 |
|
MD5 | d3fa99b441364793f9b5621fd6acda2e |
|
BLAKE2b-256 | 0ba401933c2eed917fb8c8414ad4ad379beb44240d993f68f05a60dfffa4a3ad |
Hashes for devart_mongodb_connector-1.2.0-cp37-cp37m-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd872f9bb05443e5f036feb415b3463437e234a1fef5e7c717691a9554f3dee9 |
|
MD5 | 67f1cf93709296387db3ff6781ba6d2c |
|
BLAKE2b-256 | 3e6a53b5d27f039c5e35511f420da554e54c3fa4a18418394882c27c47d1d60c |
Hashes for devart_mongodb_connector-1.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab3d526367d576836fe4c445ec07e480cee5fb04225ba77553acb0a8e71f9ed0 |
|
MD5 | 6ed47aac1af00e084bf5c80847b7c3d7 |
|
BLAKE2b-256 | fa75e0348a23ea1d1fd4c7da7c7616ca71be928d863b0af32bca5335afa9df39 |