This repository contains the source code of the examples of usage Stimulsoft Reports.PYTHON reporting tool in the Python applications, using Python code and JavaScript report engine. The embedded reporting components is fully compatible with Python 3.10 and higher. Full support for Flask, Django and Tornado frameworks, as well as work on any other frameworks.
This repository has a Flask web project with a set of examples, each of which is in a separate .py file:
- Changing an Export Settings on the Server-Side
- Changing the Viewer Theme
- Configuring and Installing Node.js
- Editing a Report Template in the Designer
- Editing a Report Template in the Designer in an HTML template
- Exporting a Report from Code
- Exporting a Report from Code on the Server-Side
- How to Activate the Product
- Loading Scripts in Part to Minify Project
- Localizing the Designer
- Opening the Report in the Viewer and Changing it on the Server-Side
- Registering a Data from Code
- Registering Data when Creating a New Report
- Rendering a Report from Code
- Rendering a Report from Code on the Server-Side
- Saving a Report Template on the Server-Side
- Sending a Report by Email
- Sending an Exported Report to the Server-Side
- Setting Report Variables on the Server-Side
- Showing a Report in the Viewer
- Showing a Report in the Viewer in an HTML template
- Using a Handler in a Separate Function
- Using Parameters in SQL Query
- Working with onDesign and onExit events
Also, these examples are available for Django and Tornado frameworks. They have the same code for deploying and using components. They differ only in the functions used for a specific framework:
Before starting, you should install the framework and component libraries used in your working environment. To do this, run the install.cmd
script file, or manually install the modules specified in this file. Each web project is configured for use in Visual Studio Code. You just need to start the project. To run the project from the command line, use the run.cmd
script file.
After that, in your browser, you can navigate to the following address:
http://127.0.0.1:8040/
Stimulsoft Reports.PYTHON comprises a set of components for creating, viewing, exporting, and printing reports in applications and projects written in Python. The product supports connections of multiple data types, allowing you to work with reports using client-server technology, and also offers extensive capabilities for data visualization and analysis.