ez-colab


Nameez-colab JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/pratik-tan10/ez-colab
SummaryA python package that helps you manage files in Google Colab notebooks.
upload_time2023-05-31 03:44:42
maintainer
docs_urlNone
authorPratik Dhungana
requires_python
license
keywords python ez-colab colab
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ez-colab

ez-colab 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 ez-colab using pip:

!pip install ez-colab


## Usage

To use ez-colab, you need to import it in your notebook:

`import easy_colab 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/ez-colab",
    "name": "ez-colab",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,ez-colab,colab",
    "author": "Pratik Dhungana",
    "author_email": "pdhungana@crimson.ua.edu",
    "download_url": "https://files.pythonhosted.org/packages/e2/ab/e20f267057bb446af2b96f5418c94635c98bbe838b0c5d9870c1c9a832af/ez-colab-0.0.2.tar.gz",
    "platform": null,
    "description": "# ez-colab\r\n\r\nez-colab 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 ez-colab using pip:\r\n\r\n!pip install ez-colab\r\n\r\n\r\n## Usage\r\n\r\nTo use ez-colab, you need to import it in your notebook:\r\n\r\n`import easy_colab 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.2",
    "project_urls": {
        "Homepage": "https://github.com/pratik-tan10/ez-colab"
    },
    "split_keywords": [
        "python",
        "ez-colab",
        "colab"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e2abe20f267057bb446af2b96f5418c94635c98bbe838b0c5d9870c1c9a832af",
                "md5": "0d8c48e8dc1396b12207ad7a93fabf42",
                "sha256": "4b365e986effe7245f8ccffd57c4bd1ffcd150a89c3ac93db0edb3019202b75f"
            },
            "downloads": -1,
            "filename": "ez-colab-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0d8c48e8dc1396b12207ad7a93fabf42",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2484,
            "upload_time": "2023-05-31T03:44:42",
            "upload_time_iso_8601": "2023-05-31T03:44:42.274898Z",
            "url": "https://files.pythonhosted.org/packages/e2/ab/e20f267057bb446af2b96f5418c94635c98bbe838b0c5d9870c1c9a832af/ez-colab-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-31 03:44:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pratik-tan10",
    "github_project": "ez-colab",
    "github_not_found": true,
    "lcname": "ez-colab"
}
        
Elapsed time: 0.16163s