Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slimebones_autofiles-0.1.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

slimebones_autofiles-0.1.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

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

Hashes for slimebones_autofiles-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c831d94b30bf72d47ddf621be027c7ad439266ff4e10fd3680c0ec4549563d15
MD5 b740f1488c4d31712f3840eae87fc058
BLAKE2b-256 d0ceddb556b9ea11a162ef0b27c1ad64faf995558596c3310764e1a3c5bc4011

See more details on using hashes here.

File details

Details for the file slimebones_autofiles-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for slimebones_autofiles-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20a72aacd4fdda20555847d87e9baca903467def02760d0066f4f84c1c8a412c
MD5 e1c9c44e0b89c14e77da77871b1c574e
BLAKE2b-256 ef98bcf095fa9732fc044706846f101f77c9f15c5d208b06d2d034741ed92425

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page