Skip to main content

package checks Automation Direct's products' availability

Project description


I am in no way associated with

A simple python module to easily check if the product at a given url on is in stock


Requires Python 3 and pip

From the PyPI:

pip install [--user] automation_direct_stock

From GitHub:

# Clone this repository
git clone

# Go into the repository
cd automation_direct_stock

# install the module using pip
pip install [--user] .


Use from the commandline or a python script (make sure to put the url in quotes)

adstock "url_to_check"

#python script
from automation_direct_stock import isInStock

Possible Return Values

#if in stock
'In Stock'

#if out of stock
'Out Of Stock'

#if not found or url invalid

#(commandline only) if invalid number of arguments passed
'bad arguments'

Project details

Download files

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

Files for automation-direct-stock, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size automation_direct_stock-1.0.0-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size automation_direct_stock-1.0.0.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page