Name | ohmm JSON |
Version |
1.0.1
JSON |
| download |
home_page | |
Summary | Automation Library |
upload_time | 2022-12-23 10:32:32 |
maintainer | |
docs_url | None |
author | DataKund |
requires_python | |
license | Apache License 2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Bot Studio is a python library for runing bots built with DataKund Studio.
You can also train bots with DataKund to automate repetitive work without doing any programming.
It currently runs only on windows.
### Installation
```sh
pip install ohmm
```
### Import Bot Studio
```
from ohmm import *
```
### Create Object
Create object first to open browser.
```sh
dk=ohmm.new()
or
om=ohmm.new(argument1=value,argument2=value,..)
```
### Browser Options
| Option | Default Value | Description |
| ------------- | ---------------------------|-------------------------------------------
| headless | False | Can set it to ``True`` if wants headless |
| proxy | No proxy | Pass proxy value e.g ``98.0.2.5:4000`` |
| profile_path | creates temporary profile | Pass profile path e.g ``C:\\Users\\username\\AppData\\Local\\Google\\Chrome\\User Data\\``|
| user_agent | No user agent | Pass user agent e.g ``python 2.7", "platform":"Windows``|
| download_folder|Downloads in default folder | If want to set download directory to custom e.g ``E:files\\``|
#### Run a bot
```sh
dk.amazon_login(email='put your email here', login_url='https://www.amazon.com/gp/sign-in.html', password='put password here')
```
#### Make Bot using Studio
To create your own bot follow below steps:-
* Run command "datakund" in command prompt
* A browser will get opened containing DK extension
* To open Extension press Alt+O
* Type the bot name e.g "google_search" and click on "Make New Bot"
* Click on Record and do actions like opening link, typing etc.
* Go back and then Run bot
---
**NOTE**
If you want to call your bots in your code, then consider bot names which do not contain space, special character etc.
---
#### Access Your bot through Code
To access your code:-
* Go to Code Section in extension
* Go to python and copy the code
* Now run that code, your bot will run
#### Make your bots public
To share your bots with public, so that anyone can run them follow these steps:-
* Go to your bot in Extension
* Go to More section and then Publish
* Write title, desc and image and click on Publish
* Here you go, now anyone can run this bot
#### Run public bot
Here we will run the bot we did made above
```sh
google_search(keyword="shoes")
```
### Send Feedback to Developers
```sh
ohmm.send_feedback(feedback="Need help with this ......")
```
### Contact Us
* [Telegram](https://t.me/datakund)
* [Website](https://datakund.com)
Raw data
{
"_id": null,
"home_page": "",
"name": "ohmm",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "DataKund",
"author_email": "datakund@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ea/24/56109a19aec581dec15f4e6f7022c3c05ded8d1b24d10cca7bb7c1659d09/ohmm-1.0.1.tar.gz",
"platform": null,
"description": "Bot Studio is a python library for runing bots built with DataKund Studio.\nYou can also train bots with DataKund to automate repetitive work without doing any programming.\nIt currently runs only on windows.\n\n### Installation\n```sh\npip install ohmm\n```\n\n### Import Bot Studio\n```\nfrom ohmm import *\n```\n\n### Create Object\nCreate object first to open browser.\n```sh\ndk=ohmm.new()\nor\nom=ohmm.new(argument1=value,argument2=value,..)\n```\n\n### Browser Options\n| Option | Default Value | Description\t\t\t\t\t\t\t |\n| ------------- | ---------------------------|-------------------------------------------\n| headless | False | Can set it to ``True`` if wants headless |\n| proxy\t | No proxy\t | Pass proxy value e.g ``98.0.2.5:4000`` \t|\n| profile_path | creates temporary profile | Pass profile path e.g ``C:\\\\Users\\\\username\\\\AppData\\\\Local\\\\Google\\\\Chrome\\\\User Data\\\\``|\n| user_agent | No user agent | Pass user agent e.g ``python 2.7\", \"platform\":\"Windows``|\n| download_folder|Downloads in default folder | If want to set download directory to custom e.g ``E:files\\\\``|\n\n\n#### Run a bot\n```sh\ndk.amazon_login(email='put your email here', login_url='https://www.amazon.com/gp/sign-in.html', password='put password here')\n```\n\n#### Make Bot using Studio\nTo create your own bot follow below steps:-\n* Run command \"datakund\" in command prompt\n* A browser will get opened containing DK extension\n* To open Extension press Alt+O\n* Type the bot name e.g \"google_search\" and click on \"Make New Bot\"\n* Click on Record and do actions like opening link, typing etc.\n* Go back and then Run bot\n\n---\n**NOTE**\n\nIf you want to call your bots in your code, then consider bot names which do not contain space, special character etc.\n---\n\n\n#### Access Your bot through Code\nTo access your code:-\n* Go to Code Section in extension\n* Go to python and copy the code\n* Now run that code, your bot will run\n\n#### Make your bots public\nTo share your bots with public, so that anyone can run them follow these steps:-\n* Go to your bot in Extension\n* Go to More section and then Publish\n* Write title, desc and image and click on Publish\n* Here you go, now anyone can run this bot\n\n#### Run public bot\nHere we will run the bot we did made above\n```sh\ngoogle_search(keyword=\"shoes\")\n```\n\n### Send Feedback to Developers\n```sh\nohmm.send_feedback(feedback=\"Need help with this ......\")\n```\n\n### Contact Us\n* [Telegram](https://t.me/datakund)\n* [Website](https://datakund.com)",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "Automation Library",
"version": "1.0.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "91c436dc1fe09547c7adc0a7b43c8a0e",
"sha256": "e05a2b51abd2a295fbffa7b7053bcd476d97d31e5139a7b6694cefd945099d36"
},
"downloads": -1,
"filename": "ohmm-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "91c436dc1fe09547c7adc0a7b43c8a0e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8501,
"upload_time": "2022-12-23T10:32:32",
"upload_time_iso_8601": "2022-12-23T10:32:32.733386Z",
"url": "https://files.pythonhosted.org/packages/ea/24/56109a19aec581dec15f4e6f7022c3c05ded8d1b24d10cca7bb7c1659d09/ohmm-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-23 10:32:32",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "ohmm"
}