# mkdirpy
Like `mkdir` but with `__init__.py` inside
## Installation
```
pip install mkdirpy
```
## Usage
The syntax is identical to `mkdir`:
```
mkdirpy foo
```
Will create `foo` directory and `foo/__init__.py`
Use `-p` flag to generate parent directories recursively:
```
mkdirpy -p foo/bar
```
Will create `foo`, `foo/__init__.py`, `foo/bar`, `foo/bar/__init__.py`
Add `-v` flag for verbose output:
```
mkdirpy -pv foo/bar
```
Output:
```
foo
foo/__init__.py
foo/bar
foo/bar/__init__.py
```
Raw data
{
"_id": null,
"home_page": "https://github.com/olzhasar/mkdirpy",
"name": "mkdirpy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6.0,<4.0.0",
"maintainer_email": "",
"keywords": "mkdir,mkdirpy,package,__init__.py",
"author": "Olzhas Arystanov",
"author_email": "o.arystanov@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e0/f8/a420f90128dbfac91f2d4673c3429f33d33b84914b92592fc428a6225f1d/mkdirpy-0.1.1.tar.gz",
"platform": null,
"description": "# mkdirpy\n\nLike `mkdir` but with `__init__.py` inside\n\n## Installation\n\n```\npip install mkdirpy\n```\n\n## Usage\n\nThe syntax is identical to `mkdir`:\n\n```\nmkdirpy foo\n```\n\nWill create `foo` directory and `foo/__init__.py`\n\nUse `-p` flag to generate parent directories recursively:\n\n```\nmkdirpy -p foo/bar\n```\n\nWill create `foo`, `foo/__init__.py`, `foo/bar`, `foo/bar/__init__.py`\n\nAdd `-v` flag for verbose output:\n\n```\nmkdirpy -pv foo/bar\n```\n\nOutput:\n\n```\nfoo\nfoo/__init__.py\nfoo/bar\nfoo/bar/__init__.py\n```\n",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "Like `mkdir`, but with `__init__.py` inside",
"version": "0.1.1",
"split_keywords": [
"mkdir",
"mkdirpy",
"package",
"__init__.py"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "547a4add525cfd80c846c6aff43d54ed",
"sha256": "69128f9fbf27e121bbc06b19c11001ba2a9a34152fc0a7616f7a446533be4f25"
},
"downloads": -1,
"filename": "mkdirpy-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "547a4add525cfd80c846c6aff43d54ed",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6.0,<4.0.0",
"size": 26442,
"upload_time": "2022-12-17T22:07:26",
"upload_time_iso_8601": "2022-12-17T22:07:26.337704Z",
"url": "https://files.pythonhosted.org/packages/01/2c/d8e9c078eb02c757327040016be5e2ca4bc6e12c59cb11358504f4591908/mkdirpy-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "2cef39000b25516391483e307fbdfcef",
"sha256": "effd7911b4a623db1684d8761b5e1963f84f06d97544ca6c772d973a7baae4fd"
},
"downloads": -1,
"filename": "mkdirpy-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "2cef39000b25516391483e307fbdfcef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6.0,<4.0.0",
"size": 14713,
"upload_time": "2022-12-17T22:07:28",
"upload_time_iso_8601": "2022-12-17T22:07:28.164613Z",
"url": "https://files.pythonhosted.org/packages/e0/f8/a420f90128dbfac91f2d4673c3429f33d33b84914b92592fc428a6225f1d/mkdirpy-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-17 22:07:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "olzhasar",
"github_project": "mkdirpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "mkdirpy"
}