automation_direct_stock
I am in no way associated with automationdirect.com
A simple python module to easily check if the product at a given url on automationdirect.com is in stock
Installation
Requires Python 3 and pip
From the PyPI:
pip install [--user] automation_direct_stock
From GitHub:
# Clone this repository
git clone https://github.com/PhilipConte/automation_direct_stock.git
# Go into the repository
cd automation_direct_stock
# install the module using pip
pip install [--user] .
Usage
Use from the commandline or a python script (make sure to put the url in quotes)
#commandline
adstock "url_to_check"
#python script
from automation_direct_stock import isInStock
isInStock("url_to_check")
Possible Return Values
#if in stock
'In Stock'
#if out of stock
'Out Of Stock'
#if not found or url invalid
'error'
#(commandline only) if invalid number of arguments passed
'bad arguments'
Metadata
Release files for automation-direct-stock 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| automation_direct_stock-1.0.0.tar.gz | 2.3 kB | Without provenance | Details for automation_direct_stock-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| automation_direct_stock-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for automation_direct_stock-1.0.0-py3-none-any.whl |
Total release size: 5.5 kB
Release files / automation_direct_stock-1.0.0.tar.gz
| Download URL | automation_direct_stock-1.0.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fa91e1a20ca2a2134bbd5307b7600663de50704020121a1b9d8a4a894b04dac
|
|
BLAKE2b-256 checksum How to use checksums |
1446d1a01479bb633747b5eacbe7c0fb6d0b78b5f7890a7d77954415a6e709c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / automation_direct_stock-1.0.0-py3-none-any.whl
| Download URL | automation_direct_stock-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f21bc4bbea408f9f1d7c358df6dcb8129cf4d215911e8ceb6941175e13da026d
|
|
BLAKE2b-256 checksum How to use checksums |
393d9a10e005b06843ebb7adec70191ce45f2f2c529560c11bbe83b2f4601ddc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for automation-direct-stock 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.