# 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:
```python
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:
```python
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](https://bark.day.app/#/tutorial?id=%e8%af%b7%e6%b1%82%e5%8f%82%e6%95%b0).
Raw data
{
"_id": null,
"home_page": "https://github.com/well-shark/Barky",
"name": "Barky",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.4.0",
"maintainer_email": "",
"keywords": "Bark,Push,Notification,iPhone,iOS",
"author": "WellShark",
"author_email": "wellshark.net@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f9/6f/2e562fb16d0f96d4e737367b539a9dc2e287025ebec14b7c377de9688905/Barky-1.0.3.tar.gz",
"platform": null,
"description": "# Barky - Push notifications to your iPhone with Bark.\n\n> Bark: https://github.com/Finb/Bark\n\n# Installation\n\nBinary installers for the latest released version are available on Pypi.\n\n```\npip install Barky\n```\n\n# Usage\n\nFor the first initialization:\n\n```python\nfrom barky import Bark\n\n'''You only need to specify the Server URL and Client Key once\n''' \nbark = Bark('Your Key') # Use default server\n# or\nbark = Bark('Your Key', server='Server URL') # Use custom server\n\nbark.send('Hello World')\n```\nBarky will store the parameters you first specified in `~/.bark/config.ini`.\nModifying this file or re-specifying parameters can adjust the configuration.\n\nThen, for future initialization:\n\n```python\nfrom barky import Bark\n\nbark = Bark() # Using stored configurations\n\nbark.send('Hello World')\n```\n\n`send()` supports all official parameters, such as `title`, `group`, and so on.\nFor specific parameters, please refer to [Bark](https://bark.day.app/#/tutorial?id=%e8%af%b7%e6%b1%82%e5%8f%82%e6%95%b0).\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Push notifications to your iPhone with Bark.",
"version": "1.0.3",
"split_keywords": [
"bark",
"push",
"notification",
"iphone",
"ios"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f96f2e562fb16d0f96d4e737367b539a9dc2e287025ebec14b7c377de9688905",
"md5": "c941df482d06ef98460d7006271b106d",
"sha256": "4691df42b7d6b8d9b1657b21614ffda1421928e9ab78ce90d96e0fffde8b9e90"
},
"downloads": -1,
"filename": "Barky-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "c941df482d06ef98460d7006271b106d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.4.0",
"size": 5883,
"upload_time": "2023-04-10T08:58:09",
"upload_time_iso_8601": "2023-04-10T08:58:09.023514Z",
"url": "https://files.pythonhosted.org/packages/f9/6f/2e562fb16d0f96d4e737367b539a9dc2e287025ebec14b7c377de9688905/Barky-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-10 08:58:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "well-shark",
"github_project": "Barky",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "barky"
}