# Repository Manager
![PyPI - Version](https://img.shields.io/pypi/v/repository-manager)
![PyPI - Downloads](https://img.shields.io/pypi/dd/repository-manager)
![GitHub Repo stars](https://img.shields.io/github/stars/Knuckles-Team/repository-manager)
![GitHub forks](https://img.shields.io/github/forks/Knuckles-Team/repository-manager)
![GitHub contributors](https://img.shields.io/github/contributors/Knuckles-Team/repository-manager)
![PyPI - License](https://img.shields.io/pypi/l/repository-manager)
![GitHub](https://img.shields.io/github/license/Knuckles-Team/repository-manager)
![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/Knuckles-Team/repository-manager)
![GitHub pull requests](https://img.shields.io/github/issues-pr/Knuckles-Team/repository-manager)
![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/Knuckles-Team/repository-manager)
![GitHub issues](https://img.shields.io/github/issues/Knuckles-Team/repository-manager)
![GitHub top language](https://img.shields.io/github/languages/top/Knuckles-Team/repository-manager)
![GitHub language count](https://img.shields.io/github/languages/count/Knuckles-Team/repository-manager)
![GitHub repo size](https://img.shields.io/github/repo-size/Knuckles-Team/repository-manager)
![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/Knuckles-Team/repository-manager)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/repository-manager)
![PyPI - Implementation](https://img.shields.io/pypi/implementation/repository-manager)
*Version: 0.8.4*
Manage your Git projects
Run all Git supported tasks using Git Actions command
This repository is actively maintained - Contributions are welcome!
<details>
<summary><b>Usage:</b></summary>
| Short Flag | Long Flag | Description |
|------------|------------------|----------------------------------------|
| -h | --help | See Usage |
| -b | --default-branch | Checkout default branch |
| -c | --clone | Clone projects specified |
| -d | --directory | Directory to clone/pull projects |
| -f | --file | File with repository links |
| -p | --pull | Pull projects in parent directory |
| -r | --repositories | Comma separated Git URLs |
| -t | --threads | Number of parallel threads - Default 4 |
</details>
<details>
<summary><b>Example:</b></summary>
Run through CLI
```bash
repository-manager \
--clone \
--pull \
--directory '/home/user/Downloads' \
--file '/home/user/Downloads/repositories.txt' \
--repositories 'https://github.com/Knucklessg1/media-downloader,https://github.com/Knucklessg1/genius-bot' \
--threads 8
```
Use directly in Python
```python
from repository_manager import Git
gitlab = Git()
gitlab.set_repository_directory("<directory>")
gitlab.set_threads(threads=8)
gitlab.set_git_projects("<projects>")
gitlab.set_default_branch(set_to_default_branch=True)
gitlab.clone_projects_in_parallel()
gitlab.pull_projects_in_parallel()
```
</details>
<details>
<summary><b>Installation Instructions:</b></summary>
Install Python Package
```bash
python -m pip install repository-manager
```
</details>
## Geniusbot Application
Use with a GUI through Geniusbot
Visit our [GitHub](https://github.com/Knuckles-Team/geniusbot) for more information
<details>
<summary><b>Installation Instructions with Geniusbot:</b></summary>
Install Python Package
```bash
python -m pip install geniusbot
```
</details>
<details>
<summary><b>Repository Owners:</b></summary>
<img width="100%" height="180em" src="https://github-readme-stats.vercel.app/api?username=Knucklessg1&show_icons=true&hide_border=true&&count_private=true&include_all_commits=true" />
![GitHub followers](https://img.shields.io/github/followers/Knucklessg1)
![GitHub User's stars](https://img.shields.io/github/stars/Knucklessg1)
</details>
Raw data
{
"_id": null,
"home_page": "https://github.com/Knuckles-Team/repository-manager",
"name": "repository-manager",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Audel Rouhi",
"author_email": "knucklessg1@gmail.com",
"download_url": null,
"platform": null,
"description": "# Repository Manager\n\n![PyPI - Version](https://img.shields.io/pypi/v/repository-manager)\n![PyPI - Downloads](https://img.shields.io/pypi/dd/repository-manager)\n![GitHub Repo stars](https://img.shields.io/github/stars/Knuckles-Team/repository-manager)\n![GitHub forks](https://img.shields.io/github/forks/Knuckles-Team/repository-manager)\n![GitHub contributors](https://img.shields.io/github/contributors/Knuckles-Team/repository-manager)\n![PyPI - License](https://img.shields.io/pypi/l/repository-manager)\n![GitHub](https://img.shields.io/github/license/Knuckles-Team/repository-manager)\n\n![GitHub last commit (by committer)](https://img.shields.io/github/last-commit/Knuckles-Team/repository-manager)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/Knuckles-Team/repository-manager)\n![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/Knuckles-Team/repository-manager)\n![GitHub issues](https://img.shields.io/github/issues/Knuckles-Team/repository-manager)\n\n![GitHub top language](https://img.shields.io/github/languages/top/Knuckles-Team/repository-manager)\n![GitHub language count](https://img.shields.io/github/languages/count/Knuckles-Team/repository-manager)\n![GitHub repo size](https://img.shields.io/github/repo-size/Knuckles-Team/repository-manager)\n![GitHub repo file count (file type)](https://img.shields.io/github/directory-file-count/Knuckles-Team/repository-manager)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/repository-manager)\n![PyPI - Implementation](https://img.shields.io/pypi/implementation/repository-manager)\n\n*Version: 0.8.4*\n\nManage your Git projects\n\nRun all Git supported tasks using Git Actions command\n\nThis repository is actively maintained - Contributions are welcome!\n\n<details>\n <summary><b>Usage:</b></summary>\n\n| Short Flag | Long Flag | Description |\n|------------|------------------|----------------------------------------|\n| -h | --help | See Usage |\n| -b | --default-branch | Checkout default branch |\n| -c | --clone | Clone projects specified |\n| -d | --directory | Directory to clone/pull projects |\n| -f | --file | File with repository links |\n| -p | --pull | Pull projects in parent directory |\n| -r | --repositories | Comma separated Git URLs |\n| -t | --threads | Number of parallel threads - Default 4 |\n\n</details>\n\n<details>\n <summary><b>Example:</b></summary>\n\nRun through CLI\n```bash\nrepository-manager \\\n --clone \\\n --pull \\\n --directory '/home/user/Downloads' \\\n --file '/home/user/Downloads/repositories.txt' \\\n --repositories 'https://github.com/Knucklessg1/media-downloader,https://github.com/Knucklessg1/genius-bot' \\\n --threads 8\n```\n\nUse directly in Python\n```python\nfrom repository_manager import Git\n\ngitlab = Git()\n\ngitlab.set_repository_directory(\"<directory>\")\n\ngitlab.set_threads(threads=8)\n\ngitlab.set_git_projects(\"<projects>\")\n\ngitlab.set_default_branch(set_to_default_branch=True)\n\ngitlab.clone_projects_in_parallel()\n\ngitlab.pull_projects_in_parallel()\n```\n</details>\n\n<details>\n <summary><b>Installation Instructions:</b></summary>\n\nInstall Python Package\n\n```bash\npython -m pip install repository-manager\n```\n</details>\n\n## Geniusbot Application\n\nUse with a GUI through Geniusbot\n\nVisit our [GitHub](https://github.com/Knuckles-Team/geniusbot) for more information\n\n<details>\n <summary><b>Installation Instructions with Geniusbot:</b></summary>\n\nInstall Python Package\n\n```bash\npython -m pip install geniusbot\n```\n\n</details>\n\n\n<details>\n <summary><b>Repository Owners:</b></summary>\n\n\n<img width=\"100%\" height=\"180em\" src=\"https://github-readme-stats.vercel.app/api?username=Knucklessg1&show_icons=true&hide_border=true&&count_private=true&include_all_commits=true\" />\n\n![GitHub followers](https://img.shields.io/github/followers/Knucklessg1)\n![GitHub User's stars](https://img.shields.io/github/stars/Knucklessg1)\n</details>\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Manage your git projects",
"version": "0.8.4",
"project_urls": {
"Homepage": "https://github.com/Knuckles-Team/repository-manager"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "29836a4cd737962e7b7aaa2c51637cd9896752a41195fb985256c4401b8e3346",
"md5": "e6bc8cb6501fa782138c6a0bdd770cab",
"sha256": "12938f6d5dfc333697f8d3c5198b6702efa62ce9296434d307badcbd4014c79c"
},
"downloads": -1,
"filename": "repository_manager-0.8.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "e6bc8cb6501fa782138c6a0bdd770cab",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 6269,
"upload_time": "2024-05-09T04:42:42",
"upload_time_iso_8601": "2024-05-09T04:42:42.869015Z",
"url": "https://files.pythonhosted.org/packages/29/83/6a4cd737962e7b7aaa2c51637cd9896752a41195fb985256c4401b8e3346/repository_manager-0.8.4-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-09 04:42:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Knuckles-Team",
"github_project": "repository-manager",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "repository-manager"
}