Push notifications to your iPhone with Bark.
Project description
Barky - Push notifications to your iPhone with Bark.
Installation
Binary installers for the latest released version are available on Pypi.
pip install Barky
Usage
For the first initialization:
from barky import Bark
'''You only need to specify the Server URL and Client Key once
'''
bark = Bark('Your Key') # Use default server
# or
bark = Bark('Your Key', server='Server URL') # Use custom server
bark.send('Hello World')
Barky will store the parameters you first specified in ~/.bark/config.ini
.
Modifying this file or re-specifying parameters can adjust the configuration.
Then, for future initialization:
from barky import Bark
bark = Bark() # Using stored configurations
bark.send('Hello World')
send()
supports all official parameters, such as title
, group
, and so on.
For specific parameters, please refer to Bark.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Barky-1.0.3.tar.gz
(5.9 kB
view details)
File details
Details for the file Barky-1.0.3.tar.gz
.
File metadata
- Download URL: Barky-1.0.3.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4691df42b7d6b8d9b1657b21614ffda1421928e9ab78ce90d96e0fffde8b9e90 |
|
MD5 | c941df482d06ef98460d7006271b106d |
|
BLAKE2b-256 | f96f2e562fb16d0f96d4e737367b539a9dc2e287025ebec14b7c377de9688905 |