No project description provided
Project description
autofiles
Does file generation.
Usage
Generation
To generate a file:
from auto import AutoUtils
AutoUtils.generate(
name="testing",
extension=FileExtension.Python,
author="testco",
dir=Path(Path.cwd(), "var"),
content="print(1 + 1)\n",
)
Which will result in a file with content like this:
"""
Do not modify, auto-generated by testco
"""
print(1 + 1)
Cleaning
To clean all auto-generated file in given directory, call:
autofiles clean .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for slimebones_autofiles-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 313757a66208c980c97c465041ef503ac2c4512939ee0369fc601c40ae75ba6e |
|
MD5 | c642420436a5c1ecdfc5c049f5e8ebf3 |
|
BLAKE2b-256 | bb728cf8034847bf1b0d46fa631f4d3f8f046b7cf9a7f8e4377f381fd4217d3f |
Close
Hashes for slimebones_autofiles-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1991c1ac4f04c5b2ac025105feac0afc0502f64d593193a44f6b14bcc2628d08 |
|
MD5 | 58a9e074372395a98d538c6c7c2de5a4 |
|
BLAKE2b-256 | 26ffccbb377768de30aa9bfce63b3959bfc818b8be31844965b01f7e44f44f5c |