Skip to main content

A Python package for automating LMG processes

Project description

Inhouse Auomation Library for HC

After pip install is complete run the following in the command line. This will create a directory in your One Drive - C:\Users\266112\OneDrive - Landmark Group\Work\Automations\GUI

python -m hcautomation.post_install_setup

To use this library, import the following class & create an object of this class using:

  from hcautomation.hcautomation import Download
  obj = Download('name_of_project')

Library Usage

QV Download

This function downloads data from a QV bookmark.

obj.qv(url, save_path, download_time, column_order=[], cols_to_convert=[], typ='float', lx=False, stop_date='', extension='csv', lx_mon=[], include_today=False, check_date_filter=True)

Parameters starting with ! are REQUIRED, rest are OPTIONAL

Parameter Type Description
! url string Link to the QV bookmark
! save_path string Path with filename for the save location of file downloaded from QV
! download_time int Maximum time to wait for download to finish
column_order list Order of columns to reorder columns in downloaded file
cols_to_convert list If file is downloaded as CSV, convert given list of columns to float
lx Boolean Set to True if you want to select the dates for which data has to be downloaded.
stop_date string Download data from this date onwards till today. Format: dd/mm/yyyy
extension string File format to download final data in. 'csv' or 'xlsx'
lx_mon string WIP
include_today Boolean Default False. Download today's data as well if set to True
check_date_filter Boolean Default True. Check if date filter has been applied

ER Download

  GET /api/items/${id}
Parameter Type Description
id string Required. Id of item to fetch

add(num1, num2)

Takes two numbers and returns the sum.

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

hcautomation-0.1.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hcautomation-0.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file hcautomation-0.1.0.tar.gz.

File metadata

  • Download URL: hcautomation-0.1.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for hcautomation-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa3242fed7875a8617ae55a43ebb49caab8454f0c5415d3528ee5be3e3bd1f10
MD5 a96a9dd7ad5b938e89e81525412a0b20
BLAKE2b-256 cdc6f8f12429405efe804a28bef911d5cea76cff0010352f1d0eafc296294ecc

See more details on using hashes here.

File details

Details for the file hcautomation-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hcautomation-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.3

File hashes

Hashes for hcautomation-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83b5ecdcf3598c44285a1843a57d4e0ed5d2871221c823922e26e8eaf718bf1d
MD5 de756663873fc2f07f13e4b2bfb452ef
BLAKE2b-256 bc84dc5c2f91a42debc41cfef00d7924389bb812cf6d2033d18d6d1c70d227bc

See more details on using hashes here.

Supported by

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