PyPartMC 1.1.3__cp39-cp39-manylinux_2_24_x86_64.whl → 1.2.0__cp39-cp39-manylinux_2_24_x86_64.whl

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.

Potentially problematic release.


This version of PyPartMC might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyPartMC
3
- Version: 1.1.3
3
+ Version: 1.2.0
4
4
  Summary: Python interface to PartMC
5
5
  Author: PyPartMC team (see https://github.com/open-atmos/PyPartMC/graphs/contributors)
6
6
  Author-email: nriemer@illinois.edu
@@ -30,7 +30,8 @@ The Python API can facilitate using PartMC from other environments - see, e.g.,
30
30
  For an outline of the project, rationale, architecture, and features, refer to: [D'Aquino et al., 2024 (SoftwareX)](https://doi.org/10.1016/j.softx.2023.101613) (please cite if PyPartMC is used in your research).
31
31
  For a list of talks and other relevant resources, please see [project Wiki](https://github.com/open-atmos/PyPartMC/wiki/).
32
32
 
33
- [![US Funding](https://img.shields.io/static/v1?label=US%20DOE%20Funding%20by&color=267c32&message=ASR&logoWidth=25&logo=image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAQCAMAAAA25D/gAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAASFBMVEVOTXyyIjRDQnNZWINZWITtzdFUU4BVVIFVVYHWiZM9PG/KZnNXVoJaWYT67/FKSXhgX4hgX4lcW4VbWoX03uHQeIN2VXj///9pZChlAAAAAWJLR0QXC9aYjwAAAAd0SU1FB+EICRMGJV+KCCQAAABdSURBVBjThdBJDoAgEETRkkkZBBX0/kd11QTTpH1/STqpAAwWBkobSlkGbt0o5xmEfqxDZJB2Q6XMoBwnVSbTylWp0hi42rmbwTOYPDfR5Kc+07IIUQQvghX9THsBHcES8/SiF0kAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDgtMDlUMTk6MDY6MzcrMDA6MDCX1tBgAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTA4LTA5VDE5OjA2OjM3KzAwOjAw5oto3AAAAABJRU5ErkJggg==)](https://asr.science.energy.gov/)
33
+ [![US Funding](https://img.shields.io/static/v1?label=US%20DOE%20Funding%20by&color=267c32&message=ASR&logoWidth=25&logo=image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAQCAMAAAA25D/gAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAASFBMVEVOTXyyIjRDQnNZWINZWITtzdFUU4BVVIFVVYHWiZM9PG/KZnNXVoJaWYT67/FKSXhgX4hgX4lcW4VbWoX03uHQeIN2VXj///9pZChlAAAAAWJLR0QXC9aYjwAAAAd0SU1FB+EICRMGJV+KCCQAAABdSURBVBjThdBJDoAgEETRkkkZBBX0/kd11QTTpH1/STqpAAwWBkobSlkGbt0o5xmEfqxDZJB2Q6XMoBwnVSbTylWp0hi42rmbwTOYPDfR5Kc+07IIUQQvghX9THsBHcES8/SiF0kAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDgtMDlUMTk6MDY6MzcrMDA6MDCX1tBgAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTA4LTA5VDE5OjA2OjM3KzAwOjAw5oto3AAAAABJRU5ErkJggg==)](https://asr.science.energy.gov/) [![PL Funding](https://img.shields.io/static/v1?label=PL%20Funding%20by&color=d21132&message=NCN&logoWidth=25&logo=image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAANCAYAAACpUE5eAAAABmJLR0QA/wD/AP+gvaeTAAAAKUlEQVQ4jWP8////fwYqAiZqGjZqIHUAy4dJS6lqIOMdEZvRZDPcDQQAb3cIaY1Sbi4AAAAASUVORK5CYII=)](https://www.ncn.gov.pl/?language=en)
34
+
34
35
  [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
35
36
  [![Copyright](https://img.shields.io/static/v1?label=Copyright&color=249fe2&message=UIUC&)](https://atmos.illinois.edu/)
36
37
  [![Github Actions Build Status](https://github.com/open-atmos/PyPartMC/workflows/tests+pypi/badge.svg?branch=main)](https://github.com/open-atmos/PyPartMC/actions)
@@ -301,8 +302,14 @@ flowchart TD
301
302
  ```
302
303
 
303
304
  ## FAQ
305
+ - Q: How to install PyPartMC with MOSAIC enabled?
306
+ A: Installation can be done using `pip`, however, `pip` needs to be instructed not to use binary packages available at pypi.org but rather to compile from source (pip will download the source from pip.org), and the path to compiled MOSAIC library needs to be provided at compile-time; the following command should convey it:
307
+ ```bash
308
+ MOSAIC_HOME=<<PATH_TO_MOSAIC_LIB>> pip install --force-reinstall --no-binary=PyPartMC PyPartMC
309
+ ```
310
+
304
311
  - Q: Why `pip install PyPartMC` triggers compilation on my brand new Apple machine, while it quickly downloads and installs binary packages when executed on older Macs, Windows or Linux?
305
- A: We are not yet providing binary wheels on PyPI for Apple-silicon (arm64) machines. Cross-compilation with gfortran is only supported with experimental unofficial builds [and is tricky](https://github.com/iains/gcc-12-branch/issues/23), while Github Actions ARM64 virtual machines are [costly](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#minute-multipliers).
312
+ A: We are providing binary wheels on PyPI for Apple-silicon (arm64) machines for selected macOS version made available by Github. In case the macOS version you are using is newer, compilation from source is triggered.
306
313
 
307
314
  - Q: Why some of the constructors expect data to be passed as **lists of single-entry dictionaries** instead of multi-element dictionaries?
308
315
  A: This is intentional and related with PartMC relying on the order of elements within spec-file input; while Python dictionaries preserve ordering (insertion order), JSON format does not, and we intend to make these data structures safe to be [de]serialized using JSON.
@@ -314,6 +321,9 @@ import PyPartMC
314
321
  PyPartMC.__versions_of_build_time_dependencies__['PartMC']
315
322
  ```
316
323
 
324
+ - Q: Why m4 and perl are required at compile time?
325
+ A: PyPartMC includes parts of netCDF and HDF5 codebases which depend on m4 and perl, respectively, for generating source files before compilation.
326
+
317
327
  ## Troubleshooting
318
328
 
319
329
  #### Common installation issues
@@ -349,7 +359,7 @@ PyPartMC codebase benefits from Pylint, Black and isort code analysis (which are
349
359
  #### PyPartMC:
350
360
 
351
361
  authors: [PyPartMC developers](https://github.com/open-atmos/PyPartMC/graphs/contributors)
352
- funding: [US Department of Energy Atmospheric System Research programme](https://asr.science.energy.gov/)
362
+ funding: [US Department of Energy Atmospheric System Research programme](https://asr.science.energy.gov/), [Polish National Science Centre](https://ncn.gov.pl/en)
353
363
  copyright: [University of Illinois at Urbana-Champaign](https://atmos.illinois.edu/)
354
364
  licence: [GPL v3](https://www.gnu.org/licenses/gpl-3.0.en.html)
355
365
 
@@ -0,0 +1,9 @@
1
+ _PyPartMC.cpython-39-x86_64-linux-gnu.so,sha256=a4WPkZHk-xAW3mvJsMLp0r5vhqnJzIu3iFw56AD5k8Y,8822353
2
+ PyPartMC.libs/libquadmath-0605fa11.so.0.0.0,sha256=i5xERc8gmYq5yeinkZ30D3XByxbJvk5b0ZbqJgY9HSM,259905
3
+ PyPartMC.libs/libgfortran-bbf01bbb.so.3.0.0,sha256=JkSfevfj6UZk7ssP4RA6_0xOmRz3P0A67N5cqwjT-os,1283921
4
+ PyPartMC/__init__.py,sha256=no2FkFFPQZIX2cF5iXaDDXGpqv3zOZX9Tdq0-EfxMf8,2183
5
+ PyPartMC-1.2.0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
6
+ PyPartMC-1.2.0.dist-info/METADATA,sha256=dBlICIG2JknFIBbkH-yMJWMnPcnv8rF48E6YP4ibVv4,22103
7
+ PyPartMC-1.2.0.dist-info/RECORD,,
8
+ PyPartMC-1.2.0.dist-info/top_level.txt,sha256=PJxy22pTnxcBhqrb6r4AIL32rkxA61gzw7ohlzybgSM,19
9
+ PyPartMC-1.2.0.dist-info/WHEEL,sha256=rrzoi3HZLVZfC1XcuGX8Y-QGi_R2MGYiQVd3tMYn7AY,112
Binary file
@@ -1,9 +0,0 @@
1
- _PyPartMC.cpython-39-x86_64-linux-gnu.so,sha256=tWAP6hPKBk1_uxskelUG6FE_trh7xwPCu3nAi6OgHOY,3983825
2
- PyPartMC-1.1.3.dist-info/RECORD,,
3
- PyPartMC-1.1.3.dist-info/METADATA,sha256=AKr88iFKEYVMZJk-pazlW2VoonubZDIOKdi-kixdcG8,21223
4
- PyPartMC-1.1.3.dist-info/WHEEL,sha256=rrzoi3HZLVZfC1XcuGX8Y-QGi_R2MGYiQVd3tMYn7AY,112
5
- PyPartMC-1.1.3.dist-info/top_level.txt,sha256=PJxy22pTnxcBhqrb6r4AIL32rkxA61gzw7ohlzybgSM,19
6
- PyPartMC-1.1.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
7
- PyPartMC/__init__.py,sha256=no2FkFFPQZIX2cF5iXaDDXGpqv3zOZX9Tdq0-EfxMf8,2183
8
- PyPartMC.libs/libgfortran-bbf01bbb.so.3.0.0,sha256=JkSfevfj6UZk7ssP4RA6_0xOmRz3P0A67N5cqwjT-os,1283921
9
- PyPartMC.libs/libquadmath-0605fa11.so.0.0.0,sha256=i5xERc8gmYq5yeinkZ30D3XByxbJvk5b0ZbqJgY9HSM,259905