slimebones-autofiles


Nameslimebones-autofiles JSON
Version 0.1.2 PyPI version JSON
download
home_page
Summary
upload_time2023-12-21 23:32:48
maintainer
docs_urlNone
authorryzhovalex
requires_python>=3.11,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # autofiles

Does file generation.

## Usage

### Generation

To generate a file:

```python
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:

```python
"""
Do not modify, auto-generated by testco
"""

print(1 + 1)
```

### Cleaning

To clean all auto-generated file in given directory, call:

```python
autofiles clean .
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "slimebones-autofiles",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "ryzhovalex",
    "author_email": "thed4rkof@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d0/ce/ddb556b9ea11a162ef0b27c1ad64faf995558596c3310764e1a3c5bc4011/slimebones_autofiles-0.1.2.tar.gz",
    "platform": null,
    "description": "# autofiles\n\nDoes file generation.\n\n## Usage\n\n### Generation\n\nTo generate a file:\n\n```python\nfrom auto import AutoUtils\n\nAutoUtils.generate(\n    name=\"testing\",\n    extension=FileExtension.Python,\n    author=\"testco\",\n    dir=Path(Path.cwd(), \"var\"),\n    content=\"print(1 + 1)\\n\",\n)\n```\n\nWhich will result in a file with content like this:\n\n```python\n\"\"\"\nDo not modify, auto-generated by testco\n\"\"\"\n\nprint(1 + 1)\n```\n\n### Cleaning\n\nTo clean all auto-generated file in given directory, call:\n\n```python\nautofiles clean .\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef98bcf095fa9732fc044706846f101f77c9f15c5d208b06d2d034741ed92425",
                "md5": "e1c9c44e0b89c14e77da77871b1c574e",
                "sha256": "20a72aacd4fdda20555847d87e9baca903467def02760d0066f4f84c1c8a412c"
            },
            "downloads": -1,
            "filename": "slimebones_autofiles-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e1c9c44e0b89c14e77da77871b1c574e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 5968,
            "upload_time": "2023-12-21T23:32:46",
            "upload_time_iso_8601": "2023-12-21T23:32:46.793892Z",
            "url": "https://files.pythonhosted.org/packages/ef/98/bcf095fa9732fc044706846f101f77c9f15c5d208b06d2d034741ed92425/slimebones_autofiles-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0ceddb556b9ea11a162ef0b27c1ad64faf995558596c3310764e1a3c5bc4011",
                "md5": "b740f1488c4d31712f3840eae87fc058",
                "sha256": "c831d94b30bf72d47ddf621be027c7ad439266ff4e10fd3680c0ec4549563d15"
            },
            "downloads": -1,
            "filename": "slimebones_autofiles-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b740f1488c4d31712f3840eae87fc058",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 3563,
            "upload_time": "2023-12-21T23:32:48",
            "upload_time_iso_8601": "2023-12-21T23:32:48.563689Z",
            "url": "https://files.pythonhosted.org/packages/d0/ce/ddb556b9ea11a162ef0b27c1ad64faf995558596c3310764e1a3c5bc4011/slimebones_autofiles-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-21 23:32:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "slimebones-autofiles"
}
        
Elapsed time: 0.15633s