Monary

Latest version: v0.5.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.0

------------------------
- Remove vendoring of libmongoc - users **must** install libmongoc 1.0 or later independently.
- Improved error handling and error reporting.
- Improved Testing: tests can be run through ``setup.py test``; added skiptest; removed dependency on Nose.
- Inserts.
- Connection over SSL.
- Various bugfixes.

0.3.0

------------------------
Version 0.3.0 is a major overhaul of the backend code.

- Upgrade to latest version of the MongoDB C driver (0.98.0).
- ``monary_connect`` now takes a MongoDB URI or hostname and port. See the
`connection string documentation
<http://docs.mongodb.org/manual/reference/connection-string/>`_ for more
information.
- Monary can now freely cast between integer and floating-point values.
- Debug messages are suppressed by default.
- ``datehelper`` now allows negative timedeltas and time values to represent
dates before the epoch.
- Monary objects no longer support the ``authenticate()`` method, which is a
breaking change. If your code relied on ``authenticate()``, you must now
include the username and password in the MongoDB URI passed into the Monary
constructor.
Authentication now occurs when a connection is made.


Issues Resolved
...............
The new connection format fixes a `bug
<https://bitbucket.org/djcbeach/monary/issue/5/if-host-is-set-to-localhost-in>`_
where connection failures or invoking the constructor with
``monary.Monary("localhost")`` would cause a segmentation fault.

0.2.3

------------------------
Bugfix release.

Issues Resolved
...............
Fixed a bug with query sorts.

0.1.4

------------------------
Upgraded to the latest version of the MongoDB C driver - changed the signature
for the ``mongo_connect()`` function.

0.1.3

------------------------
Added support for sorting queries and providing hints - see ``Monary.query``.

Added simple unit tests for ``Monary.authenticate``.

0.1.2

------------------------
Added support for a "date" type which populates an array of in64 values from a
BSON date. The date value is milliseconds since January 1, 1970.

Column tests improved.

Strict argument checks added to datehelper functions.

Issues Resolved
...............
Fixed a minor bug in ``datehelper.mongodelta_to_timedelta()``, which was not
accepting a ``numpy.int64`` instance as the date value. (Now we simply convert
the argument to a Python int.)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.