Metadata-Version: 2.4
Name: flashflow
Version: 0.1.0
Summary: "flashflow" is a set of programs written in python to make easier everyday workflow
Author-email: Pedro Alberto Rosquete Ares <rosquetearespedro06@gmail.com>
License: MIT License
        
        Copyright (c) 2026 Pedro Alberto Rosquete Ares
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: tomli>=2; python_version < "3.11"
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Dynamic: license-file

# fastflow

A small collection of Python commands for everyday development tasks.

## Install for development

```powershell
python -m pip install -e ".[dev]"
```

## Create a project scaffold

Run this from the directory where you want the initial project files:

```powershell
fastflow project "My Project"
```

The command creates a virtual environment, `.gitignore`, `README.md`, `LICENSE`,
and a valid `pyproject.toml` in the current directory. It refuses to overwrite
any of those files if they already exist. Choose an actual license before
distributing a generated project.

## Release a Python project

Run the command from the project root after choosing a new `X.Y.Z` version:

```powershell
fastflow release 1.2.3
```

The release command requires valid static `[project].version` metadata and a
clean Git working tree. It updates the version, builds distributions from an
isolated copy of the project, commits the version change locally, and uploads
only those fresh artifacts to PyPI. After a successful upload, it asks whether
to push the commit and whether to create and push a version tag.

If the build fails, the previous version is restored. If the PyPI upload fails,
the command attempts to remove its own release commit and restore the preceding
commit, but reports that PyPI may have accepted the upload before the failure
was returned. Verify the package on PyPI before retrying in that situation.
