
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
= Fate
The operating system-level command scheduler and manager.
TODO: Objectives/justifications; features; installation and quick start-up....
== Creating tasks
Fate tasks are merely executables available through the file system. Tasks abiding by the framework's expectations may be added with a minimum of effort.
=== The contract
TODO
=== Testing
==== execute
Any executable may be invoked (with optional arguments) by the Fate execute
command:
The above generates an execution report for use in development and debugging.
Options such as -i|--stdin
may be useful to supply measurment parameters to the executable according to the link:#_the_contract[framework's contract].
==== run
Once added to Fate configuration, executables become tasks. These may be invoked ad-hoc by the run
command:
The options and output of the run
command are similar to those of execute
.
Unlike with scheduled tasks, the results of tasks performed by run
are not, by default, persisted to file. Either specify option --record
to capture these as configured, or option --stdout
to capture these at an arbitrary path.
== Development
=== Extending the framework
==== Set-up
Fate is implemented in https://www.python.org/[Python] and the framework's distribution is managed via https://python-poetry.org/[Poetry].
Python v3.10 may be supplied by an operating system package manager, by https://www.python.org/[python.org], or by a utility such as https://github.com/pyenv/pyenv[pyenv]; pyenv is recommended for development but not required.
With Python installed, Poetry may be installed https://python-poetry.org/docs/#installation[according to its instructions].
TIP: If you are managing your own virtual environment, e.g. via https://github.com/pyenv/pyenv-virtualenv[pyenv-virtualenv], then this step may be as simple as pip install poetry
. However, this tooling is not required, and Poetry offers its own automated set-up, as well as management of virtual environments.
Finally, from the root directory of a repository clone, the framework may be installed in development mode:
NOTE: Poetry will use any existing, activated virtual environment, or create its own into which dependencies will be installed.
The fate
command is now available for use in your development environment.
For simplicity, it will be presumed that fate
is available on your PATH
. However, this depends upon activation of your virtual environment.
A virtual environment under management by Poetry may be activated via sub-shell with:
Alternatively, any command installed into Poetry's virtual environment may be executed ad-hoc via the run
command:
====
FAQs
The operating system-level command scheduler and manager.
We found that fate-scheduler 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
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.