Name | wixok.folder JSON |
Version |
25.8.2
JSON |
| download |
home_page | None |
Summary | Simple Python package for folder operations. |
upload_time | 2025-08-03 20:24:27 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | The MIT License (MIT)
Copyright (c) 2025 Mohammed Dellihr
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. |
keywords |
folder
folders
folder-management
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# folder
Simple Python package for folder operations.
## Install
```bash
pip install wixok.folder
```
## Usage
```python
from wixok.folder import Folder
# Check if a folder exists
exists = Folder.exists("/tmp/myfolder")
print(exists) # True
# Create a folder
success = Folder.create("/tmp", "myfolder")
print(success) # True
# Delete the folder
deleted = Folder.delete("/tmp/myfolder")
print(deleted) # True
# Get the current working directory
cwd = Folder.cwd()
print(cwd) # e.g., '/home/user/project'
```
## Methods
| Method | Description | Returns |
|--------|-------------|---------|
| `Folder.exists(path)` | Check if a folder exists and is a directory | `bool` |
| `Folder.create(path, name="")` | Create a folder at the given path (and optional subfolder name) | `bool` |
| `Folder.delete(path)` | Delete a folder at the given path | `bool` |
| `Folder.cwd()` | Get the current working directory path | `str` |
## Debug Mode
```python
folder.debug = True # Enable error messages
```
Raw data
{
"_id": null,
"home_page": null,
"name": "wixok.folder",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Mohammed Dellihr <mohammeddellihr@maildoo.com>",
"keywords": "folder, folders, folder-management",
"author": null,
"author_email": "Wixok <contact@wixok.com>",
"download_url": "https://files.pythonhosted.org/packages/da/09/02fc69a61ae9d952644a7d7ab8d86bfef3c6481e449c2c1c2629b5377166/wixok_folder-25.8.2.tar.gz",
"platform": null,
"description": "# folder\r\n\r\nSimple Python package for folder operations.\r\n\r\n## Install\r\n\r\n```bash\r\npip install wixok.folder\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nfrom wixok.folder import Folder\r\n\r\n# Check if a folder exists\r\nexists = Folder.exists(\"/tmp/myfolder\")\r\nprint(exists) # True\r\n\r\n# Create a folder\r\nsuccess = Folder.create(\"/tmp\", \"myfolder\")\r\nprint(success) # True\r\n\r\n# Delete the folder\r\ndeleted = Folder.delete(\"/tmp/myfolder\")\r\nprint(deleted) # True\r\n\r\n# Get the current working directory\r\ncwd = Folder.cwd()\r\nprint(cwd) # e.g., '/home/user/project'\r\n```\r\n\r\n## Methods\r\n\r\n| Method | Description | Returns |\r\n|--------|-------------|---------|\r\n| `Folder.exists(path)` | Check if a folder exists and is a directory | `bool` |\r\n| `Folder.create(path, name=\"\")` | Create a folder at the given path (and optional subfolder name) | `bool` |\r\n| `Folder.delete(path)` | Delete a folder at the given path | `bool` |\r\n| `Folder.cwd()` | Get the current working directory path | `str` |\r\n\r\n## Debug Mode\r\n\r\n```python\r\nfolder.debug = True # Enable error messages\r\n```\r\n",
"bugtrack_url": null,
"license": "The MIT License (MIT)\r\n \r\n Copyright (c) 2025 Mohammed Dellihr\r\n \r\n Permission is hereby granted, free of charge, to any person obtaining a copy\r\n of this software and associated documentation files (the \"Software\"), to deal\r\n in the Software without restriction, including without limitation the rights\r\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n copies of the Software, and to permit persons to whom the Software is\r\n furnished to do so, subject to the following conditions:\r\n \r\n The above copyright notice and this permission notice shall be included in\r\n all copies or substantial portions of the Software.\r\n \r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r\n THE SOFTWARE.",
"summary": "Simple Python package for folder operations.",
"version": "25.8.2",
"project_urls": {
"Issues": "https://github.com/wixok/folder/issues",
"Repository": "https://github.com/wixok/folder"
},
"split_keywords": [
"folder",
" folders",
" folder-management"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b6b20f54003a3de10173c2f3f364a8f3c598930cac7f75b7184f1c77cca53a37",
"md5": "59989f14c3d04fb698ce1980d5e836f7",
"sha256": "813bd3752ff57934abaeed2a392b228e4c48f421d887881176cbe9abbd64bdd0"
},
"downloads": -1,
"filename": "wixok_folder-25.8.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "59989f14c3d04fb698ce1980d5e836f7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 4555,
"upload_time": "2025-08-03T20:24:26",
"upload_time_iso_8601": "2025-08-03T20:24:26.991919Z",
"url": "https://files.pythonhosted.org/packages/b6/b2/0f54003a3de10173c2f3f364a8f3c598930cac7f75b7184f1c77cca53a37/wixok_folder-25.8.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "da0902fc69a61ae9d952644a7d7ab8d86bfef3c6481e449c2c1c2629b5377166",
"md5": "5e34a4393cfdc6708c8b5de15ac7c986",
"sha256": "5d1ea31f02d2dac009b93aba2d9e6fbed8899aa96803777918cbea2c25efdb14"
},
"downloads": -1,
"filename": "wixok_folder-25.8.2.tar.gz",
"has_sig": false,
"md5_digest": "5e34a4393cfdc6708c8b5de15ac7c986",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4010,
"upload_time": "2025-08-03T20:24:27",
"upload_time_iso_8601": "2025-08-03T20:24:27.895652Z",
"url": "https://files.pythonhosted.org/packages/da/09/02fc69a61ae9d952644a7d7ab8d86bfef3c6481e449c2c1c2629b5377166/wixok_folder-25.8.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-03 20:24:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "wixok",
"github_project": "folder",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "wixok.folder"
}