From 21dde6b42266847f146cfed6f80f79cd7a8e0cf2 Mon Sep 17 00:00:00 2001 From: Julian Belina Date: Wed, 21 Feb 2024 19:46:58 +0100 Subject: [PATCH] Dev --- .github/workflows/test.yml | 44 +- asd.py | 13 + environment.yml | 2 +- ethos | 369 -------------- ittsc_lpg | 473 ------------------ pyproject.toml | 2 +- .../enterprise_graph_builder.py | 38 +- .../process_chain_graph_builder.py | 46 +- 8 files changed, 85 insertions(+), 902 deletions(-) create mode 100644 asd.py delete mode 100644 ethos delete mode 100644 ittsc_lpg diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 813e59b..7035282 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,22 +1,30 @@ name: Run ETHOS.PeNALPS Tests -on: - push: - branches: main - pull_request: - branches: main - # Allows to trigger the workflow manually - workflow_dispatch: - branches: main - schedule: - # * is a special character in YAML so you have to quote this string - # Some Examples for cron syntax https://crontab.guru/examples.html - # Schedules job at any point after 12 pm - - cron: '0 0 * * *' - # Weekly after sunday - # - cron: 0 0 * * 0 - +on: + workflow_dispatch: + inputs: + tags: + description: 'Manual run' + push: + branches: + - main + - dev + pull_request: + branches: + - main + - dev + # Allows to trigger the workflow manually + + schedule: + # * is a special character in YAML so you have to quote this string + # Some Examples for cron syntax https://crontab.guru/examples.html + # Schedules job at any point after 12 pm + - cron: '0 0 * * *' + # Weekly after sunday + # - cron: 0 0 * * 0 + + jobs: - TestGeokitCondaForge: + TestPeNALPSCondaForge: name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) runs-on: ${{ matrix.os }} strategy: @@ -47,7 +55,7 @@ jobs: conda run -n test_env pytest echo "Pytest done" - TestGeokitDevLocal: + TestPeNALPSDevLocal: name: Ex1 (${{ matrix.python-version }}, ${{ matrix.os }}) runs-on: ${{ matrix.os }} strategy: diff --git a/asd.py b/asd.py new file mode 100644 index 0000000..4ce8e5b --- /dev/null +++ b/asd.py @@ -0,0 +1,13 @@ +from pdf2image import convert_from_path + +import tempfile + +path_to_pdf = r"C:\Programming\ethos_penalps\examples\basic_examples.py\report_2024_02_21__11_43_50\tex_folder\enterprise_text_file.pdf" + +path_to_png = path_to_pdf[:-4] + ".png" +with tempfile.TemporaryDirectory() as path: + list_of_pillow_images = convert_from_path(path_to_pdf) + + for image in list_of_pillow_images: + converted_image = image.convert("RGBA") + converted_image.save(path_to_png) diff --git a/environment.yml b/environment.yml index 95b3979..004092f 100644 --- a/environment.yml +++ b/environment.yml @@ -29,5 +29,5 @@ dependencies: - conda-forge::tectonic - conda-forge::typeguard - conda-forge::dataclasses-json - - conda-forge::pdftopng - conda-forge::jsonpickle + - conda-forge::pdf2image diff --git a/ethos b/ethos deleted file mode 100644 index 5a9835d..0000000 --- a/ethos +++ /dev/null @@ -1,369 +0,0 @@ -accessible-pygments 0.0.4 pyhd8ed1ab_0 conda-forge -alabaster 0.7.16 pyhd8ed1ab_0 conda-forge -altair 4.2.2 pyhd8ed1ab_0 conda-forge -asgiref 3.7.2 pyhd8ed1ab_0 conda-forge -astroid 2.15.8 py310h5588dad_0 conda-forge -asttokens 2.4.1 pyhd8ed1ab_0 conda-forge -attrs 23.2.0 pyh71513ae_0 conda-forge -aws-c-auth 0.7.14 ha04060b_3 conda-forge -aws-c-cal 0.6.9 hd33547d_3 conda-forge -aws-c-common 0.9.12 hcfcfb64_0 conda-forge -aws-c-compression 0.2.17 hd33547d_8 conda-forge -aws-c-event-stream 0.4.1 hf127292_5 conda-forge -aws-c-http 0.8.0 h0cc4be6_5 conda-forge -aws-c-io 0.14.3 hf372335_1 conda-forge -aws-c-mqtt 0.10.1 h189e261_3 conda-forge -aws-c-s3 0.5.0 h623a383_1 conda-forge -aws-c-sdkutils 0.1.14 hd33547d_0 conda-forge -aws-checksums 0.1.17 hd33547d_7 conda-forge -aws-crt-cpp 0.26.1 hb490d84_8 conda-forge -aws-sdk-cpp 1.11.210 hf72cfbd_11 conda-forge -babel 2.14.0 pyhd8ed1ab_0 conda-forge -backoff 1.11.1 pyhd8ed1ab_0 conda-forge -backports.zoneinfo 0.2.1 py310h5588dad_8 conda-forge -beautifulsoup4 4.12.3 pyha770c72_0 conda-forge -black 24.1.1 py310h5588dad_0 conda-forge -bleach 6.1.0 pyhd8ed1ab_0 conda-forge -boltons 21.0.0 pyhd8ed1ab_0 conda-forge -brotli-python 1.1.0 py310h00ffb61_1 conda-forge -bzip2 1.0.8 hcfcfb64_5 conda-forge -c-ares 1.26.0 hcfcfb64_0 conda-forge -ca-certificates 2024.2.2 h56e8100_0 conda-forge -cairo 1.18.0 h1fef639_0 conda-forge -certifi 2024.2.2 pyhd8ed1ab_0 conda-forge -chardet 5.2.0 py310h5588dad_1 conda-forge -charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge -cheroot 9.0.0 pyhd8ed1ab_0 conda-forge -click 8.1.7 win_pyh7428d3b_0 conda-forge -click-spinner 0.1.10 pyh9f0ad1d_0 conda-forge -cloudpickle 3.0.0 pyhd8ed1ab_0 conda-forge -colorama 0.4.6 pyhd8ed1ab_0 conda-forge -colorlog 6.8.2 py310h5588dad_0 conda-forge -comm 0.2.1 pyhd8ed1ab_0 conda-forge -convertdate 2.4.0 pyhd8ed1ab_0 conda-forge -cssselect2 0.2.1 pyh9f0ad1d_1 conda-forge -cycler 0.12.1 pyhd8ed1ab_0 conda-forge -dacite 1.8.1 pyhd8ed1ab_0 conda-forge -dataclasses 0.8 pyhc8e2a94_3 conda-forge -dataclasses-json 0.6.4 pyhd8ed1ab_0 conda-forge -datapane 0.16.7 pyhd8ed1ab_0 conda-forge -datetimerange 2.2.0 pyhd8ed1ab_0 conda-forge -debugpy 1.8.1 py310h00ffb61_0 conda-forge -decorator 5.1.1 pyhd8ed1ab_0 conda-forge -defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge -dill 0.3.8 pyhd8ed1ab_0 conda-forge -django 4.2.8 pyhd8ed1ab_0 conda-forge -docutils 0.18.1 py310h5588dad_1 conda-forge -dodgy 0.2.1 py_0 conda-forge -dominate 2.9.1 pyhd8ed1ab_0 conda-forge -dulwich 0.21.7 py310h8d17308_0 conda-forge -entrypoints 0.4 pyhd8ed1ab_0 conda-forge -et_xmlfile 1.1.0 pyhd8ed1ab_0 conda-forge -ethos-penalps 1.0.1 pypi_0 pypi -exceptiongroup 1.2.0 pyhd8ed1ab_2 conda-forge -executing 2.0.1 pyhd8ed1ab_0 conda-forge -expat 2.5.0 h63175ca_1 conda-forge -face 20.1.1 py_0 conda-forge -flake8 5.0.4 pyhd8ed1ab_0 conda-forge -flake8-polyfill 1.0.2 py_0 conda-forge -font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge -font-ttf-inconsolata 3.000 h77eed37_0 conda-forge -font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge -font-ttf-ubuntu 0.83 h77eed37_1 conda-forge -fontconfig 2.14.2 hbde0cde_0 conda-forge -fonts-conda-ecosystem 1 0 conda-forge -fonts-conda-forge 1 0 conda-forge -freetype 2.12.1 hdaf720e_2 conda-forge -freetype-py 2.3.0 pyhd8ed1ab_0 conda-forge -freezegun 1.4.0 pyhd8ed1ab_0 conda-forge -fribidi 1.0.10 h8d14728_0 conda-forge -furl 2.1.3 pyhd8ed1ab_0 conda-forge -getopt-win32 0.1 hcfcfb64_1 conda-forge -gettext 0.21.1 h5728263_0 conda-forge -gitdb 4.0.11 pyhd8ed1ab_0 conda-forge -gitpython 3.1.41 pyhd8ed1ab_0 conda-forge -glib 2.78.3 h12be248_0 conda-forge -glib-tools 2.78.3 h12be248_0 conda-forge -glom 23.5.0 pyhd8ed1ab_0 conda-forge -graphite2 1.3.13 1000 conda-forge -graphviz 9.0.0 h51cb2cd_1 conda-forge -greenlet 3.0.3 py310h00ffb61_0 conda-forge -gst-plugins-base 1.22.9 h001b923_0 conda-forge -gstreamer 1.22.9 hb4038d2_0 conda-forge -gts 0.7.6 h6b5321d_4 conda-forge -harfbuzz 8.3.0 h7ab893a_0 conda-forge -icu 73.2 h63175ca_0 conda-forge -idna 3.6 pyhd8ed1ab_0 conda-forge -imagesize 1.4.1 pyhd8ed1ab_0 conda-forge -importlib-metadata 7.0.1 pyha770c72_0 conda-forge -importlib_metadata 7.0.1 hd8ed1ab_0 conda-forge -importlib_resources 5.13.0 pyhd8ed1ab_0 conda-forge -iniconfig 2.0.0 pyhd8ed1ab_0 conda-forge -intel-openmp 2024.0.0 h57928b3_49841 conda-forge -ipykernel 6.29.2 pyha63f2e9_0 conda-forge -ipynbname 2023.2.0.0 pyhd8ed1ab_0 conda-forge -ipython 8.18.1 pyh7428d3b_3 conda-forge -isort 5.13.2 pyhd8ed1ab_0 conda-forge -jaraco.functools 4.0.0 pyhd8ed1ab_0 conda-forge -jedi 0.19.1 pyhd8ed1ab_0 conda-forge -jinja2 3.1.3 pyhd8ed1ab_0 conda-forge -jplephem 2.21 pyh864a33b_0 conda-forge -jsonpickle 3.0.2 pyhd8ed1ab_1 conda-forge -jsonschema 4.21.1 pyhd8ed1ab_0 conda-forge -jsonschema-specifications 2023.12.1 pyhd8ed1ab_0 conda-forge -jupyter-book 0.15.1 pyhd8ed1ab_0 conda-forge -jupyter-cache 0.6.1 pyhd8ed1ab_0 conda-forge -jupyter_client 8.6.0 pyhd8ed1ab_0 conda-forge -jupyter_core 5.7.1 py310h5588dad_0 conda-forge -jupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge -kiwisolver 1.4.5 py310h232114e_1 conda-forge -krb5 1.21.2 heb0366b_0 conda-forge -latexcodec 2.0.1 pyh9f0ad1d_0 conda-forge -lazy-object-proxy 1.10.0 py310h8d17308_0 conda-forge -lcms2 2.16 h67d730c_0 conda-forge -lerc 4.0.0 h63175ca_0 conda-forge -libabseil 20230802.1 cxx17_h63175ca_0 conda-forge -libarrow 10.0.1 h1138768_57_cpu conda-forge -libblas 3.9.0 21_win64_mkl conda-forge -libbrotlicommon 1.1.0 hcfcfb64_1 conda-forge -libbrotlidec 1.1.0 hcfcfb64_1 conda-forge -libbrotlienc 1.1.0 hcfcfb64_1 conda-forge -libcblas 3.9.0 21_win64_mkl conda-forge -libclang 15.0.7 default_hde6756a_4 conda-forge -libclang13 15.0.7 default_h85b4d89_4 conda-forge -libcrc32c 1.1.2 h0e60522_0 conda-forge -libcurl 8.5.0 hd5e4a3a_0 conda-forge -libdeflate 1.19 hcfcfb64_0 conda-forge -libevent 2.1.12 h3671451_1 conda-forge -libexpat 2.5.0 h63175ca_1 conda-forge -libffi 3.4.2 h8ffe710_5 conda-forge -libgd 2.3.3 h312136b_9 conda-forge -libglib 2.78.3 h16e383f_0 conda-forge -libgoogle-cloud 2.12.0 h39f2fc6_4 conda-forge -libgrpc 1.59.3 h5bbd4a7_0 conda-forge -libhwloc 2.9.3 default_haede6df_1009 conda-forge -libiconv 1.17 hcfcfb64_2 conda-forge -libjpeg-turbo 3.0.0 hcfcfb64_1 conda-forge -liblapack 3.9.0 21_win64_mkl conda-forge -libogg 1.3.4 h8ffe710_1 conda-forge -libpng 1.6.42 h19919ed_0 conda-forge -libprotobuf 4.24.4 hb8276f3_0 conda-forge -libre2-11 2023.06.02 h8c5ae5e_0 conda-forge -libsodium 1.0.18 h8d14728_1 conda-forge -libsqlite 3.44.2 hcfcfb64_0 conda-forge -libssh2 1.11.0 h7dfc565_0 conda-forge -libthrift 0.19.0 ha2b3283_1 conda-forge -libtiff 4.6.0 h6e2ebb7_2 conda-forge -libutf8proc 2.8.0 h82a8f57_0 conda-forge -libvorbis 1.3.7 h0e60522_0 conda-forge -libwebp 1.3.2 hcfcfb64_1 conda-forge -libwebp-base 1.3.2 hcfcfb64_0 conda-forge -libxcb 1.15 hcd874cb_0 conda-forge -libxml2 2.12.5 hc3477c8_0 conda-forge -libxslt 1.1.39 h3df6e99_0 conda-forge -libzlib 1.2.13 hcfcfb64_5 conda-forge -linkify-it-py 2.0.3 pyhd8ed1ab_0 conda-forge -logilab-common 1.7.3 py_0 conda-forge -lunardate 0.2.0 py_0 conda-forge -lxml 4.9.4 py310hba208d0_0 conda-forge -lz4-c 1.9.4 hcfcfb64_0 conda-forge -m2w64-gcc-libgfortran 5.3.0 6 conda-forge -m2w64-gcc-libs 5.3.0 7 conda-forge -m2w64-gcc-libs-core 5.3.0 7 conda-forge -m2w64-gmp 6.1.0 2 conda-forge -m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge -markdown-it-py 2.2.0 pyhd8ed1ab_0 conda-forge -markupsafe 2.1.5 py310h8d17308_0 conda-forge -marshmallow 3.20.2 pyhd8ed1ab_0 conda-forge -matplotlib 3.4.3 py310h5588dad_2 conda-forge -matplotlib-base 3.4.3 py310h79a7439_2 conda-forge -matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge -mbstrdecoder 1.1.3 pyhd8ed1ab_1 conda-forge -mccabe 0.7.0 pyhd8ed1ab_0 conda-forge -mdit-py-plugins 0.4.0 pyhd8ed1ab_0 conda-forge -mdurl 0.1.2 pyhd8ed1ab_0 conda-forge -micawber 0.5.5 pyhd8ed1ab_0 conda-forge -mistune 3.0.2 pyhd8ed1ab_0 conda-forge -mkl 2024.0.0 h66d3029_49657 conda-forge -monotonic 1.5 py_0 conda-forge -more-itertools 10.2.0 pyhd8ed1ab_0 conda-forge -msys2-conda-epoch 20160418 1 conda-forge -multimethod 1.9.1 pyhd8ed1ab_0 conda-forge -mypy_extensions 1.0.0 pyha770c72_0 conda-forge -myst-nb 0.17.2 pyhd8ed1ab_0 conda-forge -myst-parser 0.18.1 pyhd8ed1ab_0 conda-forge -nbclient 0.7.4 pyhd8ed1ab_0 conda-forge -nbconvert 7.16.0 pyhd8ed1ab_0 conda-forge -nbconvert-core 7.16.0 pyhd8ed1ab_0 conda-forge -nbconvert-pandoc 7.16.0 pyhd8ed1ab_0 conda-forge -nbformat 5.9.2 pyhd8ed1ab_0 conda-forge -nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge -networkx 3.2 pyhd8ed1ab_0 conda-forge -numpy 1.23.5 py310h4a8f9c9_0 conda-forge -openjpeg 2.5.0 h3d672ee_3 conda-forge -openpyxl 3.1.2 py310h8d17308_1 conda-forge -openssl 3.2.1 hcfcfb64_0 conda-forge -orc 1.9.2 hf0b6bd4_0 conda-forge -orderedmultidict 1.0.1 pyhd8ed1ab_1 conda-forge -packaging 23.2 pyhd8ed1ab_0 conda-forge -pandas 1.5.3 py310h1c4a608_1 conda-forge -pandoc 3.1.3 h57928b3_0 conda-forge -pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge -pango 1.50.14 h07c897b_2 conda-forge -parso 0.8.3 pyhd8ed1ab_0 conda-forge -pathspec 0.12.1 pyhd8ed1ab_0 conda-forge -patsy 0.5.6 pyhd8ed1ab_0 conda-forge -pcre2 10.42 h17e33f8_0 conda-forge -pdftopng 0.2.3 py310hc893b6f_14 conda-forge -pep8-naming 0.10.0 pyh9f0ad1d_0 conda-forge -pickleshare 0.7.5 py_1003 conda-forge -pillow 10.2.0 py310h1e6a543_0 conda-forge -pint 0.23 pyhd8ed1ab_0 conda-forge -pip 24.0 pyhd8ed1ab_0 conda-forge -pixman 0.43.2 h63175ca_0 conda-forge -pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge -platformdirs 4.2.0 pyhd8ed1ab_0 conda-forge -plotly 5.18.0 pyhd8ed1ab_0 conda-forge -pluggy 1.4.0 pyhd8ed1ab_0 conda-forge -ply 3.11 py_1 conda-forge -poppler 23.12.0 hc2f3c52_0 conda-forge -poppler-data 0.4.12 hd8ed1ab_0 conda-forge -posthog 2.4.2 pyhd8ed1ab_0 conda-forge -prompt-toolkit 3.0.42 pyha770c72_0 conda-forge -proplot 0.9.7 pyhd8ed1ab_0 conda-forge -prospector 1.10.3 pyhd8ed1ab_0 conda-forge -psutil 5.9.8 py310h8d17308_0 conda-forge -pthread-stubs 0.4 hcd874cb_1001 conda-forge -pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge -pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge -pyarrow 10.0.1 py310hd0bb7c2_57_cpu conda-forge -pybtex 0.24.0 pyhd8ed1ab_2 conda-forge -pybtex-docutils 1.0.3 py310h5588dad_1 conda-forge -pycairo 1.25.1 py310h42c1a3e_0 conda-forge -pycodestyle 2.9.1 pyhd8ed1ab_0 conda-forge -pydantic 1.10.13 py310h8d17308_1 conda-forge -pydata-sphinx-theme 0.15.2 pyhd8ed1ab_0 conda-forge -pydocstyle 6.3.0 pyhd8ed1ab_0 conda-forge -pyflakes 2.5.0 pyhd8ed1ab_0 conda-forge -pygments 2.17.2 pyhd8ed1ab_0 conda-forge -pylint 2.17.7 pyhd8ed1ab_0 conda-forge -pylint-celery 0.3 py_1 conda-forge -pylint-django 2.5.3 pyhd8ed1ab_0 conda-forge -pylint-flask 0.6 py_0 conda-forge -pylint-plugin-utils 0.7 pyhd8ed1ab_0 conda-forge -pyluach 2.2.0 pyhd8ed1ab_0 conda-forge -pymeeus 0.5.12 pyhd8ed1ab_0 conda-forge -pyngrok 5.2.2 pyhd8ed1ab_0 conda-forge -pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge -pyqt 5.15.9 py310h1fd54f2_5 conda-forge -pyqt5-sip 12.12.2 py310h00ffb61_5 conda-forge -pysocks 1.7.1 pyh0701188_6 conda-forge -pytest 8.0.0 pyhd8ed1ab_0 conda-forge -python 3.10.13 h4de0772_1_cpython conda-forge -python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge -python-fastjsonschema 2.19.1 pyhd8ed1ab_0 conda-forge -python-graphviz 0.20.1 pyh22cad53_0 conda-forge -python_abi 3.10 4_cp310 conda-forge -pytz 2024.1 pyhd8ed1ab_0 conda-forge -pywin32 306 py310h00ffb61_2 conda-forge -pyyaml 6.0.1 py310h8d17308_1 conda-forge -pyzmq 25.1.2 py310h2849c00_0 conda-forge -qt-main 5.15.8 h9e85ed6_18 conda-forge -re2 2023.06.02 hcbb65ff_0 conda-forge -referencing 0.33.0 pyhd8ed1ab_0 conda-forge -reportlab 4.1.0 py310h8d17308_0 conda-forge -requests 2.31.0 pyhd8ed1ab_0 conda-forge -requests-toolbelt 1.0.0 pyhd8ed1ab_0 conda-forge -requirements-detector 1.2.2 pyhd8ed1ab_0 conda-forge -rlpycairo 0.2.0 pyhd8ed1ab_0 conda-forge -rpds-py 0.17.1 py310h87d50f1_0 conda-forge -scipy 1.12.0 py310hf667824_2 conda-forge -seaborn 0.13.2 hd8ed1ab_0 conda-forge -seaborn-base 0.13.2 pyhd8ed1ab_0 conda-forge -semver 3.0.2 pyhd8ed1ab_0 conda-forge -setoptconf-tmp 0.3.1 pyhd8ed1ab_0 conda-forge -setuptools 69.0.3 pyhd8ed1ab_0 conda-forge -sgp4 2.22 py310h220cb41_0 conda-forge -sip 6.7.12 py310h00ffb61_0 conda-forge -six 1.16.0 pyh6c4a22f_0 conda-forge -skyfield 1.45 pyh1a96a4e_0 conda-forge -skyfield-data 5.0.0 pyhd8ed1ab_0 conda-forge -smmap 5.0.0 pyhd8ed1ab_0 conda-forge -snappy 1.1.10 hfb803bf_0 conda-forge -snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge -soupsieve 2.5 pyhd8ed1ab_1 conda-forge -sphinx 5.0.2 pyh6c4a22f_0 conda-forge -sphinx-autoapi 2.1.0 pyhd8ed1ab_0 conda-forge -sphinx-book-theme 1.0.1 pyhd8ed1ab_0 conda-forge -sphinx-comments 0.0.3 pyh9f0ad1d_0 conda-forge -sphinx-copybutton 0.5.2 pyhd8ed1ab_0 conda-forge -sphinx-design 0.3.0 pyhd8ed1ab_0 conda-forge -sphinx-external-toc 0.3.1 pyhd8ed1ab_1 conda-forge -sphinx-jupyterbook-latex 0.5.2 pyhd8ed1ab_0 conda-forge -sphinx-multitoc-numbering 0.1.3 pyhd8ed1ab_0 conda-forge -sphinx-thebe 0.2.1 pyhd8ed1ab_0 conda-forge -sphinx-togglebutton 0.3.2 pyhd8ed1ab_0 conda-forge -sphinxcontrib-applehelp 1.0.8 pyhd8ed1ab_0 conda-forge -sphinxcontrib-bibtex 2.5.0 pyhd8ed1ab_0 conda-forge -sphinxcontrib-devhelp 1.0.6 pyhd8ed1ab_0 conda-forge -sphinxcontrib-dotnetdomain 0.4 py_0 conda-forge -sphinxcontrib-golangdomain 0.2.0.dev0 py_0 conda-forge -sphinxcontrib-htmlhelp 2.0.5 pyhd8ed1ab_0 conda-forge -sphinxcontrib-jsmath 1.0.1 pyhd8ed1ab_0 conda-forge -sphinxcontrib-qthelp 1.0.7 pyhd8ed1ab_0 conda-forge -sphinxcontrib-serializinghtml 1.1.10 pyhd8ed1ab_0 conda-forge -sqlalchemy 1.4.49 py310h8d17308_1 conda-forge -sqlparse 0.4.4 pyhd8ed1ab_0 conda-forge -stack_data 0.6.2 pyhd8ed1ab_0 conda-forge -statsmodels 0.14.1 py310h3e78b6c_0 conda-forge -svglib 1.5.1 pyhd8ed1ab_0 conda-forge -tabulate 0.9.0 pyhd8ed1ab_1 conda-forge -tbb 2021.11.0 h91493d7_1 conda-forge -tectonic 0.15.0 h1cbdeb6_0 conda-forge -tenacity 8.2.3 pyhd8ed1ab_0 conda-forge -tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge -tk 8.6.13 h5226925_1 conda-forge -toml 0.10.2 pyhd8ed1ab_0 conda-forge -tomli 2.0.1 pyhd8ed1ab_0 conda-forge -tomlkit 0.12.3 pyha770c72_0 conda-forge -toolz 0.12.1 pyhd8ed1ab_0 conda-forge -tornado 6.3.3 py310h8d17308_1 conda-forge -traitlets 5.14.1 pyhd8ed1ab_0 conda-forge -typeguard 4.1.5 pyhd8ed1ab_1 conda-forge -typepy 1.3.2 pyhd8ed1ab_0 conda-forge -typing-extensions 4.9.0 hd8ed1ab_0 conda-forge -typing_extensions 4.9.0 pyha770c72_0 conda-forge -typing_inspect 0.9.0 pyhd8ed1ab_0 conda-forge -tzdata 2024a h0c530f3_0 conda-forge -uc-micro-py 1.0.2 pyhd8ed1ab_0 conda-forge -ucrt 10.0.22621.0 h57928b3_0 conda-forge -unidecode 1.3.8 pyhd8ed1ab_0 conda-forge -urllib3 2.2.0 pyhd8ed1ab_0 conda-forge -vc 14.3 hcf57466_18 conda-forge -vc14_runtime 14.38.33130 h82b7239_18 conda-forge -vega_datasets 0.9.0 pyhd3deb0d_0 conda-forge -vs2015_runtime 14.38.33130 hcb4865c_18 conda-forge -wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge -webencodings 0.5.1 pyhd8ed1ab_2 conda-forge -wheel 0.42.0 pyhd8ed1ab_0 conda-forge -win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge -workalendar 17.0.0 pyhd8ed1ab_0 conda-forge -wrapt 1.16.0 py310h8d17308_0 conda-forge -xlsxwriter 3.1.9 pyhd8ed1ab_0 conda-forge -xorg-kbproto 1.0.7 hcd874cb_1002 conda-forge -xorg-libice 1.1.1 hcd874cb_0 conda-forge -xorg-libsm 1.2.4 hcd874cb_0 conda-forge -xorg-libx11 1.8.7 hefa74cf_0 conda-forge -xorg-libxau 1.0.11 hcd874cb_0 conda-forge -xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge -xorg-libxext 1.3.4 hcd874cb_2 conda-forge -xorg-libxpm 3.5.17 hcd874cb_0 conda-forge -xorg-libxt 1.3.0 hcd874cb_1 conda-forge -xorg-xextproto 7.3.0 hcd874cb_1003 conda-forge -xorg-xproto 7.0.31 hcd874cb_1007 conda-forge -xz 5.2.6 h8d14728_0 conda-forge -yaml 0.2.5 h8ffe710_2 conda-forge -zeromq 4.3.5 h63175ca_0 conda-forge -zipp 3.17.0 pyhd8ed1ab_0 conda-forge -zlib 1.2.13 hcfcfb64_5 conda-forge -zstd 1.5.5 h12be248_0 conda-forge \ No newline at end of file diff --git a/ittsc_lpg b/ittsc_lpg deleted file mode 100644 index 2e22db3..0000000 --- a/ittsc_lpg +++ /dev/null @@ -1,473 +0,0 @@ -accessible-pygments 0.0.4 pyhd8ed1ab_0 conda-forge -alabaster 0.7.13 pyhd8ed1ab_0 conda-forge -altair 4.2.2 pyhd8ed1ab_0 conda-forge -anyio 3.7.1 pyhd8ed1ab_0 conda-forge -appdirs 1.4.4 pyh9f0ad1d_0 conda-forge -argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge -argon2-cffi-bindings 21.2.0 py310h8d17308_3 conda-forge -arrow 1.2.3 pyhd8ed1ab_0 conda-forge -arrow-cpp 10.0.1 h57928b3_24_cpu conda-forge -asgiref 3.7.2 pyhd8ed1ab_0 conda-forge -astroid 2.15.6 py310h5588dad_0 conda-forge -astropy 5.3.2 py310h9b08ddd_0 conda-forge -asttokens 2.2.1 pyhd8ed1ab_0 conda-forge -astunparse 1.6.3 pyhd8ed1ab_0 conda-forge -async-lru 2.0.4 pyhd8ed1ab_0 conda-forge -attrs 23.1.0 pyh71513ae_1 conda-forge -aws-c-auth 0.7.0 h6f3c987_2 conda-forge -aws-c-cal 0.6.0 h6ba3258_0 conda-forge -aws-c-common 0.8.23 hcfcfb64_0 conda-forge -aws-c-compression 0.2.17 h420beca_1 conda-forge -aws-c-event-stream 0.3.1 had47b81_1 conda-forge -aws-c-http 0.7.11 h72ba615_0 conda-forge -aws-c-io 0.13.28 ha35c040_0 conda-forge -aws-c-mqtt 0.8.14 h4941efa_2 conda-forge -aws-c-s3 0.3.13 he04eaa7_2 conda-forge -aws-c-sdkutils 0.1.11 h420beca_1 conda-forge -aws-checksums 0.1.16 h420beca_1 conda-forge -aws-crt-cpp 0.20.3 h247a981_4 conda-forge -aws-sdk-cpp 1.10.57 h1a0519f_17 conda-forge -babel 2.12.1 pyhd8ed1ab_1 conda-forge -backcall 0.2.0 pyh9f0ad1d_0 conda-forge -backoff 1.11.1 pyhd8ed1ab_0 conda-forge -backports 1.0 pyhd8ed1ab_3 conda-forge -backports.functools_lru_cache 1.6.5 pyhd8ed1ab_0 conda-forge -backports.zoneinfo 0.2.1 py310h5588dad_7 conda-forge -beautifulsoup4 4.12.2 pyha770c72_0 conda-forge -black 23.7.0 py310h5588dad_1 conda-forge -bleach 6.0.0 pyhd8ed1ab_0 conda-forge -boltons 21.0.0 pyhd8ed1ab_0 conda-forge -boost-cpp 1.78.0 h9f4b32c_4 conda-forge -brotli-python 1.0.9 py310h00ffb61_9 conda-forge -brotlipy 0.7.0 py310h8d17308_1005 conda-forge -bzip2 1.0.8 h8ffe710_4 conda-forge -c-ares 1.19.1 hcfcfb64_0 conda-forge -ca-certificates 2023.11.17 h56e8100_0 conda-forge -cached-property 1.5.2 hd8ed1ab_1 conda-forge -cached_property 1.5.2 pyha770c72_1 conda-forge -cairo 1.16.0 hd694305_1014 conda-forge -certifi 2023.11.17 pyhd8ed1ab_0 conda-forge -cffi 1.15.1 py310h628cb3f_3 conda-forge -chardet 5.2.0 py310h5588dad_0 conda-forge -charset-normalizer 3.2.0 pyhd8ed1ab_0 conda-forge -cheroot 9.0.0 pyhd8ed1ab_0 conda-forge -click 8.1.7 win_pyh7428d3b_0 conda-forge -click-completion 0.5.2 py310h5588dad_5 conda-forge -click-default-group 1.2.4 pyhd8ed1ab_0 conda-forge -click-log 0.4.0 pyhd8ed1ab_0 conda-forge -click-spinner 0.1.10 pyh9f0ad1d_0 conda-forge -cloudpickle 2.2.1 pyhd8ed1ab_0 conda-forge -colorama 0.4.6 pyhd8ed1ab_0 conda-forge -colorlog 6.7.0 py310h5588dad_1 conda-forge -comm 0.1.4 pyhd8ed1ab_0 conda-forge -commonmark 0.9.1 py_0 conda-forge -conda 23.1.0 py310h5588dad_0 conda-forge -conda-package-handling 2.2.0 pyh38be061_0 conda-forge -conda-package-streaming 0.9.0 pyhd8ed1ab_0 conda-forge -conda-tree 1.1.0 pyhd8ed1ab_2 conda-forge -convertdate 2.4.0 pyhd8ed1ab_0 conda-forge -cryptography 41.0.3 py310h6e82f81_0 conda-forge -cssselect2 0.2.1 pyh9f0ad1d_1 conda-forge -cycler 0.11.0 pyhd8ed1ab_0 conda-forge -dacite 1.8.0 pyhd8ed1ab_0 conda-forge -dataclass-wizard 0.22.0 pyhd8ed1ab_0 conda-forge -dataclasses 0.8 pyhc8e2a94_3 conda-forge -dataclasses-json 0.5.7 pyhd8ed1ab_0 conda-forge -datapane 0.16.7 pyhd8ed1ab_0 conda-forge -datetimerange 1.2.0 pyhd8ed1ab_0 conda-forge -debugpy 1.6.8 py310h00ffb61_0 conda-forge -decorator 5.1.1 pyhd8ed1ab_0 conda-forge -defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge -dill 0.3.7 pyhd8ed1ab_0 conda-forge -django 4.2.4 pyhd8ed1ab_0 conda-forge -docutils 0.18.1 py310h5588dad_1 conda-forge -dodgy 0.2.1 py_0 conda-forge -dominate 2.8.0 pyhd8ed1ab_0 conda-forge -dulwich 0.21.5 py310h8d17308_0 conda-forge -entrypoints 0.4 pyhd8ed1ab_0 conda-forge -et_xmlfile 1.1.0 pyhd8ed1ab_0 conda-forge -ethos-penalps 1.0.1 pypi_0 pypi -exceptiongroup 1.1.3 pyhd8ed1ab_0 conda-forge -executing 1.2.0 pyhd8ed1ab_0 conda-forge -expat 2.5.0 h63175ca_1 conda-forge -face 20.1.1 py_0 conda-forge -flake8 5.0.4 pyhd8ed1ab_0 conda-forge -flake8-polyfill 1.0.2 py_0 conda-forge -flit-core 3.9.0 pyhd8ed1ab_0 conda-forge -font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge -font-ttf-inconsolata 3.000 h77eed37_0 conda-forge -font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge -font-ttf-ubuntu 0.83 hab24e00_0 conda-forge -fontconfig 2.14.2 hbde0cde_0 conda-forge -fonts-conda-ecosystem 1 0 conda-forge -fonts-conda-forge 1 0 conda-forge -fqdn 1.5.1 pyhd8ed1ab_0 conda-forge -freetype 2.12.1 h546665d_1 conda-forge -freetype-py 2.3.0 pyhd8ed1ab_0 conda-forge -freezegun 1.2.2 pyhd8ed1ab_0 conda-forge -fribidi 1.0.10 h8d14728_0 conda-forge -furl 2.1.3 pyhd8ed1ab_0 conda-forge -future 0.18.3 pyhd8ed1ab_0 conda-forge -getopt-win32 0.1 h8ffe710_0 conda-forge -gettext 0.21.1 h5728263_0 conda-forge -gflags 2.2.2 ha925a31_1004 conda-forge -gitdb 4.0.10 pyhd8ed1ab_0 conda-forge -gitpython 3.1.32 pyhd8ed1ab_0 conda-forge -glib 2.76.4 h12be248_0 conda-forge -glib-tools 2.76.4 h12be248_0 conda-forge -glog 0.6.0 h4797de2_0 conda-forge -glom 23.3.0 pyhd8ed1ab_1 conda-forge -graphite2 1.3.13 1000 conda-forge -graphviz 8.1.0 h51cb2cd_0 conda-forge -greenlet 2.0.2 py310h00ffb61_1 conda-forge -gst-plugins-base 1.22.5 h001b923_0 conda-forge -gstreamer 1.22.5 hb4038d2_0 conda-forge -gts 0.7.6 h6b5321d_4 conda-forge -harfbuzz 6.0.0 he256f1b_0 conda-forge -icu 70.1 h0e60522_0 conda-forge -idna 3.4 pyhd8ed1ab_0 conda-forge -imagesize 1.4.1 pyhd8ed1ab_0 conda-forge -importlib-metadata 6.8.0 pyha770c72_0 conda-forge -importlib_metadata 6.8.0 hd8ed1ab_0 conda-forge -importlib_resources 5.13.0 pyhd8ed1ab_0 conda-forge -inflection 0.5.1 pyh9f0ad1d_0 conda-forge -iniconfig 2.0.0 pyhd8ed1ab_0 conda-forge -intel-openmp 2023.2.0 h57928b3_49496 conda-forge -ipykernel 6.25.1 pyh6817e22_0 conda-forge -ipynbname 2023.2.0.0 pyhd8ed1ab_0 conda-forge -ipython 8.14.0 pyh08f2357_0 conda-forge -ipython_genutils 0.2.0 py_1 conda-forge -ipywidgets 8.1.0 pyhd8ed1ab_0 conda-forge -isoduration 20.11.0 pyhd8ed1ab_0 conda-forge -isort 5.12.0 pyhd8ed1ab_1 conda-forge -jaraco.functools 3.8.1 pyhd8ed1ab_0 conda-forge -jedi 0.19.0 pyhd8ed1ab_0 conda-forge -jinja2 3.1.2 pyhd8ed1ab_1 conda-forge -jpeg 9e hcfcfb64_3 conda-forge -jplephem 2.18 pyh78acc04_0 conda-forge -json5 0.9.14 pyhd8ed1ab_0 conda-forge -jsonpickle 3.0.2 pyhd8ed1ab_0 conda-forge -jsonpointer 2.0 py_0 conda-forge -jsonschema 4.19.0 pyhd8ed1ab_1 conda-forge -jsonschema-specifications 2023.7.1 pyhd8ed1ab_0 conda-forge -jsonschema-with-format-nongpl 4.19.0 pyhd8ed1ab_1 conda-forge -jupyter-book 0.15.1 pyhd8ed1ab_0 conda-forge -jupyter-cache 0.6.1 pyhd8ed1ab_0 conda-forge -jupyter-lsp 2.2.0 pyhd8ed1ab_0 conda-forge -jupyter-server-mathjax 0.2.6 pyh5bfe37b_1 conda-forge -jupyter-sphinx 0.4.0 pyhd8ed1ab_0 conda-forge -jupyter_client 8.3.0 pyhd8ed1ab_0 conda-forge -jupyter_core 5.3.1 py310h5588dad_0 conda-forge -jupyter_events 0.7.0 pyhd8ed1ab_2 conda-forge -jupyter_server 2.7.1 pyhd8ed1ab_0 conda-forge -jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge -jupyterlab 4.0.5 pyhd8ed1ab_0 conda-forge -jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge -jupyterlab_server 2.24.0 pyhd8ed1ab_0 conda-forge -jupyterlab_widgets 3.0.8 pyhd8ed1ab_0 conda-forge -kiwisolver 1.4.5 py310h232114e_0 conda-forge -krb5 1.20.1 heb0366b_0 conda-forge -latex-dependency-scanner 0.1.1 pyhd8ed1ab_1 conda-forge -latexcodec 2.0.1 pyh9f0ad1d_0 conda-forge -lazy-object-proxy 1.9.0 py310h8d17308_0 conda-forge -lcms2 2.15 ha5c8aab_0 conda-forge -lerc 4.0.0 h63175ca_0 conda-forge -libabseil 20230125.3 cxx17_h63175ca_0 conda-forge -libarrow 10.0.1 h0ac4353_24_cpu conda-forge -libblas 3.9.0 17_win64_mkl conda-forge -libbrotlicommon 1.0.9 hcfcfb64_9 conda-forge -libbrotlidec 1.0.9 hcfcfb64_9 conda-forge -libbrotlienc 1.0.9 hcfcfb64_9 conda-forge -libcblas 3.9.0 17_win64_mkl conda-forge -libclang 15.0.7 default_h77d9078_3 conda-forge -libclang13 15.0.7 default_h77d9078_3 conda-forge -libcrc32c 1.1.2 h0e60522_0 conda-forge -libcurl 8.1.2 h68f0423_0 conda-forge -libdeflate 1.17 hcfcfb64_0 conda-forge -libevent 2.1.12 h3671451_1 conda-forge -libexpat 2.5.0 h63175ca_1 conda-forge -libffi 3.4.2 h8ffe710_5 conda-forge -libgd 2.3.3 hf5a96e7_4 conda-forge -libglib 2.76.4 he8f3873_0 conda-forge -libgoogle-cloud 2.10.1 h00b2bdc_1 conda-forge -libgrpc 1.54.3 ha177ca7_0 conda-forge -libhwloc 2.9.2 nocuda_h15da153_1008 conda-forge -libiconv 1.17 h8ffe710_0 conda-forge -liblapack 3.9.0 17_win64_mkl conda-forge -libogg 1.3.4 h8ffe710_1 conda-forge -libpng 1.6.39 h19919ed_0 conda-forge -libprotobuf 3.21.12 h12be248_1 conda-forge -libsodium 1.0.18 h8d14728_1 conda-forge -libsqlite 3.43.0 hcfcfb64_0 conda-forge -libssh2 1.11.0 h7dfc565_0 conda-forge -libthrift 0.18.1 h06f6336_2 conda-forge -libtiff 4.5.0 hf8721a0_2 conda-forge -libutf8proc 2.8.0 h82a8f57_0 conda-forge -libvorbis 1.3.7 h0e60522_0 conda-forge -libwebp 1.3.1 hcfcfb64_0 conda-forge -libwebp-base 1.3.1 hcfcfb64_0 conda-forge -libxcb 1.13 hcd874cb_1004 conda-forge -libxml2 2.11.5 hc3477c8_1 conda-forge -libxslt 1.1.37 h6070c61_1 conda-forge -libzlib 1.2.13 hcfcfb64_5 conda-forge -linkify-it-py 2.0.0 pyhd8ed1ab_0 conda-forge -logilab-common 1.7.3 py_0 conda-forge -lolviz 1.4.4 pyhd8ed1ab_0 conda-forge -lunardate 0.2.0 py_0 conda-forge -lxml 4.9.3 py310h46d54dd_0 conda-forge -lz4-c 1.9.4 hcfcfb64_0 conda-forge -m2w64-gcc-libgfortran 5.3.0 6 conda-forge -m2w64-gcc-libs 5.3.0 7 conda-forge -m2w64-gcc-libs-core 5.3.0 7 conda-forge -m2w64-gmp 6.1.0 2 conda-forge -m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge -markdown-it-py 2.2.0 pyhd8ed1ab_0 conda-forge -markupsafe 2.1.3 py310h8d17308_0 conda-forge -marshmallow 3.20.1 pyhd8ed1ab_0 conda-forge -marshmallow-enum 1.5.1 pyh9f0ad1d_3 conda-forge -matplotlib 3.4.3 py310h5588dad_2 conda-forge -matplotlib-base 3.4.3 py310h79a7439_2 conda-forge -matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge -mbstrdecoder 1.1.3 pyhd8ed1ab_1 conda-forge -mccabe 0.7.0 pyhd8ed1ab_0 conda-forge -mdit-py-plugins 0.4.0 pyhd8ed1ab_0 conda-forge -mdurl 0.1.0 pyhd8ed1ab_0 conda-forge -menuinst 1.4.19 py310h5588dad_1 conda-forge -micawber 0.5.5 pyhd8ed1ab_0 conda-forge -microbench 0.7 pyhd8ed1ab_0 conda-forge -mistune 3.0.1 pyhd8ed1ab_0 conda-forge -mkl 2022.1.0 h6a75c08_874 conda-forge -monotonic 1.5 py_0 conda-forge -more-itertools 10.1.0 pyhd8ed1ab_0 conda-forge -msys2-conda-epoch 20160418 1 conda-forge -multimethod 1.9.1 pyhd8ed1ab_0 conda-forge -munch 4.0.0 pyhd8ed1ab_0 conda-forge -mypy_extensions 1.0.0 pyha770c72_0 conda-forge -myst-nb 0.17.2 pyhd8ed1ab_0 conda-forge -myst-parser 0.18.1 pyhd8ed1ab_0 conda-forge -nbclassic 1.0.0 pyhb4ecaf3_1 conda-forge -nbclient 0.7.4 pyhd8ed1ab_0 conda-forge -nbconvert 7.7.4 pyhd8ed1ab_0 conda-forge -nbconvert-core 7.7.4 pyhd8ed1ab_0 conda-forge -nbconvert-pandoc 7.7.4 pyhd8ed1ab_0 conda-forge -nbdime 3.2.1 pyhd8ed1ab_0 conda-forge -nbformat 5.9.2 pyhd8ed1ab_0 conda-forge -nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge -networkx 3.1 pyhd8ed1ab_0 conda-forge -notebook 7.0.2 pyhd8ed1ab_0 conda-forge -notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge -numpy 1.26.0 py310hf667824_0 conda-forge -openjpeg 2.5.0 ha2aaf27_2 conda-forge -openpyxl 3.1.2 py310h8d17308_0 conda-forge -openssl 3.1.4 hcfcfb64_0 conda-forge -orc 1.8.3 hada7b9e_1 conda-forge -orderedmultidict 1.0.1 py_0 conda-forge -overrides 7.4.0 pyhd8ed1ab_0 conda-forge -packaging 23.1 pyhd8ed1ab_0 conda-forge -pandas 1.5.3 py310h1c4a608_1 conda-forge -pandas-stubs 2.1.1.230928 pyhd8ed1ab_1 conda-forge -pandoc 3.1.3 h57928b3_0 conda-forge -pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge -pango 1.50.14 hdffb7b3_0 conda-forge -parquet-cpp 1.5.1 2 conda-forge -parso 0.8.3 pyhd8ed1ab_0 conda-forge -pathspec 0.11.2 pyhd8ed1ab_0 conda-forge -patsy 0.5.3 pyhd8ed1ab_0 conda-forge -pcre2 10.40 h17e33f8_0 conda-forge -pdftopng 0.2.3 py310h560bb75_9 conda-forge -pep8-naming 0.10.0 pyh9f0ad1d_0 conda-forge -pickleshare 0.7.5 py_1003 conda-forge -pillow 9.4.0 py310hdbb7713_1 conda-forge -pint 0.22 pyhd8ed1ab_1 conda-forge -pip 23.2.1 pyhd8ed1ab_0 conda-forge -pivottablejs 0.9.0 py310haa95532_0 anaconda -pixman 0.40.0 h8ffe710_0 conda-forge -pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0 conda-forge -platformdirs 3.10.0 pyhd8ed1ab_0 conda-forge -plotly 5.16.1 pyhd8ed1ab_0 conda-forge -pluggy 1.3.0 pyhd8ed1ab_0 conda-forge -ply 3.11 py_1 conda-forge -pony 0.7.16 pyhd8ed1ab_0 conda-forge -pooch 1.7.0 pyha770c72_3 conda-forge -poppler 23.03.0 h183ae7b_0 conda-forge -poppler-data 0.4.12 hd8ed1ab_0 conda-forge -posthog 2.4.2 pyhd8ed1ab_0 conda-forge -prometheus_client 0.17.1 pyhd8ed1ab_0 conda-forge -prompt-toolkit 3.0.39 pyha770c72_0 conda-forge -prompt_toolkit 3.0.39 hd8ed1ab_0 conda-forge -proplot 0.9.7 pyhd8ed1ab_0 conda-forge -prospector 1.10.2 pyhd8ed1ab_0 conda-forge -psutil 5.9.5 py310h8d17308_0 conda-forge -pthread-stubs 0.4 hcd874cb_1001 conda-forge -pthreads-win32 2.9.1 hfa6e2cd_3 conda-forge -pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge -py2puml 0.7.2 pyhd8ed1ab_0 conda-forge -pyarrow 10.0.1 py310hd1a9178_24_cpu conda-forge -pybaum 0.1.3 pyhd8ed1ab_0 conda-forge -pybtex 0.24.0 pyhd8ed1ab_2 conda-forge -pybtex-docutils 1.0.3 py310h5588dad_0 conda-forge -pycairo 1.24.0 py310h42c1a3e_0 conda-forge -pycodestyle 2.9.1 pyhd8ed1ab_0 conda-forge -pycosat 0.6.4 py310h8d17308_1 conda-forge -pycparser 2.21 pyhd8ed1ab_0 conda-forge -pydantic 1.10.12 py310h8d17308_1 conda-forge -pydata-sphinx-theme 0.13.3 pyhd8ed1ab_0 conda-forge -pydocstyle 6.3.0 pyhd8ed1ab_0 conda-forge -pydot 1.4.2 py310h5588dad_3 conda-forge -pyerfa 2.0.0.3 py310h9b08ddd_0 conda-forge -pyflakes 2.5.0 pyhd8ed1ab_0 conda-forge -pyflowchart 0.3.1 pyhd8ed1ab_0 conda-forge -pygments 2.16.1 pyhd8ed1ab_0 conda-forge -pylint 2.17.5 pyhd8ed1ab_0 conda-forge -pylint-celery 0.3 py_1 conda-forge -pylint-django 2.5.3 pyhd8ed1ab_0 conda-forge -pylint-flask 0.6 py_0 conda-forge -pylint-plugin-utils 0.7 pyhd8ed1ab_0 conda-forge -pyluach 2.2.0 pyhd8ed1ab_0 conda-forge -pymeeus 0.5.12 pyhd8ed1ab_0 conda-forge -pyngrok 5.2.2 pyhd8ed1ab_0 conda-forge -pynvml 11.4.1 pypi_0 pypi -pyopenssl 23.2.0 pyhd8ed1ab_1 conda-forge -pyparsing 3.1.1 pyhd8ed1ab_0 conda-forge -pyqt 5.15.9 py310h1fd54f2_4 conda-forge -pyqt5-sip 12.12.2 py310h00ffb61_4 conda-forge -pyrsistent 0.19.3 py310h8d17308_0 conda-forge -pysocks 1.7.1 pyh0701188_6 conda-forge -pytask 0.3.2 pyhd8ed1ab_0 conda-forge -pytask-latex 0.3.0 pyhd8ed1ab_0 conda-forge -pytest 7.4.2 pyhd8ed1ab_0 conda-forge -python 3.10.12 h4de0772_0_cpython conda-forge -python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge -python-fastjsonschema 2.18.0 pyhd8ed1ab_0 conda-forge -python-graphviz 0.20.1 pyh22cad53_0 conda-forge -python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge -python_abi 3.10 3_cp310 conda-forge -pytz 2023.3 pyhd8ed1ab_0 conda-forge -pywin32 304 py310h00ffb61_2 conda-forge -pywinpty 2.0.11 py310h00ffb61_0 conda-forge -pyyaml 5.4.1 py310h8d17308_4 conda-forge -pyzmq 25.1.1 py310hcd737a0_0 conda-forge -qt-main 5.15.8 h720456b_6 conda-forge -re2 2023.03.02 hd4eee63_0 conda-forge -referencing 0.30.2 pyhd8ed1ab_0 conda-forge -reportlab 4.0.4 py310h8d17308_0 conda-forge -requests 2.31.0 pyhd8ed1ab_0 conda-forge -requests-toolbelt 1.0.0 pyhd8ed1ab_0 conda-forge -requirements-detector 1.2.2 pyhd8ed1ab_0 conda-forge -rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge -rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge -rich 13.5.1 pyhd8ed1ab_0 conda-forge -rlpycairo 0.2.0 pyhd8ed1ab_0 conda-forge -rpds-py 0.9.2 py310h87d50f1_0 conda-forge -ruamel.yaml 0.17.32 py310h8d17308_0 conda-forge -ruamel.yaml.clib 0.2.7 py310h8d17308_1 conda-forge -scalene 1.5.26 pypi_0 pypi -scipy 1.11.2 py310h578b7cb_0 conda-forge -seaborn 0.12.2 hd8ed1ab_0 conda-forge -seaborn-base 0.12.2 pyhd8ed1ab_0 conda-forge -semver 3.0.1 pyhd8ed1ab_0 conda-forge -send2trash 1.8.2 pyh08f2357_0 conda-forge -setoptconf-tmp 0.3.1 pyhd8ed1ab_0 conda-forge -setuptools 58.5.3 py310h5588dad_0 conda-forge -sgp4 2.22 py310h220cb41_0 conda-forge -shellingham 1.5.3 pyhd8ed1ab_0 conda-forge -sip 6.7.11 py310h00ffb61_0 conda-forge -six 1.16.0 pyh6c4a22f_0 conda-forge -skyfield 1.45 pyh1a96a4e_0 conda-forge -skyfield-data 5.0.0 pyhd8ed1ab_0 conda-forge -smmap 3.0.5 pyh44b312d_0 conda-forge -snappy 1.1.10 hfb803bf_0 conda-forge -sniffio 1.3.0 pyhd8ed1ab_0 conda-forge -snowballstemmer 2.2.0 pyhd8ed1ab_0 conda-forge -soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge -sphinx 5.0.2 pyh6c4a22f_0 conda-forge -sphinx-autoapi 2.1.0 pyhd8ed1ab_0 conda-forge -sphinx-book-theme 1.0.1 pyhd8ed1ab_0 conda-forge -sphinx-comments 0.0.3 pyh9f0ad1d_0 conda-forge -sphinx-copybutton 0.5.2 pyhd8ed1ab_0 conda-forge -sphinx-design 0.3.0 pyhd8ed1ab_0 conda-forge -sphinx-external-toc 0.3.1 pyhd8ed1ab_1 conda-forge -sphinx-jupyterbook-latex 0.5.2 pyhd8ed1ab_0 conda-forge -sphinx-multitoc-numbering 0.1.3 pyhd8ed1ab_0 conda-forge -sphinx-thebe 0.2.1 pyhd8ed1ab_0 conda-forge -sphinx-togglebutton 0.3.2 pyhd8ed1ab_0 conda-forge -sphinxcontrib-applehelp 1.0.7 pyhd8ed1ab_0 conda-forge -sphinxcontrib-bibtex 2.5.0 pyhd8ed1ab_0 conda-forge -sphinxcontrib-devhelp 1.0.5 pyhd8ed1ab_0 conda-forge -sphinxcontrib-dotnetdomain 0.4 py_0 conda-forge -sphinxcontrib-golangdomain 0.2.0.dev0 py_0 conda-forge -sphinxcontrib-htmlhelp 2.0.4 pyhd8ed1ab_0 conda-forge -sphinxcontrib-jsmath 1.0.1 py_0 conda-forge -sphinxcontrib-qthelp 1.0.6 pyhd8ed1ab_0 conda-forge -sphinxcontrib-serializinghtml 1.1.9 pyhd8ed1ab_0 conda-forge -sqlalchemy 1.4.49 py310h8d17308_1 conda-forge -sqlparse 0.4.4 pyhd8ed1ab_0 conda-forge -stack_data 0.6.2 pyhd8ed1ab_0 conda-forge -statsmodels 0.14.0 py310h9b08ddd_1 conda-forge -stringcase 1.2.0 py_0 conda-forge -svglib 1.5.1 pyhd8ed1ab_0 conda-forge -tabulate 0.9.0 pyhd8ed1ab_1 conda-forge -tbb 2021.10.0 h91493d7_0 conda-forge -tectonic 0.12.0 hcab5949_1 conda-forge -tenacity 8.2.3 pyhd8ed1ab_0 conda-forge -terminado 0.17.0 pyh08f2357_0 conda-forge -tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge -tk 8.6.12 h8ffe710_0 conda-forge -toml 0.10.2 pyhd8ed1ab_0 conda-forge -tomli 2.0.1 pyhd8ed1ab_0 conda-forge -tomlkit 0.12.1 pyha770c72_0 conda-forge -toolz 0.12.0 pyhd8ed1ab_0 conda-forge -tornado 6.3.3 py310h8d17308_0 conda-forge -tqdm 4.66.1 pyhd8ed1ab_0 conda-forge -traitlets 5.9.0 pyhd8ed1ab_0 conda-forge -treelib 1.7.0 pyhd8ed1ab_0 conda-forge -typeguard 4.1.5 pyhd8ed1ab_0 conda-forge -typepy 1.3.1 pyhd8ed1ab_0 conda-forge -types-datetimerange 2.0.0.6 pyhd8ed1ab_0 conda-forge -types-python-dateutil 2.8.19.14 pyhd8ed1ab_0 conda-forge -types-pytz 2023.3.1.1 pyhd8ed1ab_0 conda-forge -typing 3.10.0.0 pyhd8ed1ab_0 conda-forge -typing-extensions 4.7.1 hd8ed1ab_0 conda-forge -typing_extensions 4.7.1 pyha770c72_0 conda-forge -typing_inspect 0.9.0 pyhd8ed1ab_0 conda-forge -typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge -tzdata 2023c h71feb2d_0 conda-forge -uc-micro-py 1.0.1 pyhd8ed1ab_0 conda-forge -ucrt 10.0.22621.0 h57928b3_0 conda-forge -unidecode 1.3.6 pyhd8ed1ab_0 conda-forge -uri-template 1.3.0 pyhd8ed1ab_0 conda-forge -urllib3 2.0.4 pyhd8ed1ab_0 conda-forge -validators 0.21.2 pyhd8ed1ab_0 conda-forge -vc 14.3 h64f974e_17 conda-forge -vc14_runtime 14.36.32532 hfdfe4a8_17 conda-forge -vega_datasets 0.9.0 pyhd3deb0d_0 conda-forge -vs2015_runtime 14.36.32532 h05e6639_17 conda-forge -wcwidth 0.2.6 pyhd8ed1ab_0 conda-forge -webcolors 1.13 pyhd8ed1ab_0 conda-forge -webencodings 0.5.1 py_1 conda-forge -websocket-client 1.6.2 pyhd8ed1ab_0 conda-forge -wheel 0.41.2 pyhd8ed1ab_0 conda-forge -widgetsnbextension 4.0.8 pyhd8ed1ab_0 conda-forge -win_inet_pton 1.1.0 pyhd8ed1ab_6 conda-forge -winpty 0.4.3 4 conda-forge -workalendar 17.0.0 pyhd8ed1ab_0 conda-forge -wrapt 1.15.0 py310h8d17308_0 conda-forge -xlsxwriter 3.1.2 pyhd8ed1ab_0 conda-forge -xorg-kbproto 1.0.7 hcd874cb_1002 conda-forge -xorg-libice 1.0.10 hcd874cb_0 conda-forge -xorg-libsm 1.2.3 hcd874cb_1000 conda-forge -xorg-libx11 1.8.4 hcd874cb_0 conda-forge -xorg-libxau 1.0.11 hcd874cb_0 conda-forge -xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge -xorg-libxext 1.3.4 hcd874cb_2 conda-forge -xorg-libxpm 3.5.16 hcd874cb_0 conda-forge -xorg-libxt 1.3.0 hcd874cb_0 conda-forge -xorg-xextproto 7.3.0 hcd874cb_1003 conda-forge -xorg-xproto 7.0.31 hcd874cb_1007 conda-forge -xz 5.2.6 h8d14728_0 conda-forge -yaml 0.2.5 h8ffe710_2 conda-forge -zeromq 4.3.4 h0e60522_1 conda-forge -zipp 3.16.2 pyhd8ed1ab_0 conda-forge -zlib 1.2.13 hcfcfb64_5 conda-forge -zstandard 0.19.0 py310h0009e47_2 conda-forge -zstd 1.5.2 h12be248_7 conda-forge diff --git a/pyproject.toml b/pyproject.toml index 23778f3..71accd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "ethos_penalps" -version = "1.0.1" +version = "1.0.2" description = "A package to create energy load curves for industry locations in Germany" readme = "README.md" authors = [ diff --git a/src/ethos_penalps/post_processing/tikz_visualizations/enterprise_graph_builder.py b/src/ethos_penalps/post_processing/tikz_visualizations/enterprise_graph_builder.py index 8da5e58..434e6a6 100644 --- a/src/ethos_penalps/post_processing/tikz_visualizations/enterprise_graph_builder.py +++ b/src/ethos_penalps/post_processing/tikz_visualizations/enterprise_graph_builder.py @@ -1,11 +1,18 @@ import os import subprocess +import tempfile import uuid import webbrowser from dataclasses import dataclass, field import numpy import pandas +from pdf2image import convert_from_path +from pdf2image.exceptions import ( + PDFInfoNotInstalledError, + PDFPageCountError, + PDFSyntaxError, +) from ethos_penalps.network_level import NetworkLevel from ethos_penalps.post_processing.tikz_visualizations.tikz_wrapper import ( @@ -195,12 +202,12 @@ def __post_init__(self): self.list_of_optional_sinks = [] self.list_of_optional_sources = [] self.dictionary_of_tikz_process_node_names: dict[str, str] = {} - self.dictionary_of_tikz_process_node_names[ - self.main_sink.name - ] = self.unique_sink_name - self.dictionary_of_tikz_process_node_names[ - self.main_source.name - ] = self.unique_source_name + self.dictionary_of_tikz_process_node_names[self.main_sink.name] = ( + self.unique_sink_name + ) + self.dictionary_of_tikz_process_node_names[self.main_source.name] = ( + self.unique_source_name + ) for process_node in self.process_chain.process_node_dict.values(): if type(process_node) is ProcessStep: self.sorted_process_step_list.append(process_node) @@ -217,9 +224,9 @@ def __post_init__(self): node_options="ProcessStepNode", ) ) - self.dictionary_of_tikz_process_node_names[ - process_node.name - ] = unique_process_node_name + self.dictionary_of_tikz_process_node_names[process_node.name] = ( + unique_process_node_name + ) self.process_step_chain_length = len(self.sorted_process_step_list) @@ -528,14 +535,11 @@ def compile_pdf(self) -> str: def convert_pdf_to_png(self, path_to_pdf: str) -> str: path_to_png = path_to_pdf[:-4] + ".png" - subprocess.run( - [ - "pdftopng", - path_to_pdf, - path_to_png, - ], - check=True, - ) + with tempfile.TemporaryDirectory() as path: + list_of_pillow_images = convert_from_path(path_to_pdf) + for image in list_of_pillow_images: + converted_image = image.convert("RGBA") + converted_image.save(path_to_png) return path_to_png def create_enterprise_graph( diff --git a/src/ethos_penalps/post_processing/tikz_visualizations/process_chain_graph_builder.py b/src/ethos_penalps/post_processing/tikz_visualizations/process_chain_graph_builder.py index 226bd34..3745f22 100644 --- a/src/ethos_penalps/post_processing/tikz_visualizations/process_chain_graph_builder.py +++ b/src/ethos_penalps/post_processing/tikz_visualizations/process_chain_graph_builder.py @@ -1,10 +1,12 @@ import os import subprocess +import tempfile import uuid import webbrowser from dataclasses import dataclass, field import pandas +from pdf2image import convert_from_path from ethos_penalps.process_nodes.process_node import ProcessNode from ethos_penalps.process_nodes.process_step import ProcessStep @@ -212,9 +214,9 @@ class PathPortPair: @dataclass class EdgePath: - list_of_edge_node_pairs: list[ - ForwardEdge | BackwardEdge | IntermediateEdge - ] = field(default_factory=list) + list_of_edge_node_pairs: list[ForwardEdge | BackwardEdge | IntermediateEdge] = ( + field(default_factory=list) + ) @dataclass @@ -480,9 +482,9 @@ def add_junction(self, path_junction: PathJunction): self.list_of_initial_junction_state_connectors.append( path_junction.state_connector ) - self.dict_of_all_juctions[ - path_junction.state_path_connector - ] = path_junction + self.dict_of_all_juctions[path_junction.state_path_connector] = ( + path_junction + ) self.list_of_remaining_junctions.append(path_junction) def pop_path_junction(self) -> PathJunction: @@ -517,9 +519,9 @@ def __init__( display_names_dict, ) -> None: self.state_path_handler: StatePathHandler = StatePathHandler() - self.unique_process_state_names: dict[ - str, dict[str, str] | str - ] = unique_process_state_names + self.unique_process_state_names: dict[str, dict[str, str] | str] = ( + unique_process_state_names + ) self.display_names_dict: dict[str, dict[str, str] | str] = display_names_dict self.process_state_handler: ProcessStateHandler = process_state_handler self.output_stream_state_name = ( @@ -1089,9 +1091,9 @@ def create_unique_node_names(self): if isinstance(process_node, ProcessStep): unique_process_node_name = process_node_name.replace(" ", "-") unique_process_node_name = unique_process_node_name.replace("_", "-") - self.unique_process_node_name_dict[ - process_node_name - ] = unique_process_node_name + self.unique_process_node_name_dict[process_node_name] = ( + unique_process_node_name + ) self.unique_process_state_names[process_node_name] = {} for ( process_state_name @@ -1106,9 +1108,9 @@ def create_unique_node_names(self): elif isinstance(process_node, (Source, Sink)): unique_process_node_name = process_node_name.replace(" ", "") unique_process_node_name = unique_process_node_name.replace("_", "-") - self.unique_process_node_name_dict[ - process_node_name - ] = unique_process_node_name + self.unique_process_node_name_dict[process_node_name] = ( + unique_process_node_name + ) def create_display_names(self): """Remove whitespaces from node names""" @@ -1261,14 +1263,12 @@ def compile_pdf(self) -> str: def convert_pdf_to_png(self, path_to_pdf: str) -> str: path_to_png = path_to_pdf[:-4] + ".png" - subprocess.run( - [ - "pdftopng", - path_to_pdf, - path_to_png, - ], - check=True, - ) + with tempfile.TemporaryDirectory() as path: + list_of_pillow_images = convert_from_path(path_to_pdf) + + for image in list_of_pillow_images: + converted_image = image.convert("RGBA") + converted_image.save(path_to_png) return path_to_png def create_enterprise_graph(