Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/1.1.0 #25

Merged
merged 12 commits into from
Jan 4, 2025
Merged

Release/1.1.0 #25

merged 12 commits into from
Jan 4, 2025

Conversation

aoki-h-jp
Copy link
Owner

No description provided.

aoki-h-jp and others added 12 commits January 4, 2025 00:03
…nceBulkDownloader

- Updated `requests` to version 2.32.0 and `setuptools` to version 70.0.0 in `requirements.txt`.
- Bumped version to 1.1.0 in `setup.py`.
- Improved error handling in `downloader.py` with detailed console output using `rich`.
- Added parameter validation checks for asset type, time period, and data frequency.
- Introduced new test cases for error scenarios in `tests/test_error_cases.py`.
- Added a dummy zip file for testing purposes.
- Added support for downloading data for specific symbols in the BinanceBulkDownloader class.
- Updated README.md with examples for downloading single and multiple symbols.
- Introduced a new example script for downloading spot market data for specific symbols.
- Added comprehensive tests for symbol filtering in the downloader, including cases for single and multiple symbols, as well as handling invalid and empty symbol lists.
- Removed a dummy zip file from the test directory.
- Removed actual download calls and replaced them with checks for parameter validation using _check_params() method.
- Updated test cases to ensure valid parameters do not raise errors.
- Adjusted data frequency and time period settings for multiple symbols tests.
- Enhanced the test for invalid symbols to verify that no files are returned for invalid inputs.
- Ensured that tests for empty symbols list validate parameter handling without performing downloads.
… progress display

- Refactored the _get_file_list_from_s3_bucket method to include a live progress display while fetching files from S3.
- Updated the constructor docstring to clarify symbol handling and added support for downloading multiple symbols more effectively.
- Improved error handling during file downloads and unzipping processes.
- Adjusted example scripts to reflect changes in symbol handling and data frequency.
- Enhanced tests for spot market symbols to validate parameter handling and ensure correct symbol filtering.
- Enhanced examples for downloading single and multiple symbols by adding parameters for data type, data frequency, and asset type.
- Updated the instantiation of BinanceBulkDownloader to include new options for improved data handling and clarity.
- Introduced a fixture to mock S3 responses for spot market symbols, allowing for more controlled testing.
- Updated the test for spot symbols to utilize the mock response, ensuring accurate validation of symbol filtering without actual S3 calls.
- Improved assertions to validate prefix and file list conditions based on symbol inputs, enhancing test reliability and clarity.
- Updated the GitHub Actions workflow for pytest to streamline Python setup and dependency installation.
- Enhanced test documentation in test_spot_symbols.py by translating comments to English for better clarity and consistency.
- Removed unnecessary comments to improve code readability.
@aoki-h-jp aoki-h-jp merged commit ef23648 into main Jan 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant