Graph-onedrive

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 3

0.4.0

* Add destination argument to download_file method (Issue [30](https://github.com/dariobauer/graph-onedrive/issues/30))
* Fixed bug in download_file method when verbose was set to false (Issue [29](https://github.com/dariobauer/graph-onedrive/issues/29))
* Removed depreciated class constructors & deconstructors `graph_onedrive.create()`, `graph_onedrive.create_from_config_file()`, `graph_onedrive.save_to_config_file()`, `OneDrive.from_json()`, `OneDrive.to_json()`, `OneDrive.from_yaml()`, `OneDrive.to_yaml()`, `OneDrive.from_toml()`, `OneDrive.to_toml()`. Alternative methods are available, refer to the documentation

0.3.0

Released 2022-01-08

* Added search method to OneDrive class and CLI
* Added optional yaml config files support with optional PyYAML dependency
* Added optional toml config files support with optional TOML dependency
* Improved logging
* `from_json` and `to_json` are now pending depreciation, use `from_file` and `to_file` instead

0.2.0

Released 2021-11-30

* Added py.typed for mypy typing support
* Added ability to create sharing links (Issue [16](https://github.com/dariobauer/graph-onedrive/issues/16))
* Improved upload to attempt to retain file creation and modified metadata (Issue [13](https://github.com/dariobauer/graph-onedrive/issues/13))
* Improved developer experience by adding tests, testing automation (tox, GitHub Actions), requirements files, pre-commit improvements
* Input type checks added and error messaging improved
* Fixed bug in sharing links part of the CLI
* Listing a directory now gets all items, even if there are over 200
* New method detail_item_path details an item by providing a drive path instead of id
* New `OneDriveManager` context manager added
* `create` depreciated, use the OneDrive class directly
* `create_from_config_file`, use `OneDrive.from_json` or the `OneDriveManager` context manager
* `save_to_config_file`, use `OneDrive.to_json` or the `OneDriveManager` context manager
* Added basic logging
* Docs, examples, and tests updated to reflect above changes

0.1.0

Released 2021-10-29

* Improved file download to asynchronously download using multiple connections
* Added HTTPX and aiofiles packages as dependencies
* Replaced Requests package with HTTPX (Issue [11](https://github.com/dariobauer/graph-onedrive/issues/11))
* Added verbose keyword arguments to download and upload functions
* Improved error handling
* item_type, is_file, is_folder methods added
* Fixed a bug in the copy_item method
* Set the copy_item method to confirm the copy by default
* Documentation updates
* Updates to authors.md to include significant contributor (Shub77)

0.0.1a10

Released 2021-10-21

* Major improvements to the cli, now uses argparse, docs updated
* Removed access token validation (Issue [4](https://github.com/dariobauer/graph-onedrive/issues/4))
* Allowed access token response to continue when no refresh token provided (Issue [6](https://github.com/dariobauer/graph-onedrive/issues/6))
* Various dictionary value lookups improved to account for missing keys (Issue [7](https://github.com/dariobauer/graph-onedrive/issues/7))

0.0.1a9

Released 2021-10-20

* Improved code typing
* Updated code formatting
* Improved validation of authorization codes and access tokens (Issues [3](https://github.com/dariobauer/graph-onedrive/issues/3) & [#4](https://github.com/dariobauer/graph-onedrive/issues/4))

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.