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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c831d94b30bf72d47ddf621be027c7ad439266ff4e10fd3680c0ec4549563d15 |
|
MD5 | b740f1488c4d31712f3840eae87fc058 |
|
BLAKE2b-256 | d0ceddb556b9ea11a162ef0b27c1ad64faf995558596c3310764e1a3c5bc4011 |
Close
Hashes for slimebones_autofiles-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20a72aacd4fdda20555847d87e9baca903467def02760d0066f4f84c1c8a412c |
|
MD5 | e1c9c44e0b89c14e77da77871b1c574e |
|
BLAKE2b-256 | ef98bcf095fa9732fc044706846f101f77c9f15c5d208b06d2d034741ed92425 |