Twitter Bot
twitter bot
- delete tweets
- get trending tweets
Install
pip install salahs-twitterbot[scripts]
Twitter API
- create a new twitter application
- save consumer key, consumer secret, access key and access secret as environment variables
cat <<EOF > keys.env
export TWITTER_CONSUMER_KEY='aaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_CONSUMER_SECRET='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_ACCESS_TOKEN='aaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_ACCESS_TOKEN_SECRET='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
EOF
source keys.env
delete_old_tweets --helpget_trending_tweets --helpremove_favorites --help
Metadata
Release files for salahs-twitterbot 1.3.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 | Actions |
|---|---|---|---|---|
| salahs-twitterbot-1.3.1.tar.gz | 4.3 kB | Without provenance | Details for salahs-twitterbot-1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| salahs_twitterbot-1.3.1-py3-none-any.whl | Python 3 | none | any | Details for salahs_twitterbot-1.3.1-py3-none-any.whl |
Total release size: 10.4 kB
Release files / salahs-twitterbot-1.3.1.tar.gz
| Download URL | salahs-twitterbot-1.3.1.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fe2e514c6d3a8d3f382698482048d147d755184d1836c5b89447c5bd67df76b
|
|
BLAKE2b-256 checksum How to use checksums |
dbc64fb38203b1a72c4722bf98df3febb77031951697b0c274fe8d159e8e117c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
|
Release files / salahs_twitterbot-1.3.1-py3-none-any.whl
| Download URL | salahs_twitterbot-1.3.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
464feda1ae7e1491b0d2d70b158ebbf0d8ddb3fa6ae00df3d31d7c6baf88b194
|
|
BLAKE2b-256 checksum How to use checksums |
252452e09216a6bd87062c20365029ea983aba55f56ad9b3358ce3f740638211
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
|
Security for salahs-twitterbot 1.3.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.