BetterCorrectFast
Simplified BIM Collaboration Format (BCF) generation for project leaders and managers.
Usage
Install the library:
pip install bettercorrectfast
Create and save an issue locally:
import bettercorrectfast as bcf
issue = bcf.create("Title", "Description", "Screenshot.png")
bcf.save(issue, "issue.bcf")
It is also possible to add a title, description, snapshot and/or ifc-guids to the issue:
issue_from_text = bcf.create("Title", "Description")
issue_from_title = bcf.create(title="Title)
issue_from_description = bcf.create(description="Description")
issue_from_image = bcf.create(image_filepath="Screenshot.jpg")
issue_from_ifc_guids = bcf.create(ifc_guids=["1rDWROW8j2v8TxahWHKI_E", "1rDWROW8j2v8TxahWHKap1"])
Technical Notes
The issue schema conforms to the BCF (BIM Collaboration Format) version 2.1 standard as defined by buildingSMART International.
Note: This library currently supports image snapshots exclusively in .png format. Support for .jpg format is in development.
Building the Package
Setting up a virtual environment:
python -m venv env
Activating the virtual environment:
:: Windows CMD
env\Scripts\activate.bat
# Windows PowerShell
env\Scripts\Activate.ps1
# macOS/Linux
source venv/bin/activate
Installing required libraries:
pip install -r requirements.txt
Running tests:
python -m unittest discover -s tests
Building the package:
python setup.py sdist bdist_wheel
Metadata
Release files for bettercorrectfast 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bettercorrectfast-0.2.0.tar.gz | 30.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bettercorrectfast-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 63.2 kB
Release files / bettercorrectfast-0.2.0.tar.gz
| Download URL | bettercorrectfast-0.2.0.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da76705df689a49a9d07ac8a865162c5f6436cbe4b6ddfc641c5a8eea3ee4550
|
|
BLAKE2b-256 checksum How to use checksums |
cfec62d46e5787cff531e76acdfa0a01b8300dfdde39c18721de0ff1937d9ad1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / bettercorrectfast-0.2.0-py3-none-any.whl
| Download URL | bettercorrectfast-0.2.0-py3-none-any.whl |
|---|---|
| Size | 32.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13af51f0cf0fae691d3bba820e5cf789c99182ae9c9f351851a089b0208347ce
|
|
BLAKE2b-256 checksum How to use checksums |
3c9e0c695f3e530a676594d5e77706c8b26607a8def92165a33f0a5205bf89df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|