Skip to main content

Auto fill in your form using your saved information (or answer on the spot).

Project description

python-package-template

header PyPI version GitHub version Python package Upload Python Package 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):
      $ sudo pip install Auto-Fill-In
      
    • Alternatively: install PyGuitar from the GitHub source:
      $ 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 to install it.
    # 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
  • Check Environment Files:
    • Python Module:
    >>> 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:
    $ 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:
    >>> from autofill import forms
    >>> form = forms.get("office", path="PATH")
    DRIVER_TYPE: local
    >>> form.run()
    :
    
    • Command line:
    $ form-auto-fill-in "PATH"
    [success] local driver can be built.
    [failure] remote driver can't be built.
    DRIVER_TYPE: local
    :
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Auto-Fill-In-0.0.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

Auto_Fill_In-0.0.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file Auto-Fill-In-0.0.1.tar.gz.

File metadata

  • Download URL: Auto-Fill-In-0.0.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for Auto-Fill-In-0.0.1.tar.gz
Algorithm Hash digest
SHA256 187d7818fd55b39f4eb7daf63af2958d605f769f76ecd0c19afd8d4d9bc5be50
MD5 2c802b9406e5b208050fddda877cdb50
BLAKE2b-256 822a768e37e798e18efa84c9389f84b74b857123b8676255f3c074e34ed801e6

See more details on using hashes here.

File details

Details for the file Auto_Fill_In-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Auto_Fill_In-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for Auto_Fill_In-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc40951e4b2dd3598a270c1f462c2199b034beb9f67eae25f30a3d75c69ed3f7
MD5 ec1a357203acbd0cd9d144d36d46edbf
BLAKE2b-256 fb33058d50eb251e5855ce478576ac03c20e1ff2c9f03e9d5f25403b70ab1a91

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page