Auto-Fill-In-0.0.1
توضیحات
Auto fill in your form using your saved information (or answer on the spot).
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | Auto-Fill-In-0.0.1 |
| نام | Auto-Fill-In |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Shuto Iwasaki |
| ایمیل نویسنده | cabernet.rock@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/Auto-Fill-In/ |
| مجوز | MIT |
# python-package-template

[](https://pypi.org/project/Auto-Fill-In/)
[](https://github.com/iwasakishuto/Auto-Fill-In)


[](https://github.com/iwasakishuto/Auto-Fill-In/blob/master/LICENSE)
Auto fill in your form using your saved information (or answer on the spot).
## Installation
1. Install **Auto-Fill-In** (There are two ways to install):
- **Install from PyPI (recommended):**
```sh
$ sudo pip install Auto-Fill-In
```
- **Alternatively: install PyGuitar from the GitHub source:**
```sh
$ git clone https://github.com/iwasakishuto/Auto-Fill-In.git
$ cd Auto-Fill-In
$ sudo python setup.py install
```
2. Install **driver** for `selenium`:
**`Selenium`** requires a driver to interface with the chosen browser, so please visit the [documentation](https://selenium-python.readthedocs.io/installation.html#drivers) to install it.
```sh
# Example: Chrome
# visit "chrome://settings/help" to check your chrome version.
# visit "https://chromedriver.chromium.org/downloads" to check <Suitable.Driver.Version> for your chrome.
$ wget https://chromedriver.storage.googleapis.com/<Suitable.Driver.Version>/chromedriver_mac64.zip
$ unzip chromedriver_mac64.zip
$ mv chromedriver /usr/local/bin/chromedriver
$ chmod +x /usr/local/bin/chromedriver
```
## Quick example
- **[example notebooks](https://nbviewer.jupyter.org/github/iwasakishuto/Auto-Fill-In/blob/master/examples/)**
- **Check Environment Files**:
- **Python Module:**
```python
>>> from autofill.utils import show_envfiles
>>> show_envfiles()
* PATH: /Users/iwasakishuto/.autofill/_sample.json
- name : SAMPLE FORMS
- URL : https://forms.office.com/Pages/ResponsePage.aspx?id=XXX
- last_date : 2020-08-18@22.08.45
- other keys: ['form', 'login', 'answer']
```
- **Command line:**
```sh
$ auto-fill-in-envs
[success] local driver can be built.
[failure] remote driver can't be built.
DRIVER_TYPE: local
* PATH: /Users/iwasakishuto/.autofill/_sample.json
- name : SAMPLE FORMS
- URL : https://forms.office.com/Pages/ResponsePage.aspx?id=XXX
- last_date : 2020-08-18@22.08.45
- other keys: ['form', 'login', 'answer']
```
- **Form Auto Fill In**:
- **Python Module:**
```python
>>> from autofill import forms
>>> form = forms.get("office", path="PATH")
DRIVER_TYPE: local
>>> form.run()
:
```
- **Command line:**
```sh
$ form-auto-fill-in "PATH"
[success] local driver can be built.
[failure] remote driver can't be built.
DRIVER_TYPE: local
:
```
نیازمندی
| مقدار | نام |
|---|---|
| >=3.4.1 | Translation-Gummy |
| >=0.5.0 | imgcat |
| - | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl Auto-Fill-In-0.0.1:
pip install Auto-Fill-In-0.0.1.whl
نصب پکیج tar.gz Auto-Fill-In-0.0.1:
pip install Auto-Fill-In-0.0.1.tar.gz