Skip to main content

# Cast > command line app for file system templates.

Cist can modify the structure of multiple directories at once. Provided these directories are registered for a common template - moving, renaming or deleting folders from that template will apply those changes to the directories (called instances of the template).

## Installation

Linux:

`sh git clone https://github.com/taesko/cast.git cd cast pip install . `

NOTE: This project has only been tested on linux. Installation is no different on other OS provided git and pip are installed, but it’s not guaranteed to work properly.

## Usage example

Use any existing directory to make a template out of it. `sh cast add template_name ./dir_path `

Register any other directory to that template as it’s instance `sh cast register template_name /directory/we/want/registered `

If the directory’s structure is not conformed to the template’s an error is raised. That is the instance must contain directories with the same as the template’s. (it is OK for the instance to have other directories as well)

Create additional directories inside a template: `sh cast add -m template_name various dir_names dir_names/similar to mkdir arguments `

Rename a directory inside a template `sh cast mv template_name relative_src_path relative_dst_path `

Remove a directory from a template `sh cast rm template_name multiple relative/directory/paths `

Commands that modify a templates structure all take the name of the template as a first argument and relative paths (considered from the root of the template not the current working directory) to the desired directories as additional arguments. Moving and renaming directories by default applies the same changes to instances of the template as well but this is not true for removing directories.

For full information: `sh cast --help `

## Development setup

There is no development branch (yet) and setup is nearly identical to user installation. `sh git clone https://github.com/taesko/cast.git cd cast pip install -e . `

## Release History

  • 0.0.1
    • Work in progress

## Meta

Author: Antonio Todorov – taeskow@gmail.com

Distributed under the MIT license. See LICENSE for more information.

## Contributing

Fork and submit a pull request.

Metadata

Release files for fscast 0.0.2

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

Source distribution (sdist)

Source distribution for fscast 0.0.2
File Size Uploaded Provenance Actions
fscast-0.0.2.tar.gz 13.6 kB Without provenance Details for fscast-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 30.2 kB

Release files / fscast-0.0.2.tar.gz

Download URL fscast-0.0.2.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8ec51aabd875cd3ef3c44adbd913cca27f0ce354bd3d17b523fa5961c7e9689a
BLAKE2b-256 checksum
How to use checksums
ab6cacc549433696b06533b06890d8c73fcd8ff3cafaff8eb83e84f964458179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fscast-0.0.2-py3-none-any.whl

Download URL fscast-0.0.2-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54ec54481855c24a2192dae8ebf4adc77c7121fdbc93c8533eea16e5dbc0af0a
BLAKE2b-256 checksum
How to use checksums
81e87b03b430f005286d27a5c2a47345777a7ccaf2483f1abd93621bbd17f0cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for fscast 0.0.2

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