-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version 0.2.0: Added S3Stream, S3Resource.save, and deprecated a few …
…other methods.
- Loading branch information
Showing
24 changed files
with
1,614 additions
and
990 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# `e2fyi.utils` | ||
|
||
## v0.2.0 | ||
|
||
- New features: | ||
|
||
- `S3Stream` is a wrapper class for any io streams, with static methods to convert any python objects to a stream. | ||
- Added `S3Resource.save` to upload resource to S3 bucket. | ||
|
||
- Changes: | ||
|
||
- `S3Bucket.list` now return a generator which yields `S3Resource` in the S3 bucket, instead of a list of string. | ||
- Renamed `Result` into `Maybe`. | ||
|
||
- Deprecations | ||
- Deprecated `S3ResourceHelper` (use `S3Stream.from_any` instead). | ||
- Deprecated `S3Bucket.upload` (use `S3Resource.save` instead). | ||
- Removed `e2fyi.utils.io` (empty module). | ||
|
||
## v0.1.0 | ||
|
||
- Patches: | ||
- Catch exception if `python-magic` is not installed properly. | ||
|
||
## v0.1.0a4 | ||
|
||
- New features: | ||
- Added methods: `create_resource_key`, `create_resource_uri`, and `create_resource` to S3Bucket. | ||
|
||
## v0.1.0a3 | ||
|
||
- Bug fixes | ||
- incuded `e2fyi.utils.aws`, `e2fyi.utils.core` and `e2fyi.utils.io` into setup.py | ||
|
||
## v0.1.0a2 | ||
|
||
- Bug fixes | ||
- included requirements.txt into setup.py | ||
|
||
## v0.1.0a1.post1 | ||
|
||
- Added README.md to pypi. | ||
|
||
## v0.1.0a1 | ||
|
||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.