Pynamicui

Latest version: v0.1.0

Safety actively analyzes 687852 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1

Apply the style to an element
createElement(dom, "Button", props={"text": "Click Me"}, style="MyButtonStyle")


**Conclusion**
With intelligent padding now available in Pynamic UI 0.0.8, creating visually pleasing user interfaces across various resolutions has never been easier. The new `spacing` parameter and style-based padding options offer flexibility and simplicity in achieving consistent padding for your elements.

We hope you enjoy using this new feature! As always, your feedback is invaluable to us as we continue to improve Pynamic UI. Thank you for being a part of our journey, and happy coding!

*Note: This version includes other minor bug fixes and improvements for a smoother experience.*

0.1.0

1. **Improved Rendering Algorithm:** We have revamped the rendering mechanism to deliver a more efficient and smoother user interface experience. The rendering process has been fine-tuned for better performance and responsiveness.

2. **Support for CustomTkinter Widgets:** This release adds support for CustomTkinter widgets. You can now create these widgets with more flexibility and customization using the `spawnProps` parameter in the `createElement` method. This feature enables you to define and manipulate widget properties with increased granularity.

3. **Introduction of the `createPageViewer` Class:** We have introduced the `createPageViewer` class, an excellent tool for managing dynamic lists or grids of elements. This class simplifies the process of adding, removing, and rendering items in dynamic lists or grids. The addition of `createPageViewer` not only makes handling dynamic content more convenient, but it also contributes to cleaner and more manageable code.

Changes:

- Upgraded rendering algorithm for enhanced performance.
- Expanded support for CustomTkinter widgets with `spawnProps` in `createElement`.
- Added the `createPageViewer` class to simplify the management of dynamic lists or grids.

This release represents our continuous commitment to improve and expand the capabilities of PynamicUI. We believe that these enhancements will provide you with a more powerful toolset for building dynamic and responsive applications.

We look forward to hearing your feedback on these new additions and improvements!

---

Thank you for your support and contribution to PynamicUI.

-The PynamicUI Development Team

0.0.9

We're excited to announce the release of PynamicUI 0.0.9! This release focuses on major new feature updates: the introduction of the Grid System and additional image handling functions. Here's what's new in 0.0.9:

New Features:

1. **Grid System**: With this update, you can now create grid layouts for your UI design. This feature allows you to define grid structures based on unique IDs, enabling flexible placement and organization of UI components. This is done through the `setGrid` method of the `createElement` class, where you define the width and height of the grid and assign each cell an ID.

2. **Child Element Placement**: As part of the new grid system, you can now assign each child element an ID. When a grid is set, these child elements will be automatically placed in the corresponding grid cell based on their ID. This allows you to handle complex UI designs with nested elements in an efficient and intuitive way.

3. **Image Handling Functions**: We have included new importable functions `createImage` and `createImageTheme` for image management. `createImage` creates a static image irrespective of the theme mode. `createImageTheme` creates an image that has a light mode and dark mode image, providing better support for theme-based UI designs.

Improvements:

1. **Improved Documentation**: The documentation has been updated to include detailed information about the new Grid System, how to use it, and several examples to help you get started.

2. **Performance Enhancements**: Several performance improvements have been made to ensure the grid system operates smoothly, especially when handling complex UI designs.

As always, we appreciate your feedback, and look forward to hearing about your experiences with the new grid system and image handling features!

Upgrade to PynamicUI 0.0.9 and enhance your UI designs today!

0.0.8

**Pynamic UI 0.0.8 Release Notes**

We are thrilled to announce the release of Pynamic UI version 0.0.8! This version introduces a highly anticipated feature: built-in intelligent padding for elements. With this new enhancement, you can easily apply padding to your elements and achieve a smooth transition between different resolutions.

**Intelligent Padding**
In version 0.0.8, we have added intelligent padding functionality to our elements. The padding is automatically scaled relative to the element's size, ensuring a seamless and visually appealing layout across various resolutions.

**Padding Options**
Padding can be applied to elements using the `spacing` parameter during element creation. You can now specify the padding for both the x and y directions using the `padx` and `pady` properties, respectively.

**Style-based Padding**
Additionally, we have introduced the ability to apply padding using styles. By adding `padx` and `pady` properties to a style and applying that style to an element, you can easily achieve consistent padding throughout your user interface.

**How to Use Intelligent Padding**
To apply padding during element creation, simply use the `spacing` parameter with the desired `padx` and `pady` values:

python
createElement(dom, "Button", props={"text": "Click Me"}, spacing={"padx": 0.1, "pady": 0.1})


If you prefer using styles, create a style with `padx` and `pady` properties:

python
Create a stylesheet
stylesheet = createStylesheet()

Define a style with padx and pady properties

0.0.7

New Features and Enhancements

- `destroy()` method added to `createElement` class: With the introduction of the `destroy()` method, users can now easily remove elements created with `createElement` from the virtual DOM. This method allows for more efficient management of elements and helps to improve memory usage within the application.

- `appendChild()` method added to `createDom` class: The new `appendChild()` method allows users to add child elements to existing parent elements within the virtual DOM. This feature enhances the flexibility and modularity of PynamicUI by enabling dynamic changes to the component hierarchy during runtime.

- Support for existing CustomTkinter root elements: PynamicUI now provides support for integrating seamlessly into existing codebases that already utilize CustomTkinter root elements. Users can now leverage the power and simplicity of PynamicUI in their existing applications without having to make significant changes to their codebase.

Bug Fixes

- Resolved minor issues related to element rendering: The rendering process for elements has been optimized, resulting in improved performance and stability.

General Improvements

- Codebase optimizations: Various optimizations have been made to the underlying codebase, leading to faster rendering and overall improved performance of PynamicUI applications.

- Expanded documentation: The wiki and usage examples have been updated to provide more comprehensive information about the library's features, usage, and best practices.

How to Upgrade

To upgrade to version 0.0.7, simply update your PynamicUI package using your preferred package manager:

bash
pip install --upgrade pynamicui


We hope that these new features and improvements make your experience with PynamicUI even better. As always, we welcome your feedback and suggestions for future enhancements. Happy coding with PynamicUI 0.0.7! 🚀

0.0.6

We are excited to announce the release of PynamicUI version 0.0.6, which brings significant improvements to distribution, enhanced documentation, and a more user-friendly wiki. This release focuses on making it easier for developers to integrate PynamicUI into their projects and leverage its dynamic web-like UI capabilities.

What's New

Improved Distribution
Since version 0.0.5, we have streamlined the distribution process, making it easier than ever to install and use PynamicUI in your Python projects. You can now simply use the `pip` package manager to install PynamicUI and its dependencies effortlessly:

bash
pip install pynamicui


Updated README
Our README has been revised to provide clearer and more comprehensive instructions on how to use PynamicUI in your projects. It now serves as a concise guide, pointing users to our detailed wiki for in-depth usage examples, state management, hooks, and styling with PynamicUI.

Enhanced Wiki
We have invested time in revamping our wiki with comprehensive guides and examples to assist developers in understanding and utilizing PynamicUI to its full potential. The wiki now covers topics such as state management, hooks, styling, and various usage examples. Refer to our [PynamicUI Wiki](https://github.com/zacharie410/PynamicUI/wiki) for more information.

Improved CustomTkinter Integration
PynamicUI relies on the excellent CustomTkinter library as the underlying UI toolkit. With version 0.0.5, we ensure seamless integration with the latest version of CustomTkinter, providing a stable and reliable foundation for your dynamic UI needs.

Bug Fixes and Enhancements
Version 0.0.5 includes various bug fixes and performance improvements to make your experience with PynamicUI smoother and more efficient.

How to Get Started

To start using PynamicUI in your projects, simply install it using `pip`:

bash
pip install pynamicui


For detailed usage examples, state management, hooks, and styling guidelines, please refer to our [PynamicUI Wiki](https://github.com/zacharie410/PynamicUI/wiki).

Your Feedback Matters

We appreciate the feedback and support from our growing community of developers. Please feel free to share your thoughts, report issues, or suggest improvements on our [GitHub repository](https://github.com/zacharie410/PynamicUI). Together, we can continue to improve and refine PynamicUI to meet your needs.

Thank you for choosing PynamicUI! Happy coding! 🚀

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.