Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
wicsp committed Feb 24, 2025
1 parent 0398d9f commit 1dd23cb
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 7 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies = [
"loguru>=0.7.2",
"requests>=2.32.3",
"tqdm>=4.66.5",
"sqlmodel>=0.0.22",
]
readme = "README.md"
requires-python = ">= 3.10"
Expand Down
13 changes: 13 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
# universal: false

-e file:.
annotated-types==0.7.0
# via pydantic
certifi==2024.7.4
# via requests
charset-normalizer==3.3.2
Expand All @@ -21,14 +23,25 @@ loguru==0.7.2
mypy==1.11.2
mypy-extensions==1.0.0
# via mypy
pydantic==2.10.4
# via sqlmodel
pydantic-core==2.27.2
# via pydantic
requests==2.32.3
# via wicspy
ruff==0.6.2
sqlalchemy==2.0.36
# via sqlmodel
sqlmodel==0.0.22
# via wicspy
tomli==2.0.1
# via mypy
tqdm==4.66.5
# via wicspy
typing-extensions==4.12.2
# via mypy
# via pydantic
# via pydantic-core
# via sqlalchemy
urllib3==2.2.2
# via requests
14 changes: 14 additions & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
# universal: false

-e file:.
annotated-types==0.7.0
# via pydantic
certifi==2024.7.4
# via requests
charset-normalizer==3.3.2
Expand All @@ -18,9 +20,21 @@ idna==3.8
# via requests
loguru==0.7.2
# via wicspy
pydantic==2.10.4
# via sqlmodel
pydantic-core==2.27.2
# via pydantic
requests==2.32.3
# via wicspy
sqlalchemy==2.0.36
# via sqlmodel
sqlmodel==0.0.22
# via wicspy
tqdm==4.66.5
# via wicspy
typing-extensions==4.12.2
# via pydantic
# via pydantic-core
# via sqlalchemy
urllib3==2.2.2
# via requests
14 changes: 7 additions & 7 deletions src/wicspy/bark.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
"""
'''
Author: wicsp [email protected]
Date: 2024-06-05 14:53:56
Date: 2024-08-26 18:09:47
LastEditors: wicsp [email protected]
LastEditTime: 2024-08-26 18:29:20
LastEditTime: 2024-12-25 21:45:18
FilePath: /wicspy/src/wicspy/bark.py
Description:
Description:
Copyright (c) 2024 by wicsp, All Rights Reserved.
'''

Copyright (c) 2024 by wicsp, All Rights Reserved.
"""

import os
import requests
Expand All @@ -21,7 +22,6 @@
"BARK_ID is not set in environment variables, Please add `export BARK_ID=your_bark_id` to your shell profile file, and then run `source ~/.bashrc` or `source ~/.zshrc` to take effect."
)


def bark(title: str, content: str, group: str | None = None, bark_id=BARK_ID) -> None:
"""send message via bark
Expand Down

0 comments on commit 1dd23cb

Please sign in to comment.