android-notify 1.58__py3-none-any.whl → 1.59.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of android-notify might be problematic. Click here for more details.
- android_notify/{types_idea.py → an_types.py} +20 -1
- android_notify/an_utils.py +10 -0
- android_notify/base.py +10 -3
- android_notify/styles.py +7 -1
- android_notify/sword.py +422 -182
- android_notify-1.59.1.dist-info/METADATA +119 -0
- android_notify-1.59.1.dist-info/RECORD +12 -0
- {android_notify-1.58.dist-info → android_notify-1.59.1.dist-info}/WHEEL +1 -1
- android_notify-1.58.dist-info/METADATA +0 -575
- android_notify-1.58.dist-info/RECORD +0 -11
- {android_notify-1.58.dist-info → android_notify-1.59.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: android-notify
|
|
3
|
+
Version: 1.59.1
|
|
4
|
+
Summary: A Python package that simplifies creating Android notifications in Kivy apps.
|
|
5
|
+
Home-page: https://android-notify.vercel.app
|
|
6
|
+
Author: Fabian
|
|
7
|
+
Author-email: fector101@yahoo.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Documentation, https://android-notify.vercel.app/
|
|
10
|
+
Project-URL: Source, https://github.com/fector101/android-notify
|
|
11
|
+
Project-URL: Tracker, https://github.com/fector101/android-notify/issues
|
|
12
|
+
Project-URL: Funding, https://www.buymeacoffee.com/fector101
|
|
13
|
+
Keywords: android,notifications,kivy,mobile,post-notifications,pyjnius,android-notifications,kivy-notifications,python-android,mobile-development,push-notifications,mobile-app,kivy-application
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Operating System :: Android
|
|
17
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
18
|
+
Classifier: Intended Audience :: Developers
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Requires-Python: >=3.6
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: kivy>=2.0.0
|
|
23
|
+
Requires-Dist: pyjnius>=1.4.2
|
|
24
|
+
Dynamic: author
|
|
25
|
+
Dynamic: author-email
|
|
26
|
+
Dynamic: classifier
|
|
27
|
+
Dynamic: description
|
|
28
|
+
Dynamic: description-content-type
|
|
29
|
+
Dynamic: home-page
|
|
30
|
+
Dynamic: keywords
|
|
31
|
+
Dynamic: license
|
|
32
|
+
Dynamic: project-url
|
|
33
|
+
Dynamic: requires-dist
|
|
34
|
+
Dynamic: requires-python
|
|
35
|
+
Dynamic: summary
|
|
36
|
+
|
|
37
|
+
<div align="center">
|
|
38
|
+
<br>
|
|
39
|
+
<h1> Android-Notify </h1>
|
|
40
|
+
<p><a href='https://android-notify.vercel.app'>Android Notify</a> is a Python library for effortlessly creating and managing Android notifications in Kivy apps.</p>
|
|
41
|
+
<p>Supports various styles and ensures seamless integration, customization and Pythonic APIs.</p>
|
|
42
|
+
<!-- <br> -->
|
|
43
|
+
<!-- <img src="https://raw.githubusercontent.com/Fector101/android_notify/main/docs/imgs/democollage.jpg"> -->
|
|
44
|
+
</div>
|
|
45
|
+
<!-- Channel [CRUD]
|
|
46
|
+
The Android Notify package provides a simple yet comprehensive way to create and manage rich notifications on Android devices directly from your Python code. This library bridges the gap between Python and Android's notification system, giving you full control over notifications with a clean, Pythonic API. -->
|
|
47
|
+
|
|
48
|
+
## Features
|
|
49
|
+
|
|
50
|
+
- **Multiple Notification Styles**: Support for various notification styles including:
|
|
51
|
+
- Simple text notifications
|
|
52
|
+
- Progress bar notifications (determinate and indeterminate)
|
|
53
|
+
- Big text notifications
|
|
54
|
+
- Inbox-style notifications
|
|
55
|
+
- Large icon notifications
|
|
56
|
+
- Big picture notifications
|
|
57
|
+
- Combined image styles
|
|
58
|
+
|
|
59
|
+
- **Rich Functionality**:
|
|
60
|
+
- Add action buttons with custom callbacks
|
|
61
|
+
- Update notification content dynamically
|
|
62
|
+
- Manage progress bars with fine-grained control
|
|
63
|
+
- Custom notification Icon
|
|
64
|
+
- Custom notification channels for Android 8.0+ (Creating and Deleting)
|
|
65
|
+
- Silent notifications
|
|
66
|
+
- Persistent notifications
|
|
67
|
+
- Click handlers and callbacks
|
|
68
|
+
- Cancel Notifications
|
|
69
|
+
|
|
70
|
+
## Quick Start
|
|
71
|
+
|
|
72
|
+
```python
|
|
73
|
+
from android_notify import Notification
|
|
74
|
+
|
|
75
|
+
# Simple notification
|
|
76
|
+
Notification(
|
|
77
|
+
title="Hello",
|
|
78
|
+
message="This is a basic notification."
|
|
79
|
+
).send()
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
**Sample Image:**
|
|
84
|
+

|
|
85
|
+
|
|
86
|
+
## Installation
|
|
87
|
+
|
|
88
|
+
In your **`buildozer.spec`** file, ensure you include the following:
|
|
89
|
+
|
|
90
|
+
```ini
|
|
91
|
+
# Add pyjnius so ensure it's packaged with the build
|
|
92
|
+
requirements = python3, kivy, pyjnius, android-notify
|
|
93
|
+
# Add permission for notifications
|
|
94
|
+
android.permissions = POST_NOTIFICATIONS
|
|
95
|
+
|
|
96
|
+
# Required dependencies (write exactly as shown, no quotation marks)
|
|
97
|
+
android.gradle_dependencies = androidx.core:core:1.6.0, androidx.core:core-ktx:1.15.0
|
|
98
|
+
android.enable_androidx = True
|
|
99
|
+
android.api = 35
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Can be installed via `pip` For testing purposes:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
pip install android_notify
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Documentation
|
|
109
|
+
|
|
110
|
+
For full documentation, examples, and advanced usage, API reference visit the
|
|
111
|
+
[documentation](https://android-notify.vercel.app)
|
|
112
|
+
|
|
113
|
+
## ☕ Support the Project
|
|
114
|
+
|
|
115
|
+
If you find this project helpful, consider buying me a coffee! 😊 Or Giving it a star on 🌟 [GitHub](https://github.com/Fector101/android_notify/) Your support helps maintain and improve the project.
|
|
116
|
+
|
|
117
|
+
<a href="https://www.buymeacoffee.com/fector101" target="_blank">
|
|
118
|
+
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" height="60">
|
|
119
|
+
</a>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
android_notify/__init__.py,sha256=lcLjyfegXgU7cyGhfSphAOBipXwemrVkdYy3mcF6X5Y,172
|
|
2
|
+
android_notify/__main__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
android_notify/an_types.py,sha256=LlE0zzPskVG2topZx3mVETGu5MqnpThs58Ph392ocy4,2390
|
|
4
|
+
android_notify/an_utils.py,sha256=Io34r5JTorH3EbeR0bIfQ-8-bF3xO1wiVnvqafA2qyw,245
|
|
5
|
+
android_notify/base.py,sha256=Fgv3hf-vwu-GvivDsKxseOyeOrLmw1moNAv_mZKvA5M,3477
|
|
6
|
+
android_notify/core.py,sha256=Per4HFwYwP-mxHJqnwcLlWXsbZsSeeAYN49MmFU2qVk,6113
|
|
7
|
+
android_notify/styles.py,sha256=jLxeXB41HXe0fn3l07JZsHi-d0u-dESvsV_OqQow_Xc,726
|
|
8
|
+
android_notify/sword.py,sha256=Zut_Yr2rYsgW4PcjI6bpfHA37Lj9bpvG_ni6DGAIQgE,38327
|
|
9
|
+
android_notify-1.59.1.dist-info/METADATA,sha256=D62WBGubg7FG5Pr8AY-rVTkGF-BpmmKDkqBA2R6QuTI,4375
|
|
10
|
+
android_notify-1.59.1.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
|
11
|
+
android_notify-1.59.1.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
|
|
12
|
+
android_notify-1.59.1.dist-info/RECORD,,
|