
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
pyxbarr
is a Python library for helping you create python plugins for xbar with ease!
The library wraps all the xbar menu creation logic with classes and objects to let you create a plugin with a few lines of code and without dealing with string formatting complications.
Use the package manager pip to install foobar.
pip install pyxbarr
import pyxbarr
# Create a new xbar plugin
plugin = pyxbarr.Plugin(
# Set the title of the plugin
title=pyxbarr.Item("My Plugin", font="Menlo", size=20),
# Add items to the plugin
items=[
pyxbarr.Item("Hello", color="blue", href="https://github.com/gohadar/pyxbarr")
]
).add_items(
# Add multiple items to the plugin
[
pyxbarr.Item("World", color="red", key="shift+k"),
pyxbarr.Item("Foo", color="green", alternative=pyxbarr.Item("Bar", color="yellow")),
# Add item with submenu
pyxbarr.Item("Baz", color="purple", children=[
pyxbarr.Item("Qux"),
pyxbarr.Item("Quux"),
]),
]
)
print(plugin)
Please open an issue first to discuss what you would like to change. I welcome any and all criticism, feedback, and suggestions even if I may not agree.
FAQs
A python utility for creating xbar menus.
We found that pyxbarr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.