Giter Club home page Giter Club logo

lambda-layers's Introduction

Lambda-Layers

A collection of AWS Lambda layers for Python.

I am actively seeking developers and open source contributors to help build layers in other Python versions. If you're interested, please send me your pull requests.

Milestones ๐Ÿšฉ

  • 10 forks โœ”๏ธ 23rd Apr 2022
  • 10 Layers โœ”๏ธ 22nd Mar 2022
  • 25 Stars โœ”๏ธ 31st Jan 2022
  • 50 Stars โœ”๏ธ 1st Jan 2023
  • 20 Layers
  • 100 Stars

Table of Contents

Sl No. Package Python Version Source Link
1 pyodbc 3.7 PyPI Download
2 pandas 3.8 PyPI Download
3 beautifulsoup4 3.8 PyPI Download
4 requests 3.8 PyPI Download
5 openpyxl 3.8 PyPI Download
6 pypdf2 3.8 PyPI Download
7 brotlipy 3.8 PyPI Download
8 pymysql 3.8 PyPI Download
9 pillow 3.8 PyPI Download
10 html2text 3.8 PyPI Download
11 lxml 3.8 PyPI Download
12 tabulate 3.8 PyPI Download
13 xrld 3.8 PyPI Download

lambda-layers's People

Contributors

johnadamsy avatar kuharan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lambda-layers's Issues

Login timeout expired

Whenever I try to connect with database it(pyodbc) is throwing error "('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)') ('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')" on aws lambda.

I have done all the things mention in your medium blog but still getting the above error.

No build script included / binaries not trusted

Please provide a build script for this so people can recreate the layer as needed, for multiple reasons:

  1. Security - how can we trust your code and the binaries?
  2. Maintainability - need the ability to update to new versions of drivers and Python modules.

Thanks

Error with ODBC Layer

Hi, first of all thanks for your work.

I created a 3.7 lambda on aws console.
Copy paste your sample python code directly on the lambda code editor.
Upload the layer zip file and attach to lambda.
Did a very simple test, but the response is:

{
"errorMessage": "('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'SQL Server' : file not found (0) (SQLDriverConnect)")",
"errorType": "Error",
"stackTrace": [
" File "/var/task/lambda_function.py", line 10, in lambda_handler\n conn = pyodbc.connect('Driver={SQL Server};'\n"
]
}

code:
image

image

The layer attached
image

Unable to connect MySQL server using the layer

Able to 'Import pyodbc' ,However, could not connect to MYSQL server.
"errorMessage": "('HYT00', '[HYT00] [Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)')",
What could be the possible reason for this in AWS lambda?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.