Where GitHub security meets Dowell’s innovative solutions
Dowell Secure Github Repository Library Package seamlessly integrates with Github’s webhooks, enabling automatic backups of code repositories. It provides real-time backups triggered by specified events, ensuring data protection. The Package offers customization options, allowing developers to define backup frequency and scope. With robust encryption and disaster recovery mechanisms, the Secure Repository Package ensures the integrity and availability of your code backups.
The Package enables easy cloning of public repositories, allowing you to create copies of your codebase. This functionality ensures that you have a complete and up-to-date backup of your repositories, ready for immediate use or restoration.
With seamless integration with Github's webhooks, the Package automatically triggers backups based on specified events. Whether it's a new commit, branch update, or pull request, the Package captures these changes in real-time, ensuring that your backups are always up to date.
The DoWell Secure Github Repository Package generates comprehensive backup reports, providing valuable insights into the status and success of each backup operation. These reports include details such as backup timestamps, repository names, and any potential errors encountered during the backup process. These reports serve as a handy reference for tracking backup history and troubleshooting.
In addition to backup reports, the Package also generates repository reports, offering an overview of each repository's status and health. These reports provide information such as the number of commits, branches, and contributors, giving you a clear snapshot of your codebase's activity and progress.
pip install Dowell-secure-github-repository
Usage
doWellSecureGithubRepository
class:
from doWellSecureGithubRepository import doWellSecureGithubRepository api = doWellSecureGithubRepository(api_key)
clone_repository(repository_url)
: Clones a GitHub repository for backup.
get_backup_reports()
: Retrieves backup reports.
get_repository_reports()
: Retrieves repository reports.
__init__(self, api_key)
Description: Initializes an instance of the doWellSecureGithubRepository class.
Parameters:
api_key
(str): The API key required for authentication with the DoWell Secure Github Repository.clone_repository(self, repository_url)
Description: Clones a GitHub repository.
Parameters:
repository_url
(str): The URL of the GitHub repository to clone.Returns: The response from the library as a JSON object.
get_backup_reports(self)
Description: Retrieves backup reports from the DoWell Secure Github Repository.
Returns: The response from the library as a JSON object.
get_repository_reports(self)
Description: Retrieves repository reports from the DoWell Secure Github Repository.
Returns: The response from the library as a JSON object.
from doWellSecureGithubRepository import doWellSecureGithubRepository api = doWellSecureGithubRepository(api_key) api.clone_repository(repository_url) api.get_backup_reports() api.get_repository_reports()
doWellSecureGithubRepository
class:__init__(api_key)
: Initializes the doWellSecureGithubRepository
object with the API key.clone_repository(repository_url)
: Clones a GitHub repository for backup.get_backup_reports()
: Retrieves backup reports.get_repository_reports()
: Retrieves repository reports.D’Well Research validates and explores each stage of open innovation using user experience research from the field to support user-centered product design of medium and large companies globally.