ezlab


Nameezlab JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/pratik-tan10/ezlab
SummaryA python package that helps you manage files in Google Colab notebooks.
upload_time2023-06-06 19:38:49
maintainer
docs_urlNone
authorPratik Dhungana
requires_python
license
keywords python ezlab colab
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ezlab

ezlab is a Python package that helps you manage files in Google Colab notebooks. It provides three functions:

- `start_work()`: This function uploads files or a zip file from your local machine (and extracts the zip file is the user wants) in the current working directory.
- `finish_work(output_zip_file_name)`: This function zips all the files in the current working directory and downloads the zip file with the given name.
- `clear_directory()`: This function deletes all the files and folders in the current working directory, effectively resetting the working directory.

## Installation

You can install ezlab using pip:

` !pip install ezlab `


## Usage

To use ezlab, you need to import it in your notebook:

`import ezlab as ec`


Then you can call any of the functions as needed. For example, to upload and extract "my_project.zip" in your current directory, you can use:

`ec.start_work("my_project.zip")`


To zip and download all the files in your current directory as "my_project.zip", you can use:

`ec.finish_work("my_project.zip")`


To delete all the files and folders in your current directory, you can use:

`ec.clear_directory()`


## License

This package is licensed under the MIT License. See the __LICENSE.txt__ file for more details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pratik-tan10/ezlab",
    "name": "ezlab",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,ezlab,colab",
    "author": "Pratik Dhungana",
    "author_email": "pdhungana@crimson.ua.edu",
    "download_url": "https://files.pythonhosted.org/packages/0a/27/7fe514d51259d9598642d802ee557a822c2f05441f7385a952cadf48049c/ezlab-0.0.1.tar.gz",
    "platform": null,
    "description": "# ezlab\r\n\r\nezlab is a Python package that helps you manage files in Google Colab notebooks. It provides three functions:\r\n\r\n- `start_work()`: This function uploads files or a zip file from your local machine (and extracts the zip file is the user wants) in the current working directory.\r\n- `finish_work(output_zip_file_name)`: This function zips all the files in the current working directory and downloads the zip file with the given name.\r\n- `clear_directory()`: This function deletes all the files and folders in the current working directory, effectively resetting the working directory.\r\n\r\n## Installation\r\n\r\nYou can install ezlab using pip:\r\n\r\n` !pip install ezlab `\r\n\r\n\r\n## Usage\r\n\r\nTo use ezlab, you need to import it in your notebook:\r\n\r\n`import ezlab as ec`\r\n\r\n\r\nThen you can call any of the functions as needed. For example, to upload and extract \"my_project.zip\" in your current directory, you can use:\r\n\r\n`ec.start_work(\"my_project.zip\")`\r\n\r\n\r\nTo zip and download all the files in your current directory as \"my_project.zip\", you can use:\r\n\r\n`ec.finish_work(\"my_project.zip\")`\r\n\r\n\r\nTo delete all the files and folders in your current directory, you can use:\r\n\r\n`ec.clear_directory()`\r\n\r\n\r\n## License\r\n\r\nThis package is licensed under the MIT License. See the __LICENSE.txt__ file for more details.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A python package that helps you manage files in Google Colab notebooks.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/pratik-tan10/ezlab"
    },
    "split_keywords": [
        "python",
        "ezlab",
        "colab"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a277fe514d51259d9598642d802ee557a822c2f05441f7385a952cadf48049c",
                "md5": "0d15242324fcaa1e0919f2edeae5a13b",
                "sha256": "5a20f473ecbe21076a67fccb0ad5c45b824aeb8c09e17c72422f4e68c4810910"
            },
            "downloads": -1,
            "filename": "ezlab-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "0d15242324fcaa1e0919f2edeae5a13b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2483,
            "upload_time": "2023-06-06T19:38:49",
            "upload_time_iso_8601": "2023-06-06T19:38:49.476054Z",
            "url": "https://files.pythonhosted.org/packages/0a/27/7fe514d51259d9598642d802ee557a822c2f05441f7385a952cadf48049c/ezlab-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-06 19:38:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pratik-tan10",
    "github_project": "ezlab",
    "github_not_found": true,
    "lcname": "ezlab"
}
        
Elapsed time: 0.58278s