#autoz usage pip install autoz
#NB -> the functions only take in xpath
#script from autoz.kit import * from time import sleep
#init drivers, browser bin, background features #the script will run in background unless background is set to False init()
#go to a page go('https://odibets.com/live/')
Search button
find_click('/html/body/div[1]/div/div[2]/div[1]/div[3]')
Input area
find_click('//*[@id="modal"]/div/div[1]/input')
Enter code
clear_input('//*[@id="modal"]/div/div[1]/input', '1127')
Teams
home = extract_text('/html/body/div[1]/div/div[8]/div/div[2]/div/div[2]/div/div[2]/div/div[1]/a/div[1]') away = extract_text(d, '/html/body/div[1]/div/div[8]/div/div[2]/div/div[2]/div/div[2]/div/div[2]/div/div[1]/a/div[2]')
get Scores by extracting text
home_score = extract_text('/html/body/div[1]/div/div[8]/div/div[2]/div/div[2]/div/div[2]/div/div[1]/div/span[1]') away_score = extract_text('/html/body/div[1]/div/div[8]/div/div[2]/div/div[2]/div/div[2]/div/div[1]/div/span[2]')
print(f'{home} - {away}') print(f'scores: {home_score} - {away_score}')
#excute bash commands inside python execute_bash(f"echo '{home} - {away} ,scores: {home_score}:{away_score}' > ball.txt")
#want path of file f_path=find_file('ball.txt')
sleep(1000)
Metadata
Release files for autoz 0.0.1
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 | |
|---|---|---|---|---|
| autoz-0.0.1.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autoz-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / autoz-0.0.1.tar.gz
| Download URL | autoz-0.0.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39858cc229e8ca17a40c6524e2db2d608cb605ad3d00d469cb749925e7611d11
|
|
BLAKE2b-256 checksum How to use checksums |
3fa9ab00b432935c4ca73629fe093d5157f7b2e4a29d59186f672736063a1996
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / autoz-0.0.1-py3-none-any.whl
| Download URL | autoz-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f54a72fa545a29e198ee74427419ce2439a0190593f7bb9986d60f71d01d00ac
|
|
BLAKE2b-256 checksum How to use checksums |
65405c9f8e80022a30c691993c1092cc5cba8d6c49c743afe55bb00cdb98bd30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for autoz 0.0.1
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.