[](https://opensource.org/licenses/MIT)
[](https://pypi.python.org/pypi/zroya/)
[](https://pypi.python.org/pypi/zroya/)
[](https://gitHub.com/malja/zroya/graphs/commit-activity)
# zroya2
Zroya is a Python package for creating native Windows notifications.
In contrast to first version of zroya, zroya2 is a Python extension built around C++
[WinToast](https://github.com/mohabouje/WinToast) library.
**Note**: Zroya2 is in beta testing. I would be grateful for any bug reports.
## Prerequisites
There are no requirements at the moment.
## Installation
Zroya2 is now available from pypi:
```
python -m pip install zroya
```
## Example
```python
import zroya
# Initialize zroya module. Make sure to call this function.
# All parameters are required
zroya.init("YourAppName", "CompanyName", "ProductName", "SubProduct", "Version")
# Create notification template. TYPE_TEXT1 means one bold line withou image.
template = zroya.Template( zroya.TemplateType.Text1 )
# Set first line
template.setFirstLine("My First line")
# Save notification id for later use
notificationID = zroya.show(template)
# .. do something, maybe sleep?
# Hide notification
zroya.hide(notificationID)
```
## Documentation
You may find some limited documentation on [Zroya Page](https://malja.github.io/zroya)
[](https://pypi.python.org/pypi/zroya/)
[](https://pypi.python.org/pypi/zroya/)
[](https://gitHub.com/malja/zroya/graphs/commit-activity)
# zroya2
Zroya is a Python package for creating native Windows notifications.
In contrast to first version of zroya, zroya2 is a Python extension built around C++
[WinToast](https://github.com/mohabouje/WinToast) library.
**Note**: Zroya2 is in beta testing. I would be grateful for any bug reports.
## Prerequisites
There are no requirements at the moment.
## Installation
Zroya2 is now available from pypi:
```
python -m pip install zroya
```
## Example
```python
import zroya
# Initialize zroya module. Make sure to call this function.
# All parameters are required
zroya.init("YourAppName", "CompanyName", "ProductName", "SubProduct", "Version")
# Create notification template. TYPE_TEXT1 means one bold line withou image.
template = zroya.Template( zroya.TemplateType.Text1 )
# Set first line
template.setFirstLine("My First line")
# Save notification id for later use
notificationID = zroya.show(template)
# .. do something, maybe sleep?
# Hide notification
zroya.hide(notificationID)
```
## Documentation
You may find some limited documentation on [Zroya Page](https://malja.github.io/zroya)
Metadata
Release files for zroya 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| zroya-0.2.4.tar.gz | 26.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zroya-0.2.4-cp36-cp36m-win32.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-32 | Details |
Total release size: 73.7 kB
Release files / zroya-0.2.4.tar.gz
| Download URL | zroya-0.2.4.tar.gz |
|---|---|
| Size | 26.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8959ec51987598b4adc1c9db5722aa60a8d663971e5ab371be74a9bdb9dea5c
|
|
BLAKE2b-256 checksum How to use checksums |
c0a91e3a6e002580e5830c8e616fe4b67ab679ea834db1fa0698e0c8c028e6e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / zroya-0.2.4-cp36-cp36m-win32.whl
| Download URL | zroya-0.2.4-cp36-cp36m-win32.whl |
|---|---|
| Size | 47.7 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
f972adebfda76b5558576996974939277e38f7b7966933782a9798e0d8b2ad29
|
|
BLAKE2b-256 checksum How to use checksums |
63113633c1a18ba20287a300b6422aff6e7a7d43d5aef694304a2da519ae2ae0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for zroya 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.