Skip to main content

A powerful framework enables fast and elegant development of Alfred Workflows in Python.

Project description

Documentation Status https://github.com/MacHu-GWU/afwf-project/workflows/CI/badge.svg https://codecov.io/gh/MacHu-GWU/afwf-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/afwf.svg https://img.shields.io/pypi/l/afwf.svg https://img.shields.io/pypi/pyversions/afwf.svg https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-blue.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Source_Code-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to afwf Documentation

A powerful framework enables fast and elegant development of Alfred Workflows in Python.

Summary

Alfred 官方的 Python 包 已经 5 年没有更新了, 而且只支持 Python2.7, 不支持 Python3. 因为 2.7 已经在 2020 年 1 月 1 日停止更新, 而且 MacOS 2021 年起操作系统内就不带 Python2.7 了, 所以这导致以前使用了官方包的 Workflow 对新 Mac 不再兼容. 并且由于兼容性和历史包袱的原因, 官方的 Python 包内置了太多本应由第三方库提供的功能, 例如 HTTP request, 缓存 等等, 而为了兼容性只能在垃圾代码上堆叠垃圾代码. 于是我就萌生了自己造一个极简的轮子的想法.

这个项目的目的是提供了用 Python 编写 Alfred Workflow 中需要用到的 Script Filter 的数据模型, 以及一套基于超大型内部企业项目 (我是 AWS 内部官方的 AWS Alfred Workflow 的作者) 经验总结出的一套开发 Python Alfred Workflow 的框架, 包含了开发中的最佳实践, 解决了 Workflow 中的控件太多, 测试不易等问题.

另外, 这个项目提供了互联网领域常用的图标, 你可以 在这里预览.

Install

afwf is released on PyPI, so all you need is:

$ pip install afwf

To upgrade to latest version:

$ pip install --upgrade afwf

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afwf-0.3.2.tar.gz (80.6 kB view details)

Uploaded Source

Built Distribution

afwf-0.3.2-py2.py3-none-any.whl (91.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file afwf-0.3.2.tar.gz.

File metadata

  • Download URL: afwf-0.3.2.tar.gz
  • Upload date:
  • Size: 80.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.11

File hashes

Hashes for afwf-0.3.2.tar.gz
Algorithm Hash digest
SHA256 72c63eb3ad1b80279acf35593042d07829c3cf262b758894402ff90ac6bb5f85
MD5 3c7daafd26a922107b17e8a5b62ebbd3
BLAKE2b-256 23875094719d8cbe3d6ff8fe8dbd74da6f90f33995b3e92bda58db5155f71ec9

See more details on using hashes here.

File details

Details for the file afwf-0.3.2-py2.py3-none-any.whl.

File metadata

  • Download URL: afwf-0.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 91.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.11

File hashes

Hashes for afwf-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fe599a06140b0e01883283abc526af9a254ce152f68f939f4d6945efe050c292
MD5 b61c5e0bac2913c494ad2bb8df46901f
BLAKE2b-256 4f16a8db6ba356ea967f7590683730a7d611066ecc10052768aed6bb098c4c9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page