pyscript-ng
v0.1.5
Published
<p align="center"> <img width="100px" src="https://raw.githubusercontent.com/hebertcisco/pyscript-ng/main/.github/images/favicon512x512-pyscript-ng.png" align="center" alt=":package: pyscript-ng" /> <h2 align="center">:package: pyscript-ng</h2> <p alig
Downloads
4
Readme
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.