android-notify 1.40__py3-none-any.whl → 1.41__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/core.py CHANGED
@@ -1,10 +1,10 @@
1
1
  """ Non-Advanced Stuff """
2
2
  import random
3
3
  import os
4
- from jnius import autoclass,cast
5
4
 
6
5
  ON_ANDROID = False
7
6
  try:
7
+ from jnius import autoclass,cast # Needs Java to be installed
8
8
  # Get the required Java classes
9
9
  PythonActivity = autoclass('org.kivy.android.PythonActivity')
10
10
  NotificationChannel = autoclass('android.app.NotificationChannel')
android_notify/sword.py CHANGED
@@ -3,12 +3,12 @@ import difflib
3
3
  import random
4
4
  import os
5
5
  import re
6
- from jnius import autoclass,cast # pylint: disable=W0611, C0114
7
6
 
8
7
  DEV=0
9
8
  ON_ANDROID = False
10
9
 
11
10
  try:
11
+ from jnius import autoclass,cast # Needs Java to be installed pylint: disable=W0611, C0114
12
12
  # Get the required Java classes
13
13
  PythonActivity = autoclass('org.kivy.android.PythonActivity')
14
14
  String = autoclass('java.lang.String')
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: android-notify
3
- Version: 1.40
3
+ Version: 1.41
4
4
  Summary: A Python package that simpilfies creating Android notifications in Kivy apps.
5
5
  Home-page: https://github.com/fector101/android-notify
6
6
  Author: Fabian
@@ -21,6 +21,18 @@ Requires-Python: >=3.6
21
21
  Description-Content-Type: text/markdown
22
22
  Requires-Dist: kivy>=2.0.0
23
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
24
36
 
25
37
  <div align="center">
26
38
  <br>
@@ -166,8 +178,8 @@ notification.send()
166
178
 
167
179
  ```python
168
180
  notification = Notification(
169
- title="Completed download",
170
- message="profile.jpg",
181
+ title="FabianDev_",
182
+ message="A twitter about some programming stuff",
171
183
  style="large_icon",
172
184
  large_icon_path="assets/imgs/profile.png"
173
185
  )
@@ -0,0 +1,9 @@
1
+ android_notify/__init__.py,sha256=dAcsj7M_KHBOira9AVk4LtFFXRHTYsn6tza4Oz7T1MM,107
2
+ android_notify/__main__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ android_notify/core.py,sha256=B3gOgbLGGI6tz-Q_T2wmk74oggOSDX0Qz4lqj00vaFo,6114
4
+ android_notify/styles.py,sha256=I2p31qStg9DaML9U4nXRvdpGzpppK6RS-qlDKuOv_Tk,328
5
+ android_notify/sword.py,sha256=8PtbhX-jaFgrL5l2aSSBty3irsBLEQoOkB-6OqBYVNM,19073
6
+ android_notify-1.41.dist-info/METADATA,sha256=MXqOXHTlbRErESntjBA7Fy5tnXDbsaBc_rxxPlmtLPA,11412
7
+ android_notify-1.41.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
8
+ android_notify-1.41.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
9
+ android_notify-1.41.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- android_notify/__init__.py,sha256=dAcsj7M_KHBOira9AVk4LtFFXRHTYsn6tza4Oz7T1MM,107
2
- android_notify/__main__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- android_notify/core.py,sha256=hHzBnVw25x_WpMHp_HPKCuHEL2mQ7IHC_I3EqQZylas,6081
4
- android_notify/styles.py,sha256=I2p31qStg9DaML9U4nXRvdpGzpppK6RS-qlDKuOv_Tk,328
5
- android_notify/sword.py,sha256=Z74sBX5kJ5kRDQTw4fviDV42TynJhLf2cr87tiuH8oQ,19042
6
- android_notify-1.40.dist-info/METADATA,sha256=-mFbV3wMlL3gRZRCuuVX9UQwqNJzvXXBeHUm4xwklT4,11140
7
- android_notify-1.40.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
8
- android_notify-1.40.dist-info/top_level.txt,sha256=IR1ONMrRSRINZpWn2X0dL5gbWwWINsK7PW8Jy2p4fU8,15
9
- android_notify-1.40.dist-info/RECORD,,