{"id":16735457,"url":"https://github.com/thomasthaddeus/autoupdatepip","last_synced_at":"2025-04-05T06:20:56.687Z","repository":{"id":203193906,"uuid":"709032538","full_name":"thomasthaddeus/AutoUpdatePip","owner":"thomasthaddeus","description":"This is a CLI program that makes updating pip dependencies easier if you don't always use a virtual environment. This works on linux and windows","archived":false,"fork":false,"pushed_at":"2024-04-03T15:01:54.000Z","size":19,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T14:11:16.302Z","etag":null,"topics":["automation","cronjob","linux","pip","pypi","python","sysadmin","update-checker","updater"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomasthaddeus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-23T21:55:46.000Z","updated_at":"2024-02-02T05:43:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b2e0ee7-3eab-4e6b-9565-ad39b488768f","html_url":"https://github.com/thomasthaddeus/AutoUpdatePip","commit_stats":{"total_commits":5,"total_committers":3,"mean_commits":"1.6666666666666667","dds":0.6,"last_synced_commit":"6aa17892f83f104ba180c634fe3727253f31239a"},"previous_names":["thomasthaddeus/auto_update_pip","thomasthaddeus/autoupdatepip"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthaddeus%2FAutoUpdatePip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthaddeus%2FAutoUpdatePip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthaddeus%2FAutoUpdatePip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthaddeus%2FAutoUpdatePip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomasthaddeus","download_url":"https://codeload.github.com/thomasthaddeus/AutoUpdatePip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247295872,"owners_count":20915541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cronjob","linux","pip","pypi","python","sysadmin","update-checker","updater"],"created_at":"2024-10-13T00:06:00.322Z","updated_at":"2025-04-05T06:20:56.670Z","avatar_url":"https://github.com/thomasthaddeus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pip Batch Update Utility\n\nThis utility provides a streamlined way to manage and update your pip packages in batches. It also includes scripts to add `pip_update` to the system environment, allowing the user to easily update pip packages from anywhere within the console.\n\n## Directory Structure\n\n```bash\n|   .gitignore\n|   LICENSE\n|   pyproject.toml\n|   README.md\n|   requirements.txt\n|\n+---docs\n|       pip_config.md\n|       powershell_profile.md\n|       TODO.md\n|\n+---out\n|       output.txt\n|\n\\---src\n    |   main.py\n    |   pip_batch_update.py\n    |   version.py\n    |   __init__.py\n    |\n    +---data\n    |       pip_help_commands.txt\n    |\n    +---logs\n    |       log_0.txt\n    |       log_1.txt\n    |\n    +---scripts\n    |       build_and_push.sh\n    |       create_structure.sh\n    |       pip_update.ps1\n    |       pip_update.sh\n    |\n    \\---utils\n            get_pip_cmds.py\n            log_utils.py\n            __init__.py\n```\n\n## Installation\n\n1. Ensure you have Python installed on your machine.\n2. Clone this repository to your local machine.\n3. Navigate to the `scripts` directory.\n4. Execute the appropriate script for your system (`pip_update.ps1` for PowerShell or `pip_update.sh` for bash) to add `pip_update` to the system environment.\n\n    ```bash\n    # For PowerShell\n    ./pip_update.ps1\n\n    # For bash\n    ./pip_update.sh\n    ```\n\n## Usage\n\n1. Once `pip_update` has been added to the system environment, simply run the following command to update your pip packages in batches:\n\n    ```bash\n    pip_update\n    ```\n\n2. Additional utility scripts are provided in the `src/utils` directory:\n   - `get_pip_cmds.py`: Provides utilities for fetching pip command listings and obtaining help documentation for each command.\n   - `log_utils.py`: Contains a `logrotate` function to handle log rotation in the specified `logs` directory.\n\n## Documentation\n\n- [Pip Configuration](docs/pip_config.md)\n- [PowerShell Profile Configuration](docs/powershell_profile.md)\n\n## License\n\nRefer to the [LICENSE](LICENSE) file for license rights and limitations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasthaddeus%2Fautoupdatepip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasthaddeus%2Fautoupdatepip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasthaddeus%2Fautoupdatepip/lists"}