# MotionBuilder pyfbsdk stub-file generator
Script for generating python stub files for Autodesk MotionBuilder's pyfbsdk module.
These stub files include all classes & functions that can be accessed through the pyfbsdk module.
They also include type hints and docstrings for most entities.
<br>
# Pre-generated files
The GitHub repository already contains some pre-generated stub files that are ready to be used, simply get them from the [generated-stub-files](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files) folder:
* [MotionBuilder 2025](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files/motionbuilder-2025)
* [MotionBuilder 2024](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files/motionbuilder-2024)
* [MotionBuilder 2023](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files/motionbuilder-2023)
* [MotionBuilder 2022](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files/motionbuilder-2022)
<br>
# Usage
## Generate stub files
If you want to generate your own stub files for your MotionBuilder version:
1. Install the module through pip:
```cmd
python -m pip install pyfbsdk-stub-generator
```
2. From within MotionBuilder, run:
```python
import pyfbsdk_stub_generator
pyfbsdk_stub_generator.Generate(Directory = "C:/MyDirectory/")
```
<br>
# Application Spesific Setup
## Visual Studio Code
These stub files comes bundeled with the [MotionBuilder Utils](https://marketplace.visualstudio.com/items?itemName=NilsSoderman.mobu-utils) VSCode extention.
Raw data
{
"_id": null,
"home_page": "https://github.com/nils-soderman/pyfbsdk-stub-generator",
"name": "pyfbsdk-stub-generator",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "pyfbsdk, motionbuilder, mobu, autodesk, stub, stubfile, generator, gen",
"author": "Nils Soderman",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/53/1b/6d318376a99ad43887b54aff81bb588817cf3c67bbb19a7206d4b5c01bed/pyfbsdk-stub-generator-2025.0.0.tar.gz",
"platform": null,
"description": "# MotionBuilder pyfbsdk stub-file generator\nScript for generating python stub files for Autodesk MotionBuilder's pyfbsdk module.\n\nThese stub files include all classes & functions that can be accessed through the pyfbsdk module.\nThey also include type hints and docstrings for most entities.\n\n\n<br>\n\n\n# Pre-generated files\nThe GitHub repository already contains some pre-generated stub files that are ready to be used, simply get them from the [generated-stub-files](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files) folder:\n* [MotionBuilder 2025](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files/motionbuilder-2025)\n* [MotionBuilder 2024](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files/motionbuilder-2024)\n* [MotionBuilder 2023](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files/motionbuilder-2023)\n* [MotionBuilder 2022](https://github.com/nils-soderman/pyfbsdk-stub-generator/tree/main/generated-stub-files/motionbuilder-2022)\n\n<br>\n\n# Usage\n\n## Generate stub files\nIf you want to generate your own stub files for your MotionBuilder version:\n\n1. Install the module through pip:\n```cmd\npython -m pip install pyfbsdk-stub-generator\n```\n\n2. From within MotionBuilder, run:\n```python\nimport pyfbsdk_stub_generator\n\npyfbsdk_stub_generator.Generate(Directory = \"C:/MyDirectory/\")\n```\n\n<br>\n\n# Application Spesific Setup\n\n## Visual Studio Code\n\nThese stub files comes bundeled with the [MotionBuilder Utils](https://marketplace.visualstudio.com/items?itemName=NilsSoderman.mobu-utils) VSCode extention.\n",
"bugtrack_url": null,
"license": "MIT-0",
"summary": "Generate pyfbsdk stub files for better intellisense when working with MotionBuilder",
"version": "2025.0.0",
"project_urls": {
"Homepage": "https://github.com/nils-soderman/pyfbsdk-stub-generator"
},
"split_keywords": [
"pyfbsdk",
" motionbuilder",
" mobu",
" autodesk",
" stub",
" stubfile",
" generator",
" gen"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b2b20438fc6c1f3c8602994436caa5a4a086b4494f7280097bfedbc698c4bcb2",
"md5": "a9198291bbed7a12f5b17bb54eecc920",
"sha256": "ca85ce2698458709cd49bb71e47988437a5825eea84012e27b6564d0526d7fff"
},
"downloads": -1,
"filename": "pyfbsdk_stub_generator-2025.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a9198291bbed7a12f5b17bb54eecc920",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 31291,
"upload_time": "2024-04-07T15:21:33",
"upload_time_iso_8601": "2024-04-07T15:21:33.067062Z",
"url": "https://files.pythonhosted.org/packages/b2/b2/0438fc6c1f3c8602994436caa5a4a086b4494f7280097bfedbc698c4bcb2/pyfbsdk_stub_generator-2025.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "531b6d318376a99ad43887b54aff81bb588817cf3c67bbb19a7206d4b5c01bed",
"md5": "245916d85fe63f918ba70dfd39a951a4",
"sha256": "a1962b48d1608f2baacecf6dd7d364b5a1ec17839db213cbc55b1ee42731ca40"
},
"downloads": -1,
"filename": "pyfbsdk-stub-generator-2025.0.0.tar.gz",
"has_sig": false,
"md5_digest": "245916d85fe63f918ba70dfd39a951a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 24205,
"upload_time": "2024-04-07T15:21:34",
"upload_time_iso_8601": "2024-04-07T15:21:34.128090Z",
"url": "https://files.pythonhosted.org/packages/53/1b/6d318376a99ad43887b54aff81bb588817cf3c67bbb19a7206d4b5c01bed/pyfbsdk-stub-generator-2025.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-07 15:21:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "nils-soderman",
"github_project": "pyfbsdk-stub-generator",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pyfbsdk-stub-generator"
}