Don't miss approaching events and opportunities again.
Scrape online results for upcoming events and track them.
Example code:
```
import dotenv
import os
from todomeki import Watcher
dotenv.load_dotenv()
# set up Watcher with google api key for gemini and programmable search engine (api_key),
# search engine id (cx) and location (gl) "us", "uk", "au", "cn", "in", etc
watcher = Watcher(api_key=os.getenv('search_key'), cx=os.getenv('engine_id'), gl="gb")
# search for event
query = input("Enter your search query: ")
watcher.track_event(query)
# return upcoming events in 30 day range
watcher.nearing_events()
# manually add event
watcher.manually_add_event('BiscuitBobby workshop', '12/2/2024')
# remove event
watcher.remove_event('BiscuitBobby workshop')
```
Raw data
{
"_id": null,
"home_page": "https://github.com/BiscuitBobby/todomeki",
"name": "todomeki",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "BiscuitBobby",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/96/a5/63ebc6d2e9f6d268e155f9c8a07fad393fb614571329e01532994ffef758/todomeki-0.1.2.tar.gz",
"platform": null,
"description": "Don't miss approaching events and opportunities again.\nScrape online results for upcoming events and track them.\n\nExample code:\n```\nimport dotenv\nimport os\nfrom todomeki import Watcher\n\ndotenv.load_dotenv()\n\n# set up Watcher with google api key for gemini and programmable search engine (api_key),\n# search engine id (cx) and location (gl) \"us\", \"uk\", \"au\", \"cn\", \"in\", etc\nwatcher = Watcher(api_key=os.getenv('search_key'), cx=os.getenv('engine_id'), gl=\"gb\")\n\n# search for event\nquery = input(\"Enter your search query: \")\nwatcher.track_event(query)\n\n# return upcoming events in 30 day range\nwatcher.nearing_events()\n\n# manually add event\nwatcher.manually_add_event('BiscuitBobby workshop', '12/2/2024')\n\n# remove event\nwatcher.remove_event('BiscuitBobby workshop')\n\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Track event details from web resultse",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/BiscuitBobby/todomeki"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0de3c7d49cf879a31b11a627623b00df504a8e3ac233bd9f2b13e2c013ed16d1",
"md5": "a72949c2afa22a352fcb4f76c3c24372",
"sha256": "f7f1f330b0b8e53833683f6bce1681f3d0955400d7e024e08f0430d8dbe86376"
},
"downloads": -1,
"filename": "todomeki-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a72949c2afa22a352fcb4f76c3c24372",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2087,
"upload_time": "2024-02-11T11:53:21",
"upload_time_iso_8601": "2024-02-11T11:53:21.349951Z",
"url": "https://files.pythonhosted.org/packages/0d/e3/c7d49cf879a31b11a627623b00df504a8e3ac233bd9f2b13e2c013ed16d1/todomeki-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "96a563ebc6d2e9f6d268e155f9c8a07fad393fb614571329e01532994ffef758",
"md5": "9a853815d0c5df63944e6308b1185e14",
"sha256": "3dde2759c0b2d49ed846945c50bf53f517e0a3b106d8cf593b6b644176aead6a"
},
"downloads": -1,
"filename": "todomeki-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "9a853815d0c5df63944e6308b1185e14",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1924,
"upload_time": "2024-02-11T11:53:23",
"upload_time_iso_8601": "2024-02-11T11:53:23.270050Z",
"url": "https://files.pythonhosted.org/packages/96/a5/63ebc6d2e9f6d268e155f9c8a07fad393fb614571329e01532994ffef758/todomeki-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-11 11:53:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "BiscuitBobby",
"github_project": "todomeki",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "typing-extensions",
"specs": []
},
{
"name": "selenium-screenshot",
"specs": []
},
{
"name": "google-generativeai",
"specs": []
},
{
"name": "setuptools",
"specs": [
[
"~=",
"66.1.1"
]
]
},
{
"name": "selenium",
"specs": [
[
"~=",
"4.15.2"
]
]
},
{
"name": "langchain",
"specs": [
[
"~=",
"0.0.354"
]
]
},
{
"name": "requests",
"specs": [
[
"~=",
"2.31.0"
]
]
}
],
"lcname": "todomeki"
}