{"id":24021186,"url":"https://github.com/zipcodecore/pythonfundamentals.labs.pipmodule","last_synced_at":"2025-06-27T22:06:27.839Z","repository":{"id":147838225,"uuid":"227435556","full_name":"ZipCodeCore/PythonFundamentals.Labs.PipModule","owner":"ZipCodeCore","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-20T20:17:07.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T21:25:28.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZipCodeCore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-11T18:41:27.000Z","updated_at":"2025-04-20T20:17:10.000Z","dependencies_parsed_at":"2023-04-06T06:47:42.976Z","dependency_job_id":null,"html_url":"https://github.com/ZipCodeCore/PythonFundamentals.Labs.PipModule","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/ZipCodeCore/PythonFundamentals.Labs.PipModule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FPythonFundamentals.Labs.PipModule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FPythonFundamentals.Labs.PipModule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FPythonFundamentals.Labs.PipModule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FPythonFundamentals.Labs.PipModule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZipCodeCore","download_url":"https://codeload.github.com/ZipCodeCore/PythonFundamentals.Labs.PipModule/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZipCodeCore%2FPythonFundamentals.Labs.PipModule/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262341617,"owners_count":23296069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-08T12:39:46.685Z","updated_at":"2025-06-27T22:06:27.815Z","avatar_url":"https://github.com/ZipCodeCore.png","language":null,"readme":"# Pip Modules Lab\n\n### Prerequisite \n\n* [Python Fundamentals Exercise 9](https://github.com/Zipcoder/PythonFundamentals.Exercises.Part9)\n* [NOAA Daily Summaries](https://github.com/Zipcoder/DataEngineering.Labs.NOAADailySummaries)\n\n### Reference\n\n* [Packaging Python Projects](https://packaging.python.org/tutorials/packaging-projects/)\n\n### Part 1\n\n* Create the following file structure:\n\n```\njson_helper/\n    json_helper/\n        __init__.py\n        json_to_pandas.py\n    setup.py\n    LICENSE.rst\n    README.md\n```\n* Use the logic from the json_helper module created in the NOAA Daily Summaries lab to fill in json_to_pandas.py.\n\n* Open __init__.py file and add the following:\n\n```python\nfrom . import json_to_pandas\n```\n\nBy doing so, whenever the json_helper module is imported, it will automatically import the functionality from json_to_pandas.\nIf we don't do this, the user will have to manually import the module like so:\n\n```python\nfrom json_helper import json_to_pandas\n```\n\n* Following the example from the [packaging projects documentation](https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py), setup the file setup.py.\n\n* Add information to your README.md file. See the [docs](https://packaging.python.org/tutorials/packaging-projects/#creating-readme-md) for details.\n\n* Install the package using pip (locally)\n\nOpen a terminal and cd into the directory containing the setup.py file.\n\n```\npip install .\n```\n* Validate that the module works as expected.\n\nWe can now use this module in any of our notebooks with a simple import.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzipcodecore%2Fpythonfundamentals.labs.pipmodule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzipcodecore%2Fpythonfundamentals.labs.pipmodule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzipcodecore%2Fpythonfundamentals.labs.pipmodule/lists"}