Show HN: Morgan – PyPI Mirror for Restricted/Offline Environments

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • morgan

    PyPI Mirror for Restricted/Offline Environments (by ido50)

  • pypickup

    Creates a local PyPI mirror that works offline

  • 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.

  • vscodeoffline

    Enables Visual Studio Code's extension gallery to be used in offline (air-gapped) environments. Or, run your own gallery!

    Thanks for posting this. I'm going to give setting up Morgan a shot when I've got some free cycles.

    I'd hesitantly accepted the risk of serving a devpi server over vsock and into my (personal) restricted VLAN. I did so because using a shared folder meant I'd need have cached the module and any dependencies from my internet-connected VLAN first.

    Combined with debmirror[0], vscodeoffline[1], and some nightly snatcher shell scripts, I think I have most of my needs covered.

    [0] https://help.ubuntu.com/community/Debmirror

    [1] https://github.com/LOLINTERNETZ/vscodeoffline

  • rules_pycross

    Bazel + Python rules for cross-platform external dependencies

  • resolvelib

    Resolve abstract dependencies into concrete ones

  • simpleindex

    This is pretty cool. I created simpleindex[1] a while ago to solve a different problem, but since the solution is essentially also running a custom index server, it has several overlapping functionalities to Morgan’s server script. I wonder if there’s a common pattern that can be extracted out…

    BTW I also maintain resolvelib (mentioned in another comment), feel free to shoot any questions in the issue tracker or the PyPA Discord[2], or any other means. The documentation is a bit sparse and there are not many resources on dependency resolution in general, and there’s a few of us that help each other out on things.

    [1]: https://github.com/uranusjr/simpleindex

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts