0.1.5 ⢠Published 2 years ago
pyscript-ng v0.1.5
Getting started
Installation
NPM:
npm i pyscript-ng
Usage
To use the app-py-script component in your Angular application, follow these steps:
- Import the PyScriptModule into your main module (e.g. AppModule).
- In your HTML template, use the app-py-script tag to display the Python script, passing the script as a string value to the script input.
Example:
<app-py-script [script]="'print(\'Hello, World!\')'"></app-py-script>
And that's it! The app-py-script component will display the Python script provided in the input.
š¤ Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a āļø if this project helped you!
Or buy me a coffee šš¾
š License
Copyright Ā© 2023 Hebert F Barros. This project is MIT licensed.