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

[Code-Health]: Refactor Code into Multiple Modules #2

Open
Ash-2k3 opened this issue May 13, 2024 · 1 comment
Open

[Code-Health]: Refactor Code into Multiple Modules #2

Ash-2k3 opened this issue May 13, 2024 · 1 comment

Comments

@Ash-2k3
Copy link
Owner

Ash-2k3 commented May 13, 2024

Description

Currently, all the functionality is in one file main.py

Proposed Solution

Refactoring into multiple modules (e.g., data_fetch.py, chain_extraction.py, ct_submission.py, persistence.py) improves code readability, maintainability, and testability.

@Ash-2k3
Copy link
Owner Author

Ash-2k3 commented May 13, 2024

Also, all the constants like url, filename can be shifted to a new constant.py file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant