{"id":26175465,"url":"https://github.com/bhom/python_toolkit","last_synced_at":"2025-04-14T21:31:40.443Z","repository":{"id":40656955,"uuid":"226367792","full_name":"BHoM/Python_Toolkit","owner":"BHoM","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-05T16:17:12.000Z","size":17271,"stargazers_count":4,"open_issues_count":7,"forks_count":2,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-02-05T16:40:39.092Z","etag":null,"topics":["bhom","machine-learning","utility"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BHoM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06T16:24:04.000Z","updated_at":"2025-02-05T15:48:04.000Z","dependencies_parsed_at":"2023-12-12T18:24:27.865Z","dependency_job_id":"424f9b33-db5b-46ae-81cc-f52f1751ddb6","html_url":"https://github.com/BHoM/Python_Toolkit","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BHoM%2FPython_Toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BHoM%2FPython_Toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BHoM%2FPython_Toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BHoM%2FPython_Toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BHoM","download_url":"https://codeload.github.com/BHoM/Python_Toolkit/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243112168,"owners_count":20238183,"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":["bhom","machine-learning","utility"],"created_at":"2025-03-11T20:56:38.803Z","updated_at":"2025-03-11T20:56:39.350Z","avatar_url":"https://github.com/BHoM.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)\n## Install me\nTo install the Python_Toolkit:\n1. Compile:  \n    1. [BHoM](https://github.com/BHoM/BHoM)  \n    1. [BHoM_Engine](https://github.com/BHoM/BHoM_Engine)  \n    1. [BHoM_Adapter](https://github.com/BHoM/BHoM_Adapter)   \n    1. [BHoM_UI](https://github.com/BHoM/BHoM_UI)  \n    1. [Rhinoceros_Toolkit](https://github.com/BHoM/Rhinoceros_Toolkit) \n    1. [Grasshopper_Toolkit](https://github.com/BHoM/Grasshopper_Toolkit)  \n    1. Python_Toolkit (this repo)\n1. Open a UI of your choice (e.g. Grasshopper)\n1. Run the `BH.Engine.Python.Compute.InstallPythonToolkit` component and wait for the installation to finish\n1. The installation has succeeded if the install packages include:\n\t- Python 3.7\n  \t- jupyterlab\n  \t- matplotlib\n  \t- Python_Toolkit\n1. Restart your UI or recompute the script\n\nTo check whether all went well you can run the component `BH.Engine.Python.Compute.Import` with an input of a string as `Python_Engine`,\nand check that it succeed without errors\n\n## Installation structure\nThere are two main events to install the toolkit:\n1. Compiling the toolkit. This does two things:\n\t- It builds the dynamic libraries required by .NET and copies them to C:\\ProgramData\\BHoM\\Assemblies\n\t- It packs the python files in the toolkit and copies them to C:\\ProgramData\\BHoM\\Extensions\\Python\\src\n2. Installing the Toolkit from the UI. This is performed by running the `InstallPythonToolkit` method. This will:\n\t- Download Python and install python\n\t- Download and install `pip`\n\t- Install the necessary packages (e.g. `jupyterlab`)\n\t- Install the python bindings of the Python_Toolkit from C:\\ProgramData\\BHoM\\Extensions\\Python\\src\n\t  This contains all the code that is currently developed in the toolkit in python\n\n\n## Building the BHoM and the Toolkits from Source ##\nYou will need the following to build BHoM:\n\n- Microsoft Visual Studio 2013 or higher\n- Microsoft .NET Framework 4.0 and above (included with Visual Studio 2013)\n- Note that there are no software - specific dependencies (only operating system relevant), this is specific: BHoM is a software agnostic object model.\n\n\n## Want to contribute? ##\n\nBHoM is an open-source project and would be nothing without its community. Take a look at our contributing guidelines and tips [here](https://github.com/BHoM/BHoM/blob/main/CONTRIBUTING.md).\n\n\n## Licence ##\n\nBHoM is free software licenced under GNU Lesser General Public Licence - [https://www.gnu.org/licenses/lgpl-3.0.html](https://www.gnu.org/licenses/lgpl-3.0.html)  \nEach contributor holds copyright over their respective contributions.\nThe project versioning (Git) records all such contribution source information.\nSee [LICENSE](https://github.com/BHoM/BHoM/blob/main/LICENSE) and [COPYRIGHT_HEADER](https://github.com/BHoM/BHoM/blob/main/COPYRIGHT_HEADER.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhom%2Fpython_toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhom%2Fpython_toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhom%2Fpython_toolkit/lists"}