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

Create python template #82

Closed
2 of 19 tasks
Tracked by #87
shiipou opened this issue Sep 28, 2022 · 4 comments
Closed
2 of 19 tasks
Tracked by #87

Create python template #82

shiipou opened this issue Sep 28, 2022 · 4 comments

Comments

@shiipou shiipou changed the title python Create python template Sep 28, 2022
@Sidd2024
Copy link

Sidd2024 commented Oct 3, 2022

hey, I would like to contribute here but can you explain to me exactly what I have to do or share some resources to understand better?

@shiipou
Copy link
Contributor Author

shiipou commented Oct 3, 2022

hey, I would like to contribute here but can you explain to me exactly what I have to do or share some resources to understand better?

Hi @Sidd2024,
First of all, thank you for you interest and your help.

This epic contain a list of task to create a new template, each task must be small so it won't be hard for you.

There is two way to create a template :

In all cases, you have to parse the input JSON string to know what action you have to do in your tool.

For example in the V template (template-v is a CLI tool that read from stdin),
I read stdin, then I find if request ask for the app manifest with an empty request, UI widget with any request that contain the widget key, for listener call with any request that contain the action key, and for resources with any request that contain the resources key in the first level of the json map.

When done, I just have to find the function to call with the widget's name, action's name or resource's name to get the app work and call it with the given arguments.

If you need more info, you can contact me at any time. I'll try to answer you quickly as I can.

@shiipou
Copy link
Contributor Author

shiipou commented Oct 3, 2022

The counter app we create in all template must display like this image because that the simplest way to show most of functionality Lenra provide

image

@shiipou
Copy link
Contributor Author

shiipou commented Oct 3, 2022

@Sidd2024 You can post PR to this repository to confirm your entry for Hacktoberfest : https://github.com/lenra-io/template-python

I also create many Issues that represent each task you have to do.
You can do one PR for each task if you want, that allow you to validate your Hacktoberfest just by doing the template.

@shiipou shiipou transferred this issue from another repository Oct 3, 2022
@shiipou shiipou transferred this issue from lenra-io/template-python Oct 3, 2022
@shiipou shiipou mentioned this issue Oct 4, 2022
19 tasks
@taorepoara taorepoara transferred this issue from another repository Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants