Skip to main content

Genie for Alfred

GitHub license Twitter Follow

image0

Using from Alfred

Install Alfred Genie.alfredworkflow in Alfred and use the genie command to use any available function.

image1

Using from Command line

$ pip install alfred-genie

Then the following commands will be available

$ alfred-genie
Usage: alfred-genie [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  base64-decode
  base64-encode
  commands # ignore this as this is only used from Alfred
  format-json
  minify-json

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

You’ll need a working version of Python3 to run these scripts.

  1. Create and use new virtual env

python3 -m venv venv
source venv/bin/activate
  1. Install required dependencies

$ pip install -r requirements.txt
  1. Run locally

$ python local_main.py ...

Creating Alfred Workflow

For publishing it in workflow, we need to perform following additional steps

  • [ ] Open workflow file in Alfred

  • [ ] Open workflow directory in Terminal

  • [ ] Apply any changes from this directory to workflow directory

  • [ ] Install dependencies in workflow directory pip install --target=. click

  • [ ] Export workflow and publish to Github

Publishing Updates to PyPi

$ make package

Enter the username and password for pypi.org repo when prompted

License

MIT

Metadata

Release files for alfred-genie 0.1.20211114

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

Source distribution (sdist)

Source distribution for alfred-genie 0.1.20211114
File Size Uploaded Provenance Actions
alfred-genie-0.1.20211114.tar.gz 4.1 kB Without provenance Details for alfred-genie-0.1.20211114.tar.gz

Release files / alfred-genie-0.1.20211114.tar.gz

Download URL alfred-genie-0.1.20211114.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
33e93187959b010034d50d0285be6e80c2bf4b4039456192814c5c90be97cb25
BLAKE2b-256 checksum
How to use checksums
72dd4593f3fb81393dbcbc70cd449b73b85071341f4bfea636075815473b4215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/2.7.18

Security for alfred-genie 0.1.20211114

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