Modularizes Python Files and Introduce .env File for Improved Security #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
The Python files in the project are currently monolithic and can be difficult to manage and maintain. Additionally, sensitive information such as API keys are stored in a "keys.py" file, which can pose a security risk if accessed by unauthorized users. To address these issues, a pull request has been submitted that modularizes the Python files and introduces the use of a .env file for improved security.
Changes
Modularized Python files: The pull request modularizes the Python files in the project to improve their manageability and maintainability. Each file is broken down into smaller modules that focus on specific functionalities, making it easier to locate and modify specific code.
Introduced .env file: The pull request introduces the use of a .env file to store sensitive information such as API keys. This provides an added layer of security by preventing unauthorized access to sensitive information.
Removed keys.py file: The pull request removes the "keys.py" file from the project since it's no longer needed. Instead, the sensitive information is stored securely in the .env file.
Added a .gitignore file to ignore certain files and directories that should not be tracked by the version control system, such as pycache directories, virtual environments, etc.
Documentation
The pull request updates the project's documentation to reflect the changes made to the Python files and the introduction of the .env file. This helps other developers understand how to use the new file structure and ensures that the project's documentation is accurate and up-to-date.