# filectrl
File Controller
## Get Controller
```python
import filectrl
fctrl = filectrl.get_controller()
```
Parameters:
write_type (filectrl.WriteType): Text, Data (default: .Text)
data_separator (str): write_type == filectrl.WriteType.Data (default: ',')
file_name (str): log file name. (default: ''; project directory name)
file_type (str): log file extension name. (default: 'log')
logging_path (str): logging path (default: '.')
backup_path (str): Backup path for logged file. (default: './logs')\n
## Write
```python
fctrl.write("Hello, world!")
```
Raw data
{
"_id": null,
"home_page": "",
"name": "filectrl",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "file,file control,file controller,file ctrl,filectrl",
"author": "",
"author_email": "Chor <chorong8883@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/39/a7/8d23a3a9e457c37ae7115b69ed08b11ba36dc2a11f55a95dd0b9a8c6821f/filectrl-0.0.4.tar.gz",
"platform": null,
"description": "# filectrl\nFile Controller\n\n## Get Controller\n```python\nimport filectrl\nfctrl = filectrl.get_controller()\n```\nParameters: \nwrite_type (filectrl.WriteType): Text, Data (default: .Text) \ndata_separator (str): write_type == filectrl.WriteType.Data (default: ',') \nfile_name (str): log file name. (default: ''; project directory name) \nfile_type (str): log file extension name. (default: 'log') \nlogging_path (str): logging path (default: '.') \nbackup_path (str): Backup path for logged file. (default: './logs')\\n\n\n## Write\n```python\nfctrl.write(\"Hello, world!\")\n```",
"bugtrack_url": null,
"license": "",
"summary": "File Controller",
"version": "0.0.4",
"project_urls": {
"Homepage": "https://github.com/chorong8883/filectrl"
},
"split_keywords": [
"file",
"file control",
"file controller",
"file ctrl",
"filectrl"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "79f76461851c7e642b14ea0e9d08b94f7d0de2d14ea2b64924c384c72cbb6281",
"md5": "c1302a476048507b174073ecfcd7d1ec",
"sha256": "d41ac7e26648b199ce6e59e8823e8399c2c3170422c975b3551c3729ba106bf9"
},
"downloads": -1,
"filename": "filectrl-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c1302a476048507b174073ecfcd7d1ec",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 3311,
"upload_time": "2023-12-26T04:08:25",
"upload_time_iso_8601": "2023-12-26T04:08:25.092989Z",
"url": "https://files.pythonhosted.org/packages/79/f7/6461851c7e642b14ea0e9d08b94f7d0de2d14ea2b64924c384c72cbb6281/filectrl-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "39a78d23a3a9e457c37ae7115b69ed08b11ba36dc2a11f55a95dd0b9a8c6821f",
"md5": "d2ed755c4428c4a537491f60e68e70ec",
"sha256": "b3b75cf911c58319abe152c6523c9e6281c7279db7ef99da7511a0821436eb8f"
},
"downloads": -1,
"filename": "filectrl-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "d2ed755c4428c4a537491f60e68e70ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 4007,
"upload_time": "2023-12-26T04:08:26",
"upload_time_iso_8601": "2023-12-26T04:08:26.987904Z",
"url": "https://files.pythonhosted.org/packages/39/a7/8d23a3a9e457c37ae7115b69ed08b11ba36dc2a11f55a95dd0b9a8c6821f/filectrl-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-26 04:08:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "chorong8883",
"github_project": "filectrl",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "filectrl"
}