strawpoll.py
strawpoll.py is an async wrapper for strawpoll’s API written in Python.
For more info, take a look at the documentation.
Is this project dead?
No, it is not dead, I am still around, there just isn’t much to do until either Strawpoll update their api or someone stumbles upon this package and finds an issue with it.
Installation
$ pip install strawpoll.py
Usage
import asyncio
import strawpoll
async def main():
api = strawpoll.API()
p1 = await api.get_poll(10915632)
print(p1.results())
p2 = strawpoll.Poll('lol?', ['ha', 'haha', 'hahaha', 'hahahaha', 'hahahahaha'])
await api.submit_poll(p2)
print(p2.url)
asyncio.get_event_loop().run_until_complete(main())
Metadata
Release files for strawpoll.py 0.2.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 | |
|---|---|---|---|---|
| strawpoll.py-0.2.0.tar.gz | 7.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| strawpoll.py-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / strawpoll.py-0.2.0.tar.gz
| Download URL | strawpoll.py-0.2.0.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3064153e63b3013f5a8569acc4b18d18ae2c063b0e57c85f54c33b3de01721da
|
|
BLAKE2b-256 checksum How to use checksums |
1cadf9f4c34ecc5564cb80b6407aa263b1002a153398785fd95e74e3be44ba63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / strawpoll.py-0.2.0-py3-none-any.whl
| Download URL | strawpoll.py-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b34aa972703a8587440aa29aa7f2d446e9e07b4e2df9bd46d0d84e8aef31228
|
|
BLAKE2b-256 checksum How to use checksums |
51e955ff914288fc3a077ff06b573397215a762731519534c86fcf695f6d44db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for strawpoll.py 0.2.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.