Skip to main content

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 .

Metadata

Release files for slimebones-autofiles 0.1.2

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

Source distribution (sdist)

Source distribution for slimebones-autofiles 0.1.2
File Size Uploaded
slimebones_autofiles-0.1.2.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slimebones-autofiles 0.1.2
File Interpreter ABI Platform
slimebones_autofiles-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / slimebones_autofiles-0.1.2.tar.gz

Download URL slimebones_autofiles-0.1.2.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c831d94b30bf72d47ddf621be027c7ad439266ff4e10fd3680c0ec4549563d15
BLAKE2b-256 checksum
How to use checksums
d0ceddb556b9ea11a162ef0b27c1ad64faf995558596c3310764e1a3c5bc4011
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.6 Linux/6.6.7-zen1-1-zen

Release files / slimebones_autofiles-0.1.2-py3-none-any.whl

Download URL slimebones_autofiles-0.1.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20a72aacd4fdda20555847d87e9baca903467def02760d0066f4f84c1c8a412c
BLAKE2b-256 checksum
How to use checksums
ef98bcf095fa9732fc044706846f101f77c9f15c5d208b06d2d034741ed92425
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.6 Linux/6.6.7-zen1-1-zen

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

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