-
Changes:
- Updated dependencies manager to
poetry
frompipenv
. Madepandas
an optional package.
- Updated dependencies manager to
-
Fixes:
S3Resource.save
will convert any string stream to binary stream ass3transfer
only support binary streams.S3Bucket.create_resource
will correctly initializeMetadata
with emptydict
instead ofNone
.
-
Fixes:
S3Bucket.list
should properly yield all objects whenmax_objects
is less or equal to0
.
-
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 yieldsS3Resource
in the S3 bucket, instead of a list of string.- Renamed
Result
intoMaybe
.
-
Deprecations
- Deprecated
S3ResourceHelper
(useS3Stream.from_any
instead). - Deprecated
S3Bucket.upload
(useS3Resource.save
instead). - Removed
e2fyi.utils.io
(empty module).
- Deprecated
- Patches:
- Catch exception if
python-magic
is not installed properly.
- Catch exception if
- New features:
- Added methods:
create_resource_key
,create_resource_uri
, andcreate_resource
to S3Bucket.
- Added methods:
- Bug fixes
- incuded
e2fyi.utils.aws
,e2fyi.utils.core
ande2fyi.utils.io
into setup.py
- incuded
- Bug fixes
- included requirements.txt into setup.py
- Added README.md to pypi.
- Initial release.