bcf-api-xml 0.4.13__tar.gz → 0.4.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/PKG-INFO +6 -7
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/__init__.py +1 -1
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/import_zip.py +3 -3
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/pyproject.toml +10 -10
- bcf_api_xml-0.4.13/setup.py +0 -34
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/README.md +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/Schemas/bcf.version +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/Schemas/markup.xsd +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/Schemas/project.xsd +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/Schemas/version.xsd +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/Schemas/visinfo.xsd +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/errors.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/export/__init__.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/export/excel.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/export/zip.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/ClippingPlane.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/Color.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/Comment.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/Component.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/Line.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/OrthogonalCamera.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/PerspectiveCamera.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/Topic.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/ViewSetupHints.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/Viewpoint.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/Visibility.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/VisualizationInfo.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/XYZ.py +0 -0
- {bcf_api_xml-0.4.13 → bcf_api_xml-0.4.15}/bcf_api_xml/models/__init__.py +0 -0
@@ -1,23 +1,22 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: bcf-api-xml
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.15
|
4
4
|
Summary: Convert BCF-API to BCF-XML
|
5
5
|
Home-page: https://github.com/bimdata/BCF-API-XML-translator
|
6
6
|
License: MIT
|
7
7
|
Author: Hugo Duroux
|
8
8
|
Author-email: hugo@bimdata.io
|
9
|
-
Requires-Python: >=3.
|
9
|
+
Requires-Python: >=3.10,<4.0
|
10
10
|
Classifier: License :: OSI Approved :: MIT License
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
14
12
|
Classifier: Programming Language :: Python :: 3.10
|
15
13
|
Classifier: Programming Language :: Python :: 3.11
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
16
15
|
Requires-Dist: generateDS (>=2.35.13,<3.0.0)
|
17
|
-
Requires-Dist: lxml (>=
|
18
|
-
Requires-Dist: pillow (>=
|
16
|
+
Requires-Dist: lxml (>=5.3.1,<6.0.0)
|
17
|
+
Requires-Dist: pillow (>=11.1.0,<12.0.0)
|
19
18
|
Requires-Dist: python-dateutil (>=2.8.0,<3.0.0)
|
20
|
-
Requires-Dist: xlsxwriter (>=3.
|
19
|
+
Requires-Dist: xlsxwriter (>=3.2.2,<4.0.0)
|
21
20
|
Project-URL: Repository, https://github.com/bimdata/BCF-API-XML-translator
|
22
21
|
Description-Content-Type: text/markdown
|
23
22
|
|
@@ -20,9 +20,9 @@ def check_bcf_version(file):
|
|
20
20
|
bcf_version_tree = etree.parse(file)
|
21
21
|
root = bcf_version_tree.getroot()
|
22
22
|
version = root.get("VersionId")
|
23
|
-
if version
|
23
|
+
if version not in ["2.1", "2.0"]:
|
24
24
|
raise UnsupportedBCFVersion(
|
25
|
-
f"version {version} is not supported. Only BCF 2.
|
25
|
+
f"version {version} is not supported. Only BCF 2.x is supported"
|
26
26
|
)
|
27
27
|
|
28
28
|
|
@@ -33,7 +33,7 @@ def to_json(bcf_file):
|
|
33
33
|
check_bcf_version(version_file)
|
34
34
|
except KeyError:
|
35
35
|
raise UnsupportedBCFVersion(
|
36
|
-
"Unable to check version.
|
36
|
+
"Unable to check version. Only BCF 2.x is supported"
|
37
37
|
)
|
38
38
|
files = zip_ref.infolist()
|
39
39
|
files_names = zip_ref.namelist()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "bcf-api-xml"
|
3
|
-
version = "0.4.
|
3
|
+
version = "0.4.15"
|
4
4
|
description = "Convert BCF-API to BCF-XML"
|
5
5
|
authors = ["Hugo Duroux <hugo@bimdata.io>"]
|
6
6
|
license = "MIT"
|
@@ -9,20 +9,20 @@ homepage = "https://github.com/bimdata/BCF-API-XML-translator"
|
|
9
9
|
repository = "https://github.com/bimdata/BCF-API-XML-translator"
|
10
10
|
|
11
11
|
[tool.poetry.dependencies]
|
12
|
-
python = "^3.
|
13
|
-
lxml = "^
|
12
|
+
python = "^3.10"
|
13
|
+
lxml = "^5.3.1"
|
14
14
|
generateDS = "^2.35.13"
|
15
15
|
python-dateutil = "^2.8.0"
|
16
|
-
xlsxwriter = "^3.
|
17
|
-
pillow = "^
|
16
|
+
xlsxwriter = "^3.2.2"
|
17
|
+
pillow = "^11.1.0"
|
18
18
|
|
19
19
|
[tool.poetry.dev-dependencies]
|
20
|
-
pytest = "^
|
21
|
-
black = "^
|
22
|
-
pre-commit = "^
|
20
|
+
pytest = "^8.3.5"
|
21
|
+
black = "^25.1.0"
|
22
|
+
pre-commit = "^4.1.0"
|
23
23
|
reorder-python-imports = "^3.8.2"
|
24
|
-
pyflakes = "^2.
|
25
|
-
pycodestyle = "2.
|
24
|
+
pyflakes = "^3.2.0"
|
25
|
+
pycodestyle = "2.12.1"
|
26
26
|
|
27
27
|
|
28
28
|
[tool.black]
|
bcf_api_xml-0.4.13/setup.py
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
from setuptools import setup
|
3
|
-
|
4
|
-
packages = \
|
5
|
-
['bcf_api_xml', 'bcf_api_xml.export', 'bcf_api_xml.models']
|
6
|
-
|
7
|
-
package_data = \
|
8
|
-
{'': ['*'], 'bcf_api_xml': ['Schemas/*']}
|
9
|
-
|
10
|
-
install_requires = \
|
11
|
-
['generateDS>=2.35.13,<3.0.0',
|
12
|
-
'lxml>=4.5.0,<5.0.0',
|
13
|
-
'pillow>=10.0.1,<11.0.0',
|
14
|
-
'python-dateutil>=2.8.0,<3.0.0',
|
15
|
-
'xlsxwriter>=3.1.2,<4.0.0']
|
16
|
-
|
17
|
-
setup_kwargs = {
|
18
|
-
'name': 'bcf-api-xml',
|
19
|
-
'version': '0.4.13',
|
20
|
-
'description': 'Convert BCF-API to BCF-XML',
|
21
|
-
'long_description': 'BCF-API-XML-converter\n=====================\n\nBCF-API-XML-converter is a library to open BCFzip and get data similar to BCF API json and to save BCF API data as BCFzip files.\n\n\n# Install\n```bash\npip install bcf-api-xml\n```\n\n# usage\n```python\n from bcf_api_xml import to_zip, to_json\n\n file_like_bcf_zip = to_zip(topics, comments, viewpoints)\n\n imported_topics = to_json(file_like_bcf_zip)\n```\n\n# develop\n```bash\npoetry shell\npoetry install\npytest\npre-commit install\n```\n\n# Publish new version\n```bash\npoetry publish --build --username= --password=\n```\n',
|
22
|
-
'author': 'Hugo Duroux',
|
23
|
-
'author_email': 'hugo@bimdata.io',
|
24
|
-
'maintainer': 'None',
|
25
|
-
'maintainer_email': 'None',
|
26
|
-
'url': 'https://github.com/bimdata/BCF-API-XML-translator',
|
27
|
-
'packages': packages,
|
28
|
-
'package_data': package_data,
|
29
|
-
'install_requires': install_requires,
|
30
|
-
'python_requires': '>=3.8,<4.0',
|
31
|
-
}
|
32
|
-
|
33
|
-
|
34
|
-
setup(**setup_kwargs)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|