Skip to main content

pyifc: Utilities for .ifc files

License PyPI

Code style Imports: isort Checked with mypy

What is it?

pyifc is a Python package that provides utilities for working with .ifc files.

According to Wikipedia:

The Industry Foundation Classes (IFC) data model is intended to describe architectural, building and construction industry data.

IFC format provides interoperability. This way, it doesn't matter what software you work on or what file format you deal with on a daily basis. There is a high probability that your software has import and export functions for .ifc files. Learn more about IFC format here.

At this point, the project is in development. If you have any ideas on how it can be improved check Contributions. If you want to know what the project currently consists of, check Modules.

Table of Contents

Modules | Installation | Documentation | Usage | Found a bug? | Changelog | Contributions | Code of Conduct | License

Modules

compress - set of functions responsible for compressing files

In the future:

compare - set of functions responsible for comparing files
count - set of functions responsible for counting elements in a file
modify - set of functions responsible for modifying files

Installation

Use the package manager pip to install pyifc.

pip install pyifc

Unfortunately dependency package ifcopenshell is not distributed via PyPi. Hence you can get error while trying to import pyifc:

ModuleNotFoundError: No module named 'ifcopenshell'

To install ifcopenshell run from current directory:

python init_script.py

The script will download ifcopenshell based on given or automatically detected arguments. Possible arguments are listed below:

python init_script.py -h
usage: init_script.py [-h] [-s {linux,win,macos}] [-a {32,64}] [-v {37,38,39}]

Download ifcopenshell based on platform system, platform architecture
and running python version.

optional arguments:
  -h, --help            show this help message and exit
  -s {linux,win,macos}, --system {linux,win,macos}
                        Platform system.
  -a {32,64}, --architecture {32,64}
                        Platform architecture.
  -v {37,38,39}, --python-version {37,38,39}
                        Running python version; string of major and
                        minor version, e.g. '39'. pyifc supports python >= 3.7.

Documentation

Usage

Found a bug?

Feel free to add a new issue on the the pyifc repository. If you found a solution, feel free to add a new pull request.

Changelog

See CHANGELOG.md.

Contributions

See CONTRIBUTING.md.

Code of Conduct

Everyone interacting in the pyifc project's development is expected to follow the Code of Conduct.

License

pyifc is released under the terms of the MIT License.

Metadata

Release files for pyifc 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyifc 0.0.2
File Size Uploaded Provenance Actions
pyifc-0.0.2.tar.gz 9.1 kB Without provenance Details for pyifc-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyifc 0.0.2
File Interpreter ABI Platform Actions
pyifc-0.0.2-py3-none-any.whl Python 3 none any Details for pyifc-0.0.2-py3-none-any.whl

Total release size: 17.5 kB

Release files / pyifc-0.0.2.tar.gz

Download URL pyifc-0.0.2.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f2d0fd7e1ed665dab4dab6a72af2bf2f1170603132a760deb739bdd9201e7f9b
BLAKE2b-256 checksum
How to use checksums
2e6df471866f79c1c6931432216d6810f44ccc52d02245c4bf1bbf9333b10727
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / pyifc-0.0.2-py3-none-any.whl

Download URL pyifc-0.0.2-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9465a566f78fe200db6c1292b68f8fc1a73b2a5eb87a53c28f3abe602afa9ad5
BLAKE2b-256 checksum
How to use checksums
a696da28491ad4f70dcbeb7db7ebb9aa4e34e7dfaec8fa1226b614922709fdc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for pyifc 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page