GithubHelp home page GithubHelp logo

anomalyinnovations / serverless-python-starter Goto Github PK

View Code? Open in Web Editor NEW
37.0 5.0 10.0 19 KB

Python starter project for Serverless Framework

Python 100.00%
serverless python serverless-framework virtualenv serverless-python-requirements

serverless-python-starter's People

Contributors

fwang avatar jayair avatar seed-run-1 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

Watchers

 avatar  avatar  avatar  avatar  avatar

serverless-python-starter's Issues

Unable to link dependency 'bin' because a file by the same name exists in this service

I am having an error while running serverless deploy after following the starter instructions.

The error states:
Unable to link dependency 'bin' because a file by the same name exists in this service

This is the serverless.yml content:

service: py-server

plugins:

  • serverless-python-requirements

custom:
pythonRequirements:
dockerizePip: false
pythonBin: C:\Python27\python

provider:
name: aws
runtime: python2.7
stage: dev
region: us-east-1

functions:
query_forest:
handler: handler.query_forest
events:
- http:
path: /
method: get

[Suggestion] Pytest as testing framework

Hello, at the beginning I'd like to thank you guys for awesome job on starters and serverless stack project.

I have a small suggestion for this template regarding test setup. While unittest is a part of standard library, pytest is becoming the go-to testing framework in Python.

What do you think about replacing unittest with pytest in this starter?

Regards

Fail to Deploy

Hi, I'm following the README and encountered the following error while trying to deploy the API.

My Python is installed at C:\Program Files\Python36. Not sure if that's related.

Serverless: Installing required Python packages with python3.6...

  Error --------------------------------------------------

  python3.6 not found! Try the pythonBin option.

     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information -----------------------------
     OS:                     win32
     Node Version:           8.11.2
     Serverless Version:     1.30.1

Thanks

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.