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
File details
Details for the file slimebones_autofiles-0.1.2.tar.gz
.
File metadata
- Download URL: slimebones_autofiles-0.1.2.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.6 Linux/6.6.7-zen1-1-zen
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c831d94b30bf72d47ddf621be027c7ad439266ff4e10fd3680c0ec4549563d15 |
|
MD5 | b740f1488c4d31712f3840eae87fc058 |
|
BLAKE2b-256 | d0ceddb556b9ea11a162ef0b27c1ad64faf995558596c3310764e1a3c5bc4011 |
File details
Details for the file slimebones_autofiles-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: slimebones_autofiles-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.6 Linux/6.6.7-zen1-1-zen
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20a72aacd4fdda20555847d87e9baca903467def02760d0066f4f84c1c8a412c |
|
MD5 | e1c9c44e0b89c14e77da77871b1c574e |
|
BLAKE2b-256 | ef98bcf095fa9732fc044706846f101f77c9f15c5d208b06d2d034741ed92425 |