Open Source Spotlight Recap: Tapyr (Deployment-Ready PyShiny Template)

[This article was first published on Tag: r - Appsilon | Enterprise R Shiny Dashboards, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
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/.

To leave a comment for the author, please follow the link and comment on their blog: Tag: r - Appsilon | Enterprise R Shiny Dashboards.

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.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)