{"id":15584234,"url":"https://github.com/ableinc/pypm","last_synced_at":"2025-04-24T04:02:04.412Z","repository":{"id":55985865,"uuid":"221067549","full_name":"ableinc/pypm","owner":"ableinc","description":"Python Package Manager","archived":false,"fork":false,"pushed_at":"2023-06-15T16:33:27.000Z","size":94,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T06:41:18.723Z","etag":null,"topics":["cli-tool","command-line-tool","manager","package-manager","packages","python-3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ableinc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-11-11T20:49:15.000Z","updated_at":"2025-03-25T14:39:08.000Z","dependencies_parsed_at":"2024-10-02T20:40:34.225Z","dependency_job_id":null,"html_url":"https://github.com/ableinc/pypm","commit_stats":{"total_commits":39,"total_committers":3,"mean_commits":13.0,"dds":"0.28205128205128205","last_synced_commit":"fe11dc9fecde8cf77f6510ddc19238bf1312b783"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ableinc%2Fpypm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ableinc%2Fpypm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ableinc%2Fpypm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ableinc%2Fpypm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ableinc","download_url":"https://codeload.github.com/ableinc/pypm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250560034,"owners_count":21450170,"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":["cli-tool","command-line-tool","manager","package-manager","packages","python-3"],"created_at":"2024-10-02T20:40:27.136Z","updated_at":"2025-04-24T04:02:03.498Z","avatar_url":"https://github.com/ableinc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyPM\n\nPypm is a python package manager for projects using Python 3 and above. This library is similar to npm. This command line tool works just like npm and should mirror its features.\n\n## Reason\n\nYet another Python tool for your ```PATH```. If you're fluent in Flint or Poetry, give this a try. See areas of improvements? Let me know with a PR!\nPyPM currently uses ```setup.cfg``` as the configuration file. This will be changed to adopt the ```.toml``` configuration file approach.\n\nThis project intends to introduce ***another*** project management tool to the Python community, plus its super light-weight.\n\n## Install\n\n***requires Python 3.6 or above***\n\nPyPI\n\n```bash\npip install pypm2\n```\n\nLocally\n\n```bash\ngit clone https://github.com/ableinc/pypm\ncd pypm\npip install --editable .\n```\n\nVisit PyPi:\n[PyPi for Pyenv](https://pypi.org/project/pypm2/)\n\n## How to Use\n\nPyPM works just like npm. You are granted the same operations such as, init, install, uninstall, update, start, and run.\nRun:\n\n```bash\npypm --help\n```\n\n## Usage\n\n1. init\u003cbr /\u003e\n    Generate a brand new package.json file from information in your requirements.txt and setup.py.\n\n    ```bash\n    pypm init\n    ```\n\n2. run\u003cbr /\u003e\n    Run a predefined scripts from the 'scripts' section of your package.json.\n\n    ```bash\n    pypm run tests\n    ```\n\n3. start\u003cbr /\u003e\n    Run the start script.\n\n    ```bash\n    pypm start\n    ```\n\n4. install \u003csup\u003e1\u003c/sup\u003e\u003cbr /\u003e\n    Install all or specific packages. Using 'install' as a standalone, it will install all dependencies listed in your package.json (if exists).\n\n    ```bash\n    pypm install\n    ```\n\n    or\n\n    ```bash\n    pypm install package1 package2\n    ```\n\n5. uninstall \u003csup\u003e1\u003c/sup\u003e\u003cbr /\u003e\n    Uninstall all or specific packages. Using 'uninstall' as a standalone, it will uninstall all dependencies listed in your package.json (if exists).\n\n    ```bash\n    pypm uninstall\n    ```\n\n    or\n\n    ```bash\n    pypm uninstall package1 package2\n    ```\n\n6. update \u003csup\u003e1\u003c/sup\u003e\u003cbr /\u003e\n    Update all or specific packages. Using 'update' as a standalone, it will update all dependencies listed in your package.json (if exists).\n\n    ```bash\n    pypm update\n    ```\n\n    or\n\n    ```bash\n    pypm update package1 package2\n    ```\n\n7. setup\u003cbr /\u003e\n    Instead of manually creating setup.py and setup.cfg files, you can add the same arguments under the 'setup' key in the package.json (refer to package.json), then run pypm setup to install your project locally.\n\n    ```bash\n    pypm setup\n    ```\n\n    Update setuptools, wheel, pip:\n\n    ```bash\n    pypm setup True\n    ```\n\n    Specify a version of python to use:\n\n    ```bash\n    pypm setup --python python3.9\n    ```\n\n8. getreqs\u003cbr /\u003e\n    Generate the requirments.txt file based on your (virtual) environment.\n\n    ```bash\n    pypm getreqs\n    ```\n\n## Key\n\n\u003csup\u003e1\u003c/sup\u003e Any arguments that pip or npm allow can be combined into these command line arguments. Initiated by adding --arguments option. Example:\n\n```bash\npypm --arguments --no-cache-dir install pydotenvs\n```\n\nThe above example will install the library pydotenvs via PyPI using Pip's built in --no-cache-dir command.\n\nIf you have multiple arguments to append to a command you can seperate them by commas. For example:\n\n```bash\npypm --arguments --no-cache,--verbose,--logs,~/Downloads install pydotenvs\n```\n\n## Notes\n\n1. Documentation is on-going, so refer to examples above for now.\n\n2. Unfortunately someone beat me to the name pypm. Note that when you use pip install be sure to include the 2. This would normally be an issue if you imported this package, but it's a command line tool\n\n3. When generating the setup.py \u0026 setup.cfg files for development mode installation pip, setuptools and wheel may need to be updated. Follow the instructions above to update alongside setup functionality.\n\n## Changelog\n\n**January 2023**\n\n- Fixed bug with stdlib_list library - it is limited to python version \u003c= 3.9. Future updates to the library will remove this dependency.\n- Updated micro version number. New version 0.2.1\n\n**August 2022**\n\n- Updated how the package is installed on the system\n- New algorithm for automatically generating the requirements.txt file has been added\n- ```pypm init``` can now generate the requirements.txt file by pypm command (pypm getreqs)\n- You can now specify a version of python to use for ```pypm setup```. By default it will use python3.\n\n**June 2021**\n\n- Enhanced the arguments feature for CLI tool.\n\n**April 2021**\n\n- Minor bug fix to CLI tool; version update.\n\n**September 2020**\n\n- Verbose is no longer default\n- Setup.py functionality added to package.json\n- Custom error messages\n- CLI updates\n***Setup.py feature  has been introduced in version 0.1.3***\n\n**August 2020**\n\n- CLI has been rebuilt; less complex.\n- PyPI easy install;  pip install pypm2\n\n## Up Next\n\n1. No cache options when installing. - ***Done*** | You may add any arguments that are allowed for pip, npm or any other CLI tool arguments\n2. Better automation algorithm when generating a new package.json - ***Done***\n3. Possible PyPI easy install - ***Done***\n4. Add package-lock.json - **currently in development**\n5. Replace setup.py \u0026 setup.cfg, move functionality to package.json - ***Done***\n6. PyPI upload built in ***Done***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fableinc%2Fpypm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fableinc%2Fpypm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fableinc%2Fpypm/lists"}