Is it possible pickle a function with its dependencies?

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
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
  • cloudpickle

    Extended pickling support for Python objects

  • That was my understanding as well but then I found this package -- cloudpickle which seems to serialize both data and functionality?

  • pex

    A tool for generating .pex (Python EXecutable) files, lock files and venvs.

  • You should look into pex, or it’s parent build system pants. A PEX (Python EXecutable) file can package up all your code including dependencies and run on another machine of similar OS with just an available compatible interpreter.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • pants

    The Pants Build System

  • You should look into pex, or it’s parent build system pants. A PEX (Python EXecutable) file can package up all your code including dependencies and run on another machine of similar OS with just an available compatible interpreter.

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

  • Pants 2: The ergonomic build system

    1 project | news.ycombinator.com | 17 Jul 2023
  • Sanity check of my decision for "Iterative AI" (DVC, MLEM, CML) pipeline over Azure ML

    1 project | /r/mlops | 27 Apr 2023
  • Pants 2: fast, scalable, user-friendly build system for codebases of all sizes

    1 project | news.ycombinator.com | 8 Apr 2023
  • Were there "useless" engineers in Twitter?

    1 project | /r/cscareerquestions | 5 Nov 2022
  • Dependency inference: Pants's special sauce

    1 project | /r/scala | 2 Nov 2022