Skip to content

Instantly share code, notes, and snippets.

@gene1wood
gene1wood / aws-lambda-relative-import-no-known-parent-package.md
Last active September 13, 2024 18:56
Python relative imports in AWS Lambda fail with `attempted relative import with no known parent package`

Python relative imports in AWS Lambda fail with attempted relative import with no known parent package

The Problem

In AWS Lambda if I attempt an explicit relative import like this

.
├── lambda_file.py
└── example.py
@jonathanlurie
jonathanlurie / arrayFunction.cpp
Created March 10, 2017 20:56
Emscripten and float arrays v2
#include <math.h>
// otherwise C++ function names are mangled
extern "C" {
void float_multiply_array(float *data, int w, int h, int ncpp) {
int length = w*h;
int currentPixelIndex = 0;
@voluntas
voluntas / webrtc.rst
Last active August 27, 2024 08:14
WebRTC コトハジメ