Hex vs PyPI
Hex
hex.pmPyPI
pypi.orgSide by side
| Figure | Hex | PyPI |
|---|---|---|
| Price from | $7.50/mo | $5/mo |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | — | Yes |
| Web | Yes | Yes |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 5 | 4 |
| Spec score · Package Registries | 8.3 (#10) | 8.8 (#6) |
| Founded | 2014 | LinkedIn lists the Python Software Foundation as founded in 2001. |
| Self hosting | The documentation explains how to build and serve a Hex package repository on infrastructure you operate. | The Warehouse codebase that powers PyPI can be run locally with Docker for development and testing. |
| What it does | Hex is a package manager for the BEAM ecosystem, including languages such as Elixir and Erlang. | PyPI is a repository where Python software is published, discovered, downloaded, and installed. |
Plans
Hex
- Open SourceFree
- Private Packages$9 a month
- Open SourceFree
- Private Packages (annual)$90 a year
- EnterprisePriced on request
PyPI
- Community organizationFree
- Community OrganizationFree
- Company organization$5 a month
- Corporate Organization$5 a month
In their own words
Hex
Hex is a package manager for the BEAM ecosystem, including Elixir and Erlang. Its services include an HTTP API, a website, a package and index repository, HexDocs, Mix integration, and other components. Packages work with Mix, Rebar, and erlang.mk, and the site provides usage guidance for Gleam. Developers can fetch dependencies without creating an account.
Organizations can publish and retrieve private packages and manage which users can access them. Free organizations can publish public dependency policies; paid organizations can make policies private and apply them to public and private packages. A private package can depend only on packages in its organization’s repository and the global hexpm repository. Documentation explains how to build and serve a repository on infrastructure an organization operates. Hex supports organization authentication keys for CI, and its source code is licensed under the Apache 2 License. The Open Source plan is free. Private Packages are listed at $9 / user / month, with an annual option at $90 / per user / per year. Enterprise pricing is by contacting sales. Hex lists API, self-hosted, and web platforms.
PyPI
PyPI is a repository for software written in Python, available through its website and APIs. It helps users find and install packages shared by the Python community, while package authors publish projects and releases. A release may include source archives and binary wheels for different hardware, operating systems, and formats. APIs include RSS feeds for new packages and releases. PyPI is maintained by the Python Software Foundation and the Python community. Accounts require two-factor authentication, and a verified email address is needed to register a project or upload a release file. Trusted Publishing uses OpenID Connect short-lived identity tokens, with PyPI API tokens valid for 15 minutes. Default limits are 100 MB per file and 10 GB per project. Organizations provide shared profiles, teams, permissions, trusted publishing, and history. Community organizations are free; Company organizations cost $5 a month.