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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e93f1d66423370190f25f04071c8153c6e021494459604bb3d7625115c29ccc0 |
|
MD5 | b4c5d0fbb3bd8d3f68a20a4b3af6fa5d |
|
BLAKE2b-256 | 3134b7b568884d8b8587dc0a0a8bdb0eae2d7b0d65c594dea76200edc92822c0 |
Close
Hashes for slimebones_autofiles-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7003fdd8a68699d2a3db37e3cd617d0cde42804ad6695cad0b1530befea5c5aa |
|
MD5 | b301d076fad6faff5da108b8f213f392 |
|
BLAKE2b-256 | 4b8a569c13a5abbe070a3d19e856ff1174bb8b695ccf61070c1962960e4e57a5 |