gh-action-pypi-publish VS pip

Compare gh-action-pypi-publish vs pip and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
gh-action-pypi-publish pip
5 108
844 9,289
2.0% 0.6%
8.1 9.8
1 day ago 4 days ago
Python Python
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gh-action-pypi-publish

Posts with mentions or reviews of gh-action-pypi-publish. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-20.
  • PyPI new user and new project registrations temporarily suspended
    5 projects | news.ycombinator.com | 20 May 2023
    > Recently I've seen someone on Reddit trying to automate the creation of PyPI projects through GitHub Actions. The person was complaining that the first deployment couldn't use an API key for that project since it didn't exist. So I'm not surprised some people are trying to do the same for malicious purposes.

    Sorry for the tangent, but: you can do this now! If you use trusted publishing, you can register a "pending publisher" for a project that doesn't exist yet. When the trusted publisher (like GitHub Actions) is used, it'll create the project[1].

    All of this is supported transparently by the official publishing action for GitHub Actions[2].

    [1]: https://docs.pypi.org/trusted-publishers/creating-a-project-...

    [2]: https://github.com/pypa/gh-action-pypi-publish

  • Publishing to PyPI via GitHub Action
    3 projects | /r/learnpython | 30 Jan 2023
    In the documentation example, I see that the action yaml file contains the line uses: pypa/gh-action-pypi-publish@release/v1. I have never done this before and almost went with that, but I am not sure why the example shows v1 hardcoded, so I don't think I actually want this to happen. It doesn't seem to be well explained though, and the pypi-publish action repo was also quiet on this. Is this saying that it will create a release branch in my repo and call the release v1? Or how will this appear after I've done it? Will I have to manually change this v1 to v0.1.1 in the actions file AND the pyproject.toml?
  • "Even with --dry-run pip will execute arbitrary code found in the package's setup.py. In fact, merely asking pip to download a package can execute arbitrary code"
    5 projects | /r/programming | 21 Sep 2022
    Yeah, you're uploading to PyPi in your pipeline, great. The custom github action still uses twine because the stdlib falls short on BASIC security. https://github.com/pypa/gh-action-pypi-publish/blob/unstable/v1/twine-upload.sh
  • Do you publish pypi source code to Github as well in the same form?
    1 project | /r/learnpython | 5 Sep 2022
    I never bothered with pypi myself but I hope the nudge into github actions helps you. I've found the following promising github action: https://github.com/pypa/gh-action-pypi-publish
  • The Python Package Index is now a GitHub secret scanning integrator
    8 projects | news.ycombinator.com | 24 Mar 2021

pip

Posts with mentions or reviews of pip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-09.
  • How to Create Virtual Environments in Python
    4 projects | dev.to | 9 Feb 2024
    Whenever you are working on a Python project that has external dependencies installed with pip, it is strongly recommended to first create a virtual environment.
  • Boring Python: dependency management (2022)
    3 projects | news.ycombinator.com | 4 Feb 2024
    Unfortunately that feature is easy to break: https://github.com/pypa/pip/issues/9644
  • pip VS instld - a user suggested alternative
    2 projects | 9 Dec 2023
  • sudo pip install should be illegal
    1 project | /r/linuxmemes | 8 Dec 2023
    I think I did my part https://github.com/pypa/pip/issues/6409
  • Can't seem to install Python YAML support
    1 project | /r/Ubuntu | 29 Aug 2023
    $ sudo pip install y$ sudo pip install yaml WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. ERROR: Could not find a version that satisfies the requirement yaml (from versions: none) ERROR: No matching distribution found for yaml
  • Bun v0.6.0 – Bun's new JavaScript bundler and minifier
    9 projects | news.ycombinator.com | 16 May 2023
    What are you implying will happen?

    Using the build-in tools, you can save the exact versions of dependencies (i.e. a lock file) using "pip freeze >dependencies.txt". This should give you the exact same set of packages in two years' time.

    If you want to be even more sure, you can also store hashes in the lock file. This has to be generated by a separate tools at the moment [1][2] but can be consumed by the built-in tools [3], so "pip install -r requirements.txt" is still all you need in two years' time.

    [1] https://github.com/pypa/pip/issues/4732

    [2] https://pip-tools.readthedocs.io/en/latest/#using-hashes

    [3] https://pip.pypa.io/en/stable/topics/secure-installs/#hash-c...

  • My Goldilocks Python Setup: pyenv, pipx, and pip-tools
    4 projects | /r/Python | 22 Apr 2023
    Here’s the issue, https://github.com/pypa/pip/issues/11664. I think the idea would be to have some file/json description of environment that could be passed to pip to allow it to fully cross compile. They are open to supporting it just needs contributor to be found to implement it and go through review/discussion.
  • Remote Code Execution Vulnerability in Google They Are Not Willing to Fix
    2 projects | news.ycombinator.com | 15 Apr 2023
    To be fair the only alternative is fixing Python, and even then you still would have to wait a good 5 years at least for all the old Python versions to dwindle.

    It doesn't look like the fixing effort is progressing very quickly: https://github.com/pypa/pip/issues/8606

    To their credit, at least they didn't close it "works as intended" which I imagine a lot of projects would.

  • Pip 23.1 Released - Massive improvement to backtracking
    5 projects | /r/Python | 15 Apr 2023
    Another good benchmark to trying to resolve apache-airflow[all]==1.10.13 using the state of PyPi on 2020-12-02, I give instructions here on how to reproduce that workflow: https://github.com/pypa/pip/issues/11836. Including a benchmark how how many extra packages your resolver should visit.
  • will upgrading pip break things?
    2 projects | /r/learnpython | 11 Apr 2023

What are some alternatives?

When comparing gh-action-pypi-publish and pip you can also consider the following projects:

build - A simple, correct Python build frontend

mamba - The Fast Cross-Platform Package Manager

git-filter-repo - Quickly rewrite git repository history (filter-branch replacement)

Poetry - Python packaging and dependency management made easy

amplify-preview-actions - This action deploys your AWS Amplify pull request preview for your public repository

PDM - A modern Python package and dependency manager supporting the latest PEP standards

git-repo-sync - Git Repo Sync enables you to synchronize code to other code management platforms, such as GitLab, Gitee, etc.

conda - A system-level, binary package and environment manager running on all major operating systems and platforms.

trufflehog - Find and verify secrets

pip-tools - A set of tools to keep your pinned Python dependencies fresh.

release - Contains every things needed to release jenkins core from the jenkins infra project

wheel - Adoption analysis of Python Wheels: https://pythonwheels.com/