Skip to main content

Hashpoll (CLI)

Hashpoll Banner

Hashpoll is a hashnode widget that enables seamless polls on any post. It is a lightweight tool that generates code for you to put in hashnode's widget field to create polls that just blend in with the rest of your content. You can use it directly from the command line or through the Web interface, and manage your poll as needed.

Hashpoll CLI is a handy tool to extend and supplement Hashpoll. It allows you to seamlessly create polls from the command line. The tool automatically gives you the code to place in the widgets section of Hashnode.

Installation

Install hashpoll-cli with pip

  pip install hashpoll-cli

Hashnode Widgets

You can learn how to use hashnode widget over here.

Commands

Create

This is the command to create polls from the CLI.

hashpoll create [question] --option1 [option1] --option2 [option2] --option3 [option3] --option4 [option4]

or

python -m hashpoll create [question] --option1 [option1] --option2 [option2] --option3 [option3] --option4 [option4]

asciicast

Tips

  1. Put the question or options (if multiple words) in quotes to avoid the terminal registering this as multiple arguments.
  2. If you miss adding one of the options, the program will prompt you for entering them.

View

This is a command for viewing all details of a particular poll.

hashpoll view [Poll ID]

or

python -m hashpoll view [Poll ID]

asciicast

Vote

This is a command to vote on a specific poll.

hashpoll vote [Poll ID] [Option Number]

or

python -m hashpoll vote [Poll ID] [Option Number]

asciicast

Open-poll

This is a simple command to open a poll in the default browser.

hashpoll open-poll [Poll ID]

or

python -m hashpoll open-poll [Poll ID]

asciicast

Results

This is a command to fetch the current data from poll responses.

hashpoll results [Poll ID]

or

python -m hashpoll results [Poll ID]

asciicast

Code

This is handy commad to generate the Hashnode Widget Code for a particular poll.

hashpoll code [Poll ID]

or

python -m hashpoll code [Poll ID]

asciicast

Features

  • Lightweight
  • CLI and Web Based
  • Seamless
  • Easy-to-integrate

Authors

Tech Stack

Client: AWS Amplify, Svelte, Typer, Rich, PicoCSS

Server: Node, AWS Amplify, FastAPI

Roadmap

  • Password Protection

  • In-depth analytics

  • Authentication

  • Ability to modify a poll

License

MIT

Acknowledgements

Hashpoll would like to thank the teams behind the following projects as they played a crucial part in enabling Hahpoll.

Feedback

If you have any feedback, please reach out to us at arpan@hackersreboot.tech.

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Metadata

Release files for hashpoll-cli 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hashpoll-cli 0.1.6
File Size Uploaded Provenance Actions
hashpoll-cli-0.1.6.tar.gz 6.2 kB Without provenance Details for hashpoll-cli-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hashpoll-cli 0.1.6
File Interpreter ABI Platform Actions
hashpoll_cli-0.1.6-py3-none-any.whl Python 3 none any Details for hashpoll_cli-0.1.6-py3-none-any.whl

Total release size: 13.1 kB

Release files / hashpoll-cli-0.1.6.tar.gz

Download URL hashpoll-cli-0.1.6.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
345ee834d11b03c9557e64a8b6e9f8255deb05afecfee11eae1b67e183eab506
BLAKE2b-256 checksum
How to use checksums
c13659cc796f5101cad03592c484e7e44fb25358294945f46e7bf957269d50ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.2 Darwin/21.6.0

Release files / hashpoll_cli-0.1.6-py3-none-any.whl

Download URL hashpoll_cli-0.1.6-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6efc5f25666a9af1464d8197e6dd7393427b9a3929db7d3680bff357089fce3d
BLAKE2b-256 checksum
How to use checksums
8a34860e53f6d0eb9cf3b3a4d3a1d106b6ef829053e27ecc030ea9c0630bed61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.2 Darwin/21.6.0

Security for hashpoll-cli 0.1.6

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page