Metadata-Version: 2.1
Name: filecreate
Version: 0.0.6
Summary: Provides functionality for creating a new empty file with unique name
Home-page: https://github.com/LuckyKarter/filecreate
Author: Egor Wexler
Author-email: egor.wexler@icloud.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/LuckyKarter/filecreate/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# FileCreate
[![PyPI](https://img.shields.io/pypi/v/FileCreate)](https://pypi.org/project/winregmgr/)

Provides functionality for creating a new empty file with unique name.

The file_mask parameter may contain a sequence of hash marks '#' which will be substituted by a unique sequence number 
starting from 001. 

## Install:

```bash  
$ pip install FileCreate
```  

## Usage Samples:

```Python
from filecreate import FileCreate

# Create file using mask
with FileCreate('test####.txt') as file:    # if test0001.txt does not exist - creates it
    file.writelines()                       # working with file descriptor as usual

# Get available file name without creating an actual file
filename = FileCreate.get_filename('Folder', 'test###.txt')

```



