bpyutils: A Collection of Python Utilities
bpyutils by Achilles Rasquinha is a collection of various common Python utilities designed to assist with general programming tasks. The current version is 0.5.8. Its release cadence is irregular, typically driven by the addition or refinement of utility functions rather than a fixed schedule.
Warnings
- gotcha Do not confuse this 'bpyutils' PyPI package with Blender's built-in 'bpy.utils' module. They are entirely separate libraries with different functionalities and import paths. This library (achillesrasquinha/bpyutils) is a general Python utility collection.
- gotcha The documentation for specific utility functions and their APIs within the `achillesrasquinha/bpyutils` repository can be sparse. Users may need to inspect the source code to understand exact function signatures and behaviors.
- deprecated As a general utility collection, specific functions or modules within `bpyutils` may undergo changes or deprecation in minor versions without explicit warnings in the top-level README or PyPI page. Follow semantic versioning strictly and review changes between updates.
Install
-
pip install bpyutils
Imports
- common utility functions or classes
from bpyutils.util.system import get_os
Quickstart
from bpyutils.util.system import get_os
from bpyutils.util.datetime import get_timestamp
print(f"Operating System: {get_os()}")
print(f"Current Timestamp: {get_timestamp()}")