Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python language support #539

Closed
cavanaug opened this issue Aug 10, 2018 · 32 comments · Fixed by #2009
Closed

Python language support #539

cavanaug opened this issue Aug 10, 2018 · 32 comments · Fixed by #2009
Labels
language/python Related to Python bindings language/support Related to non-typescript language bindings that aren't currently supported

Comments

@cavanaug
Copy link

cavanaug commented Aug 10, 2018

+1 if you want to see Python language support for the CDK

@cavanaug wrote:

So I know everyone hates this question, but does anyone have any idea when python support might be added, even if its not a complete functionality set?? Weeks? Months? Years?

We have a team here that is very versed in python and we were going to be looking at troposphere soon, but we are curious about python support with cdk.

@eladb
Copy link
Contributor

eladb commented Aug 12, 2018

Hey @cavanaug, thanks for your question. We don't hate this question, as it gives us indication that there are users out there who are interested in such support. We are actively working on Python support (as oppose to say, Go support, which is in our roadmap, but haven't started to work on), which means it's going to come out at some point. I'd say in the coming few months, but truly can't commit on a date. As you know, software is always surprising (which is why it's fun).

@eladb eladb changed the title Python language support?? Python language support Aug 12, 2018
@kennu
Copy link

kennu commented Sep 23, 2018

I am also interested in Python support. TypeScript is great, but the build step is a little cumbersome. I think Python might be an optimal language for CDK in its terseness, even though the package management with virtualenvs etc. isn't that convenient. In fact, I would hope that AWS CDK defines some standard way of how to deal with Python package dependencies.

@steveparker-1984
Copy link

Also interested

@eladb
Copy link
Contributor

eladb commented Sep 25, 2018

Follow up here: aws/jsii#219

@eladb eladb closed this as completed Sep 25, 2018
@eladb
Copy link
Contributor

eladb commented Dec 1, 2018

Reopening. This is in the works on the Jsii repository, but we’ll track that here as well so people can follow.

@eladb eladb reopened this Dec 1, 2018
@eladb
Copy link
Contributor

eladb commented Dec 1, 2018

New pull request: aws/jsii#319

@debora-ito debora-ito added the language/python Related to Python bindings label Dec 4, 2018
@pkordes
Copy link

pkordes commented Dec 21, 2018

The pull request seems stalled?

@eladb
Copy link
Contributor

eladb commented Dec 23, 2018

@pkordes thanks for your interest! End of year is a very busy time at Amazon :-), but rest assured, we are working on getting CDK for Python off the ground. Stay tuned.

@trondhindenes
Copy link

Any news around this? We'd love to start using the CDK, but are reluctant to change languages, as we're standardized on Python.

@kennu
Copy link

kennu commented Jan 24, 2019

I, for one. am in pain with all the TypeScript compilation steps needed for projects that define lots of separate CDK constructs and stacks. It makes development very inconvenient. Hoping that Python support solves this.

@eladb
Copy link
Contributor

eladb commented Jan 29, 2019

@trondhindenes you can track the python work here: aws/jsii#319
@kennu could you share a bit more about your pain with typescript (just curious)? have you tried ts-node maybe?

@kennu
Copy link

kennu commented Jan 29, 2019

@eladb I have not tried ts-node, I've just followed the way CDK generates projects with build scripts and obediently executed them always after making changes. Do you recommend ts-node as the main way to run CDK? No surprising gotchas, it just runs the latest versions of everything?

@eladb
Copy link
Contributor

eladb commented Jan 29, 2019

I don't think there should be an issue with ts-node. We are considering moving our templates to use it too. Would love to hear about your experience in #1532

Edit: fixed issue

@alborworld
Copy link

+1 for python support. Thank you!

@tweaknc
Copy link

tweaknc commented Feb 11, 2019

+1 python please!

@dsalavei
Copy link

+1

5 similar comments
@chriswessells
Copy link
Contributor

+1

@rnason
Copy link

rnason commented Feb 24, 2019

+1

@jeff-shep
Copy link

+1

@Entr04y
Copy link

Entr04y commented Mar 6, 2019

+1

@zzzThibaut
Copy link

+1

@eladb eladb added the language/support Related to non-typescript language bindings that aren't currently supported label Mar 12, 2019
@mbylstra
Copy link

+1

2 similar comments
@rongzuoliu
Copy link

+1

@laur1s
Copy link

laur1s commented Mar 13, 2019

+1

@cloudfiles-me
Copy link

+1

1 similar comment
@ori-o
Copy link

ori-o commented Mar 14, 2019

+1

@tokenmathguy
Copy link

With the resolution of awslabs/jsii#319, what process needs to happen to add python as a jsii target to the package.jsons?

@angusfz
Copy link

angusfz commented Apr 12, 2019

Using troposphere, it will be great for cdk supporting python

@eladb
Copy link
Contributor

eladb commented Apr 14, 2019

Python support has been released.

@laur1s
Copy link

laur1s commented Apr 15, 2019

Python support has been released.

How can you say it's released when there are no documentation on how to actually use it?

@eladb
Copy link
Contributor

eladb commented Apr 15, 2019

You are right, we haven't officially announced it yet nor published the docs. Let's keep this open until we do. In the meantime, check out this blog post by @rhboyd

@eladb eladb reopened this Apr 15, 2019
@ccfife
Copy link
Contributor

ccfife commented May 8, 2019

Looks like we can close this one now. yea!
https://docs.aws.amazon.com/cdk/api/latest/python/index.html
https://aws.amazon.com/blogs/developer/getting-started-with-the-aws-cloud-development-kit-and-python/

@rix0rrr rix0rrr closed this as completed Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language/python Related to Python bindings language/support Related to non-typescript language bindings that aren't currently supported
Projects
None yet
Development

Successfully merging a pull request may close this issue.