monty icon indicating copy to clipboard operation
monty copied to clipboard

This repository implements supplementary useful functions for Python that are not part of the standard library. Examples include useful utilities like transparent support for zipped files etc.

Results 15 monty issues
Sort by recently updated
recently updated
newest added

Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 4.6.3 to 4.7.2. Release notes Sourced from pymongo's releases. PyMongo 4.7.2 Community Notes: https://www.mongodb.com/community/forums/t/pymongo-4-7-2-released/279584 PyMongo 4.7.1 Community release note: https://www.mongodb.com/community/forums/t/pymongo-4-7-1-released/278459 PyMongo 4.7.0 Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-7-0-released/277656 Changelog Sourced...

dependencies
python

updates: - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.4.3) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0) - [github.com/MarcoGorelli/cython-lint: v0.16.0 → v0.16.2](https://github.com/MarcoGorelli/cython-lint/compare/v0.16.0...v0.16.2) - [github.com/igorshubovych/markdownlint-cli: v0.39.0 → v0.40.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.39.0...v0.40.0)

Bumps [orjson](https://github.com/ijl/orjson) from 3.10.0 to 3.10.3. Release notes Sourced from orjson's releases. 3.10.3 Changed manylinux amd64 builds include runtime-detected AVX-512 str implementation. Tests now compatible with numpy v2. 3.10.2 Fixed...

dependencies
python

Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.66.2 to 4.66.4. Release notes Sourced from tqdm's releases. tqdm v4.66.4 stable rich: fix completion (#1395 <- #1306) minor framework updates & code tidy (#1578) tqdm v4.66.3...

dependencies
python

Unit test for `tempfile` (`test_tempfile.py`) alters test file `3000_lines.txt.gz` in place (because of re-gzip), could leadi to repeated commit of this file, for example in fd6b16ddde887573d1f8b986d00bdf5a2407f840. Triggered by the following...

datetime objects with time zone info break the serializatin because `__str__` doesn't output in the format that monty expects. Example: `datetime.datetime(2018, 12, 19, 21, 45, 41, 99000, tzinfo=datetime.timezone.utc).__str__()` yields `"2018-12-19...

https://github.com/materialsvirtuallab/monty/blob/5d37679e1f0cd58a8d165d76f3a095cb71266831/monty/json.py#L291-L300 Pydantic suggests a straight swap for `core_schema.with_info_plain_validator_function`

### Problem Hi! `dumpfn`/`loadfn` functions work excellent with any class and type when it comes to json. But your part with yaml has no additional processing (like json part) and...

## System * Monty version: 2022.9.9 * Python version: 3.11 * OS version: windows ## Summary In [reverse_readfile](https://github.com/materialsvirtuallab/monty/blob/23b3c5c390627f773ef04712c022f3f0fdaff61c/monty/io.py#L72) the line separator is hard coded as `\n`, but since monty opens...

## Summary Solves #89 * tuple's, collections.namedtuple's, typing.NamedTuple's, set's, frozenset's and collections.OrderedDict's are automatically serialized as special dictionaries, that allow to reconstruct the proper object upon deserialization. ## TODO Might...