Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t.
Following the release and an introductory blog post on Tapyr, our Shiny for Python framework, we recently hosted a Shiny Gathering to further explore its features and capabilities.
Ready to simplify your PyShiny dashboard development? Learn how to get started with Tapyr in this introductory guide.
Here’s a summary of the key points covered during the session, presented by Piotr Pasza Storożenko, the Innovation Lead at Appsilon and creator of Tapyr.
Session Overview
Pasza guided us through the Tapyr framework, emphasizing its goal to simplify the development of deployment-ready PyShiny applications.
Here Are The Major Takeaways:
Getting Started with Tapyr
- Setup and Installation: Tapyr can be set up both locally and in the cloud. The session demonstrated creating a new repository from the Tapyr template and cloning it. The installation process involves using Poetry for dependency management and packaging in Python.
- Running the Example App: Pasza showcased running the default Tapyr app using Poetry, highlighting the ease of installing necessary packages, activating the environment, and running the application. This example app illustrated Tapyr’s ability to create interactive, Shiny-like applications.
Need help getting started with Tapyr? Take a look at the documentation.
Editing and Customizing the App
- Customization: Modifying the UI components and server logic in Tapyr is straightforward. Pasza demonstrated how easily developers can customize the app to suit their needs, showcasing Tapyr’s flexibility.
- Deployment: Tapyr is designed for efficient deployment. Developers can deploy their applications to platforms like Posit Connect using simple commands, ensuring their projects are shareable and accessible.
Testing with Tapyr
- Robust Testing Capabilities: Tapyr supports both unit tests and end-to-end tests using Pytest and Playwright. This ensures the reliability and functionality of applications through comprehensive testing of individual components and overall user interactions.
Why Tapyr?
Tapyr stands out among other Python frameworks like Streamlit or Dash. Tapyr leverages Shiny’s reactive programming model, offering a balanced approach between ease of use and production readiness, making it an excellent choice for developing interactive web applications in Python.
Watch The Full Session
For a detailed walkthrough of Tapyr, including live demonstrations and further insights from Pasza, watch the full session on YouTube.
Interested in learning more about Tapyr and other open-source packages? Subscribe to our newsletter to have them delivered to your inbox.
The post appeared first on appsilon.com/blog/.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you’re looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t.
Continue reading: Open Source Spotlight Recap: Tapyr (Deployment-Ready PyShiny Template)
A Comprehensive Follow-Up on Tapyr: A Shiny for Python Framework
Tapyr, a recently introduced Python framework for shiny applications, deploys a unique approach to streamline the development and deployment of PyShiny apps. This follow-up analysis of an introductory session on Tapyr, led by Piotr Pasza Storożenko, provides long-term implications and potential future developments based on the core features and capabilities of the framework.
Getting Started with Tapyr
Tapyr stands out with its straightforward setup and installation process, which can be performed both locally and in the cloud. The framework utilizes Poetry for dependency management and packaging in Python, making it a practical option for developing Shiny-like web applications. Users can conveniently start with Tapyr, creating a new repository from the Tapyr template and cloning it.
Actionable Advice: Beginners should take advantage of the comprehensive documentation available to get started with Tapyr. Learning and understanding the underlying mechanisms of Tapyr can simplify your web application development process significantly.
Customization with Tapyr
Editing and customizing applications with Tapyr remain relatively simple. The framework is designed to simplify the modification of UI components and server logic. Developers are granted a flexible platform, enabling them to deploy to platforms such as Posit Connect using simple commands, ensuring project shareability and accessibility.
Actionable Advice: As you learn how to use Tapyr, explore its customization options fully. The power of Tapyr lies in its flexibility – take the opportunity to modify the application to suit your specific needs. Learn efficient deployment processes to ensure your projects are readily accessible and shareable.
Testing in Tapyr
Testing is an essential step in web application development, and Tapyr comes packed with robust testing capabilities. The framework supports both unit tests and end-to-end tests using Pytest and Playwright, verifying the functionality and reliability of applications and their components.
Actionable Advice: Leverage Tapyr’s testing capabilities to full extent. Regularly run both unit tests and end-to-end tests to ensure the developed applications’ reliability and overall functionality.
Why Tapyr?
Tapyr is set apart from other Python frameworks like Streamlit or Dash due to its reactive programming model from Shiny. It offers a balanced approach between ease of use and production readiness, making it an excellent choice for developing interactive web applications in Python.
Actionable Advice: Choose Tapyr for a balanced and convenient web application development process. Take full advantage of its Shiny-derived reactive programming model and enjoy a straightforward journey from conception to production.
For a detailed guide on Tapyr, including live demonstrations and further insights, the full session on YouTube is highly recommended. To stay informed about updates on Tapyr and other open-source packages, subscribing to relevant newsletters can be beneficial.