Gabposter
Posts to a gab account text and image.
Install
python -m pip install gabposter
Api
from gabposter import gab_post, gab_test
USER = "gabusername"
PASS = "gabpassword"
FILE_JPG = "myfile.jpg"
assert gab_test(), "Webdriver doesn't work on your system"
gab_post(USER, PASS, "test", jpg_path=FILE_JPG)
Tests
Just simply run tox at the command line and everything should be tested. You may need to install tox with python -m pip tox.
Changes
- 1.2.8: Adds concurrent open_webdriver 1.3.0
- 1.2.7: Updates the use of
open-webdriverto v1.2.9 - 1.2.3:
open-webdrivernow uses v1.1.7 or greater. - 1.2.2: Now uses
open-webdriverto handle the setup of webdriver. - 1.2.1: Now works on windows/linux. Had to switch to
webdriver-setup. Github platform unit tests now run on every update. - 1.2.0: Headless feature now implemented for chrome/brave. Experimental firefox support. Driver can now be selected as chrome/brave/firefox.
- 1.1.0: Driver now uses chrome by default. Logic improved to work across browsers.
- 1.0.6: Fix bug where some paths used a different driver directory
- 1.0.5: Stash downloaded selenium driver in app directory rather than current, to improve app bundling.
- 1.0.4: Adds gab_test() for testing that connecting to gab works using the webdriver.
- 1.0.3: Fixed a bug where posts would sometimes not go through, due to the browser exiting too quickly.
- 1.0.0: Initial code submit
Metadata
Release files for gabposter 1.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gabposter-1.2.8.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gabposter-1.2.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 11.8 kB
Release files / gabposter-1.2.8.tar.gz
| Download URL | gabposter-1.2.8.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c0085a02474a21175a7aafd65739b5c365de4c954b0216edc268bb94c1003d6
|
|
BLAKE2b-256 checksum How to use checksums |
7509237ed008f7ff711f868060908d61bb8d132d2f1b1493286b3a9f63bbee58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0
|
Release files / gabposter-1.2.8-py2.py3-none-any.whl
| Download URL | gabposter-1.2.8-py2.py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4b7b285287c4f1c95731c3697fbd76bfa59de27955f8c9bf66054d772586b9d4
|
|
BLAKE2b-256 checksum How to use checksums |
1dc44cc046f9eb8191cdc750d1b59d61379f61d63958f75f989b94d35711d3b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0
|