Skip to main content

PyPI PyPI - License Documentation Tests Run on Ubuntu Python Versions Github Repo

flexlate-dev

Overview

Development tools for template authors using Flexlate

Getting Started

Install flexlate-dev:

pip install flexlate-dev

A simple example:

import flexlate_dev

# Do something with flexlate_dev

See a more in-depth tutorial here.

See the documentation here.

Development Status

This project is currently in early-stage development. There may be breaking changes often. While the major version is 0, minor version upgrades will often have breaking changes.

Developing

Initial Setup

First, you need a couple global dependencies installed, see their documentation for details:

Note that these tools require a UNIX-style shell, such as bash or zsh. If you are on Windows, you can use WSL or Git Bash. If you are using Pycharm, you can configure the built-in terminal to use Git Bash.

Then clone the repo and run direnv allow. This will take a while on the first time to install the remaining dependencies.

Day to Day Development

Make your changes and then run just to run formatting, linting, and tests.

Develop documentation by running just docs to start up a dev server.

To run tests only, run just test. You can pass additional arguments to pytest, e.g. just test -k test_something.

Prior to committing, you can run just with no arguments to run all the checks.

Conventional Commits & Semantic Release

This project uses conventional commits to power semantic release. This means that when you commit, you should use the following format:

<type>[optional scope]: <description>

For example, feat: Add new feature or fix: Fix bug.

When creating a PR, please name the PR in this way as well so that the squashed commit from the PR will have a conventional commit message.

Pre-commit Hooks

This project uses Husky and Lint-staged to run pre-commit hooks. This means that when you commit, it will run just format and just strip on the files you edited, and also check that your commit message is a conventional commit.

If you are not able to commit, it is likely because your commit message is not in the conventional commit format.

Author

Created by Nick DeRobertis. MIT License.

Metadata

Release files for flexlate-dev 0.22.0

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

Source distribution (sdist)

Source distribution for flexlate-dev 0.22.0
File Size Uploaded
flexlate_dev-0.22.0.tar.gz 21.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flexlate-dev 0.22.0
File Interpreter ABI Platform
flexlate_dev-0.22.0-py3-none-any.whl Python 3 none any Details

Total release size: 49.2 kB

Release files / flexlate_dev-0.22.0.tar.gz

Download URL flexlate_dev-0.22.0.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4af0b6ceb0e47442aad939032b1be837fb9d38b65bb1c5e33aa4171a269fecb5
BLAKE2b-256 checksum
How to use checksums
28c429bd3942c6c6cd2f559025ab6671a1f600d7e0e588c20445c2b672393f32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.9 Linux/5.15.0-1031-azure

Release files / flexlate_dev-0.22.0-py3-none-any.whl

Download URL flexlate_dev-0.22.0-py3-none-any.whl
Size 27.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16463f77751715f21e08a39eddaf9a793dcf600b91d66058d92168395ac5cb11
BLAKE2b-256 checksum
How to use checksums
046afce0dc2742bbcad05613797b8c9632fa814a0c466c742e2398b8d5993e05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.10.9 Linux/5.15.0-1031-azure
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