Skip to main content

Push notifications to your iPhone with Bark.

Project description

Barky - Push notifications to your iPhone with Bark.

Bark: https://github.com/Finb/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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page