<commit_before># ghpythonremote
Connect an external python instance to Grasshopper, and vice-versa.

### Installation

Requires a Python 2.7 installation, not compatible with Python 3.
Requires [rpyc](https://rpyc.readthedocs.io/en/latest/).

1. To use from Rhino/IronPython to external python:
  - Install rpyc in external python with `pip install rpyc` from the command line.
  - Install ghpythonremote in Rhino/IronPython by copying the source code to `%APPDATA%\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\ghpythonremote`, install in Rhino/IronPython by

2. To use from external python to Rhino/IronPython:
  - Install rpyc in Rhino/IronPython by extracting the `rpyc` sub-directory from the [source code](https://pypi.python.org/packages/c5/b0/5425118bf8f209ebc863425acb37f49f71c7577dffbfaeaf0d80722e57c5/rpyc-3.3.0.zip#md5=f60bb91b46851be45363cd72e078e6ba) to `%APPDATA%\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib`
  - Install ghpythonremote in external python: put ghpythonremote folder in the same folder as the python file being executed, or in the `Lib` folder of your python installation (by default `C:\Python27\Lib`).

### Usage

See examples in `examples` folder.<commit_msg>Add mention of license in README.md<commit_after># ghpythonremote
Connect an external python instance to Grasshopper, and vice-versa.

### Installation

Requires a Python 2.7 installation, not compatible with Python 3.
Requires [rpyc](https://rpyc.readthedocs.io/en/latest/).

1. To use from Rhino/IronPython to external python:
  - Install rpyc in external python with `pip install rpyc` from the command line.
  - Install ghpythonremote in Rhino/IronPython by copying the source code to `%APPDATA%\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\ghpythonremote`, install in Rhino/IronPython by

2. To use from external python to Rhino/IronPython:
  - Install rpyc in Rhino/IronPython by extracting the `rpyc` sub-directory from the [source code](https://pypi.python.org/packages/c5/b0/5425118bf8f209ebc863425acb37f49f71c7577dffbfaeaf0d80722e57c5/rpyc-3.3.0.zip#md5=f60bb91b46851be45363cd72e078e6ba) to `%APPDATA%\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib`
  - Install ghpythonremote in external python: put ghpythonremote folder in the same folder as the python file being executed, or in the `Lib` folder of your python installation (by default `C:\Python27\Lib`).

### Usage

See examples in `examples` folder.

### License

Licensed under the GNU AGPL 3.0 license.
{'fraction_non_alphanumeric': 0.0948438088069251, 'fraction_numerical': 0.09032743695897628, 'mean_word_length': 5.068493150684931, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6999295', 'n_tokens_mistral': 1102, 'n_tokens_neox': 921, 'n_words': 254}