Skip to main content

futurecandy

><=><

Linux utility for launching projects in a single command.

Install with pip install futurecandy.

Run with python3 -m futurecandy or add a command alias to your shell RC file with python3 -m futurecandy rc to run with command futurecandy.

futurecandy will create directory .futurecandy in the user's home directory. Edit configuration files and hooks there.

Run python3 -m futurecandy update or futurecandy update to fetch base hooks.

Hooks

Users may add their own hooks, by creating a file in directory ~/.futurecandy/hook, with file extension .hook.futurecandy.

Below is an example hook,

[meta]
name = "LICENSE"
description = "Hook for generating LICENSE files."

[exec]
script = "python3 -m futurecandy.hooks.License {}"
want_path = True
check_bin = False

Hooks must have a meta section with the name of the hook, and its description. This will appear on the hook selection menu.

Followed is the exec section with a command to run, defined with property script.

To specify the path to the project directory for the command, include {} as a placeholder in the script command, which will be replaced with the directory path, and set want_path to True.

If check_bin is true, futurecandy will split the script string by spaces into an array, then extract the first element as the script command for validation. If the "command" does not exist, the user will enter the shell to rectify the situation, before the command is re-ran.

Updating

Update the package through PIP, then remove and regenerate ~/.futurecandy/.

Acknowledgements

gitignore.hook.futurecandy based off of perpetualCreations/auto-gitignore forked from Mux-Mastermann/auto-gitignore.

Release files for futurecandy 1.2.1

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

Source distribution (sdist)

Source distribution for futurecandy 1.2.1
File Size Uploaded
futurecandy-1.2.1.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for futurecandy 1.2.1
File Interpreter ABI Platform
futurecandy-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / futurecandy-1.2.1.tar.gz

Download URL futurecandy-1.2.1.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f4c50170fb845ac557b05855ed256ed97bb62f62d1a08f45a14d8fb155443537
BLAKE2b-256 checksum
How to use checksums
e4c4372b332edd49c1843a9ab813a0d033ce05ae506921ee06412777c6021e1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.1 Linux/5.15.8-arch1-1

Release files / futurecandy-1.2.1-py3-none-any.whl

Download URL futurecandy-1.2.1-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91c25822011a27a6e04e34900f80636c0e1661fa5559403e7e3824db7e4088d5
BLAKE2b-256 checksum
How to use checksums
fba610c4640b0a126824f0de73680b6360a312685d50a7e8aaf64a95215ed1ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.1 Linux/5.15.8-arch1-1

Release history Release notifications | RSS feed

1.3

2 release files

This release

1.2.1 This release

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

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