Dowell secure github repository from DoWell
Project description
DoWell Secure Github Repository
Version: 1.0.0
Description:
This 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 DoWell Secure Github Repository Package offers a range of powerful features to enhance code backup:
-
Repository Clone: 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.
-
Webhooks Integration: 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.
-
Backup Reports: 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.
-
Repository Reports: 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.
Installation:
- Install the package using pip:
pip install Dowell-secure-github-repository
Usage:
- Import the package and create an instance of the
doWellSecureGithubRepository
class:
from doWellSecureGithubRepository import doWellSecureGithubRepository
api = doWellSecureGithubRepository(api_key)
-
Available methods:
-
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.
-
Example:
from doWellSecureGithubRepository import doWellSecureGithubRepository
api = doWellSecureGithubRepository(api_key)
api.clone_repository(repository_url)
api.get_backup_reports()
api.get_repository_reports()
Library Reference:
-
doWellSecureGithubRepository
class:-
__init__(api_key)
: Initializes thedoWellSecureGithubRepository
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.
-
Configuration:
- The package requires a valid API key for authentication.
Dependencies:
-
requests: Required for making HTTP requests.
-
json: Required for parsing JSON data.
Support:
-
For detailed API documentation, including endpoint descriptions, request and response examples, and authentication details, please refer to the API Documentation.
-
If you encounter any issues, have questions, or need assistance with the DoWell Secure Github Repository library, please contact our support team.
License:
- Apache License 2.0
Powered by DoWell UX Living Lab
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file DoWell Secure Github Repository-1.0.0.tar.gz
.
File metadata
- Download URL: DoWell Secure Github Repository-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62b2648a94e597281883448c50998098ef68af1de1be6bb9c71cae7a7611bc45 |
|
MD5 | 6dbeeadd571ce8e5b64b019a440673d3 |
|
BLAKE2b-256 | 93cef6b79dc20289968bf55d8be1d65975023cc86437df3355e5a1517c0d3b00 |
File details
Details for the file DoWell_Secure_Github_Repository-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: DoWell_Secure_Github_Repository-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 772256b35d66074b59071be8e0f87b5d7eff6def71b4f18679b0beff1d017ea7 |
|
MD5 | 487fbacc5b7fff1278dacc72952a5118 |
|
BLAKE2b-256 | e4dcd5fb373daabbfe2ed21c923f38adcc71f65db2aa88e0b70bcb2508662b53 |