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

Estimated time:

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. 
Contact us!
Damian's Avatar
Iwona Matyjaszek
Head of Sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Have questions or insights?
Engage with experts, share ideas and take your data journey to the next level!
Join Slack

Sign up for ShinyWeekly

Join 4,2k explorers and get the Shiny Weekly Newsletter into your mailbox
for the latest in R/Shiny and Data Science.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Explore Possibilities

Take Your Business Further with Custom Data Solutions

Unlock the full potential of your enterprise with our data services, tailored to the unique needs of Fortune 500 companies. Elevate your strategy -connect with us today!

Talk to our Experts
open source