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.2.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.2.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hcautomation-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 d40095e3782bbb54303bc4776d0be61cdcff6fa792c22860a904fe0b2ef4e6b0
MD5 4108cfca6731c857d1de524c9c8b710f
BLAKE2b-256 a8303ee1478c4ada89e005e6037c4b9757c4b956f0a58d9da0149b126a65915d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hcautomation-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d0189c5b54d7892e66b6ba66869ece722fa9daf0f0c45d30a99981d396bf1cd
MD5 563f6be92144d958bb68aa52f3b4b176
BLAKE2b-256 b4dc1e2eb73ab6f353bf501bae030a66a941e0fce4cd136aa81a7b88609f92c2

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