Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@-0/build-lambda-py

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@-0/build-lambda-py

Node CLI for building Python Lambda packages using Poetry

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-42.86%
Maintainers
1
Weekly downloads
 
Created
Source

build-lambda-py.js

Node CLI for building Python Lambda packages using Poetry

Help

> node build-lambda-py help build
Usage: build-lambda-py build [options] <parent>

Builds a Python Lambda package using Poetry

Arguments:
  parent                [relative to script] Source directory containing all dependencies...

  Suggested parent structure:

      parent
      ├── src
      │   ├── __init__.py
      │   └── local_dep.py
      ├── handler.py
      ├── pyproject.toml
      └── poetry.lock


Options:
  -h, --handler <file>  [relative to parent] Lambda handler file (default: "handler.py")
  -t, --target <dir>    [relative to parent] Target director containing code to bundle (default: "src")
  -o, --out-dir <dir>   [relative to parent] DEDICATED zip file output directory (default: "zipped")
  -d, --dev-deps        Include Poetry `group.dev` dependencies (default: false)
  --help                display help for command

Usage

> node build-lambda-py build ../terraform/lambdas/upload_mp

==== Building: ...terraform/lambdas/upload_mp ====

exporting    : requirements.txt...
building     : upload_mp from poetry.lock file...
rolling      : wheels for dependencies...
copying      : handler and src into package root...
touching     : __init__.py into package root...
zipping      : package as: upload_mp.zip

==== Zipped: ...upload_mp/zipped/upload_mp.zip ====

Dependencies

  • Node.js
  • Commander.js
  • Python
  • Poetry

Installation

npm install -g @-0/build-lambda-py

Keywords

FAQs

Package last updated on 30 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc