processpi 0.1.2.12__tar.gz → 0.2.0__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.
- {processpi-0.1.2.12 → processpi-0.2.0}/PKG-INFO +11 -1
- {processpi-0.1.2.12 → processpi-0.2.0}/README.md +10 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/__init__.py +1 -1
- processpi-0.2.0/processpi/units/__init__.py +67 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi.egg-info/PKG-INFO +11 -1
- {processpi-0.1.2.12 → processpi-0.2.0}/pyproject.toml +2 -1
- {processpi-0.1.2.12 → processpi-0.2.0}/setup.py +1 -1
- processpi-0.1.2.12/processpi/units/__init__.py +0 -40
- {processpi-0.1.2.12 → processpi-0.2.0}/LICENSE +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/__init__.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/__init__.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/base.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/engine.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/__init__.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/flow_type.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/friction_factor_colebrookwhite.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/optimium_pipe_dia.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/pressure_drop_darcy.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/pressure_drop_fanning.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/pressure_drop_hazen_williams.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/pump_power.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/reynolds_number.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/velocity.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/__init__.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/biot.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/boiling_chen.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/combined_modes.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/condensation.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/condensation_dropwise.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/condensation_nusselt.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/conduction_heat_loss.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/convection_heat_loss.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/crossflow_tube.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/fourier.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/fourierlaw.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/grashof.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/heat_exchanger_area.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/lmtd.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/newton_cooling.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/ntu.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/nusselt.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/overall_u.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/peclet.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/prandtl.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radial_cylinder.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radiation_blackbody.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radiation_exchange.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radiation_greybody.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radiation_viewfactor.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/resistance.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/reyleigh.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/rohsenow_boiling.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/stefan_boltzmann.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/mass_transfer/__init__.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/mass_transfer/distillation_stage_count.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/mass_transfer/drying_rate.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/reaction_engineering/__init__.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/reaction_engineering/catalyst_activity.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/reaction_engineering/reaction_rate.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/reaction_engineering/residence_time.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/thermodynamics/__init__.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/thermodynamics/enthalpy_change.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/thermodynamics/entropy_change.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/thermodynamics/heat_of_vaporization.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/__init__.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/aceticacid.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/acetone.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/acrylicacid.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/air.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/ammonia.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/base.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/benzene.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/benzoicacid.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/bromine.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/butane.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/carbondioxide.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/carbonmonoxide.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/carbontetrachloride.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/chlorine.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/chlorobenzene.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/chloroform.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/chloromethane.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/constants.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/cyanogen.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/cyclohexene.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/ethane.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/ethanol.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/ethylacetate.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/gas.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/inorganic_liquid.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/methanol.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/oil.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/organic_liquid.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/steam.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/toluene.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/vapor.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/components/water.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/constants.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/base.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/design_rules.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/engine.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/equipment.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/fittings.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/insulation.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/materials.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/network.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/nozzle.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/pipelineresults.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/pipes.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/piping_costs.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/pumps.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/selection.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/standards.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/pipelines/vessel.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/area.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/base.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/density.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/diameter.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/dimensionless.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/heat_flow.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/heat_flux.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/heat_of_vaporization.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/heat_transfer_coefficient.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/length.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/mass.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/mass_flowrate.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/power.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/pressure.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/specific_heat.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/strings.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/temperature.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/thermal_conductivity.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/thermal_resistance.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/velocity.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/viscosity.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/volume.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi/units/volumetric_flowrate.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi.egg-info/SOURCES.txt +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi.egg-info/dependency_links.txt +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi.egg-info/requires.txt +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/processpi.egg-info/top_level.txt +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/setup.cfg +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/tests/test_engine_network.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/tests/test_network.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/tests/test_pipeline_network.py +0 -0
- {processpi-0.1.2.12 → processpi-0.2.0}/tests/test_variables.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: processpi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Python toolkit for chemical engineering simulations, equipment design, and unit conversions
|
|
5
5
|
Home-page: https://github.com/varma666/ProcessPi
|
|
6
6
|
Author: Raviteja Varma Nadimpalli
|
|
@@ -81,6 +81,16 @@ Dynamic: requires-python
|
|
|
81
81
|
</a>
|
|
82
82
|
</p>
|
|
83
83
|
|
|
84
|
+
<p align="center">
|
|
85
|
+
<a href="https://colab.research.google.com/github/varma666/ProcessPi/blob/main/notebooks/getting_started.ipynb">
|
|
86
|
+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"/>
|
|
87
|
+
</a>
|
|
88
|
+
<a href="https://mybinder.org/v2/gh/varma666/ProcessPi/HEAD?filepath=notebooks/getting_started.ipynb">
|
|
89
|
+
<img src="https://mybinder.org/badge_logo.svg" alt="Launch Binder"/>
|
|
90
|
+
</a>
|
|
91
|
+
</p>
|
|
92
|
+
|
|
93
|
+
|
|
84
94
|
<p align="center">
|
|
85
95
|
<em>Built with ❤️ for chemical engineers.</em>
|
|
86
96
|
</p>
|
|
@@ -35,6 +35,16 @@
|
|
|
35
35
|
</a>
|
|
36
36
|
</p>
|
|
37
37
|
|
|
38
|
+
<p align="center">
|
|
39
|
+
<a href="https://colab.research.google.com/github/varma666/ProcessPi/blob/main/notebooks/getting_started.ipynb">
|
|
40
|
+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"/>
|
|
41
|
+
</a>
|
|
42
|
+
<a href="https://mybinder.org/v2/gh/varma666/ProcessPi/HEAD?filepath=notebooks/getting_started.ipynb">
|
|
43
|
+
<img src="https://mybinder.org/badge_logo.svg" alt="Launch Binder"/>
|
|
44
|
+
</a>
|
|
45
|
+
</p>
|
|
46
|
+
|
|
47
|
+
|
|
38
48
|
<p align="center">
|
|
39
49
|
<em>Built with ❤️ for chemical engineers.</em>
|
|
40
50
|
</p>
|
|
@@ -23,7 +23,7 @@ __all__ = []
|
|
|
23
23
|
_pipelines_dir = Path(__file__).parent
|
|
24
24
|
|
|
25
25
|
# Files to skip for dynamic imports
|
|
26
|
-
_excluded = {"__init__.py", "todo.md", "processpi_pipeline_engine_features.md"}
|
|
26
|
+
_excluded = {"__init__.py", "todo.md", "processpi_pipeline_engine_features.md","example.txt"}
|
|
27
27
|
|
|
28
28
|
# -------------------------------------------------------------------
|
|
29
29
|
# Dynamic discovery of pipeline components
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"""
|
|
2
|
+
ProcessPI Units Module
|
|
3
|
+
======================
|
|
4
|
+
|
|
5
|
+
Automatically discovers and exposes all unit variable classes in this package.
|
|
6
|
+
The base class `Variable` is always included.
|
|
7
|
+
|
|
8
|
+
Example:
|
|
9
|
+
from processpi.units import Length, Pressure, Temperature
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
import importlib
|
|
13
|
+
import inspect
|
|
14
|
+
from pathlib import Path
|
|
15
|
+
|
|
16
|
+
# -------------------------------------------------------------------
|
|
17
|
+
# Base class import
|
|
18
|
+
# -------------------------------------------------------------------
|
|
19
|
+
from .base import Variable
|
|
20
|
+
from .area import Area
|
|
21
|
+
from .density import Density
|
|
22
|
+
from .diameter import Diameter
|
|
23
|
+
from .dimensionless import Dimensionless
|
|
24
|
+
from .heat_flow import HeatFlow
|
|
25
|
+
from .heat_flux import HeatFlux
|
|
26
|
+
from .heat_of_vaporization import HeatOfVaporization
|
|
27
|
+
from .heat_transfer_coefficient import HeatTransferCoefficient
|
|
28
|
+
from .length import Length
|
|
29
|
+
from .mass_flowrate import MassFlowRate
|
|
30
|
+
from .mass import Mass
|
|
31
|
+
from .power import Power
|
|
32
|
+
from .pressure import Pressure
|
|
33
|
+
from .specific_heat import SpecificHeat
|
|
34
|
+
from .strings import StringUnit
|
|
35
|
+
from .temperature import Temperature
|
|
36
|
+
from .thermal_conductivity import ThermalConductivity
|
|
37
|
+
from .thermal_resistance import ThermalResistance
|
|
38
|
+
from .velocity import Velocity
|
|
39
|
+
from .viscosity import Viscosity
|
|
40
|
+
from .volume import Volume
|
|
41
|
+
from .volumetric_flowrate import VolumetricFlowRate
|
|
42
|
+
|
|
43
|
+
__all__ = ["Variable",
|
|
44
|
+
"Area",
|
|
45
|
+
"Density",
|
|
46
|
+
"Diameter",
|
|
47
|
+
"Dimensionless",
|
|
48
|
+
"HeatFlow",
|
|
49
|
+
"HeatFlux",
|
|
50
|
+
"HeatOfVaporization",
|
|
51
|
+
"HeatTransferCoefficient",
|
|
52
|
+
"Length",
|
|
53
|
+
"MassFlowRate",
|
|
54
|
+
"Mass",
|
|
55
|
+
"Power",
|
|
56
|
+
"Pressure",
|
|
57
|
+
"SpecificHeat",
|
|
58
|
+
"StringUnit",
|
|
59
|
+
"Temperature",
|
|
60
|
+
"ThermalConductivity",
|
|
61
|
+
"ThermalResistance",
|
|
62
|
+
"Velocity",
|
|
63
|
+
"Viscosity",
|
|
64
|
+
"Volume",
|
|
65
|
+
"VolumetricFlowRate"
|
|
66
|
+
]
|
|
67
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: processpi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Python toolkit for chemical engineering simulations, equipment design, and unit conversions
|
|
5
5
|
Home-page: https://github.com/varma666/ProcessPi
|
|
6
6
|
Author: Raviteja Varma Nadimpalli
|
|
@@ -81,6 +81,16 @@ Dynamic: requires-python
|
|
|
81
81
|
</a>
|
|
82
82
|
</p>
|
|
83
83
|
|
|
84
|
+
<p align="center">
|
|
85
|
+
<a href="https://colab.research.google.com/github/varma666/ProcessPi/blob/main/notebooks/getting_started.ipynb">
|
|
86
|
+
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open in Colab"/>
|
|
87
|
+
</a>
|
|
88
|
+
<a href="https://mybinder.org/v2/gh/varma666/ProcessPi/HEAD?filepath=notebooks/getting_started.ipynb">
|
|
89
|
+
<img src="https://mybinder.org/badge_logo.svg" alt="Launch Binder"/>
|
|
90
|
+
</a>
|
|
91
|
+
</p>
|
|
92
|
+
|
|
93
|
+
|
|
84
94
|
<p align="center">
|
|
85
95
|
<em>Built with ❤️ for chemical engineers.</em>
|
|
86
96
|
</p>
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "processpi"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.2.0"
|
|
8
8
|
description = "Python toolkit for chemical engineering simulations, equipment design, and unit conversions"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -29,3 +29,4 @@ Homepage = "https://github.com/varma666/ProcessPi"
|
|
|
29
29
|
BugTracker = "https://github.com/varma666/ProcessPi/issues"
|
|
30
30
|
SourceCode = "https://github.com/varma666/ProcessPi"
|
|
31
31
|
|
|
32
|
+
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
ProcessPI Units Module
|
|
3
|
-
======================
|
|
4
|
-
|
|
5
|
-
Automatically discovers and exposes all unit variable classes in this package.
|
|
6
|
-
The base class `Variable` is always included.
|
|
7
|
-
|
|
8
|
-
Example:
|
|
9
|
-
from processpi.units import Length, Pressure, Temperature
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
import importlib
|
|
13
|
-
import inspect
|
|
14
|
-
from pathlib import Path
|
|
15
|
-
|
|
16
|
-
# -------------------------------------------------------------------
|
|
17
|
-
# Base class import
|
|
18
|
-
# -------------------------------------------------------------------
|
|
19
|
-
from .base import Variable
|
|
20
|
-
|
|
21
|
-
__all__ = ["Variable"]
|
|
22
|
-
|
|
23
|
-
# -------------------------------------------------------------------
|
|
24
|
-
# Dynamic discovery of unit classes
|
|
25
|
-
# -------------------------------------------------------------------
|
|
26
|
-
_units_dir = Path(__file__).parent
|
|
27
|
-
_excluded = {"__init__.py", "base.py", "example.txt", "strings.py"}
|
|
28
|
-
|
|
29
|
-
for file in _units_dir.glob("*.py"):
|
|
30
|
-
if file.name in _excluded:
|
|
31
|
-
continue
|
|
32
|
-
|
|
33
|
-
module_name = file.stem
|
|
34
|
-
module = importlib.import_module(f".{module_name}", package=__name__)
|
|
35
|
-
|
|
36
|
-
# Promote top-level classes to namespace
|
|
37
|
-
for cls_name, cls_obj in inspect.getmembers(module, inspect.isclass):
|
|
38
|
-
if cls_obj.__module__ == module.__name__:
|
|
39
|
-
globals()[cls_name] = cls_obj
|
|
40
|
-
__all__.append(cls_name)
|
|
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
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/pressure_drop_fanning.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/fluids/pressure_drop_hazen_williams.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/combined_modes.py
RENAMED
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/condensation_dropwise.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/condensation_nusselt.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/conduction_heat_loss.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/convection_heat_loss.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/crossflow_tube.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/heat_exchanger_area.py
RENAMED
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/newton_cooling.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radial_cylinder.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radiation_blackbody.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radiation_exchange.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radiation_greybody.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/radiation_viewfactor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/rohsenow_boiling.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/heat_transfer/stefan_boltzmann.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/reaction_engineering/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/reaction_engineering/reaction_rate.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/reaction_engineering/residence_time.py
RENAMED
|
File without changes
|
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/thermodynamics/enthalpy_change.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/thermodynamics/entropy_change.py
RENAMED
|
File without changes
|
{processpi-0.1.2.12 → processpi-0.2.0}/processpi/calculations/thermodynamics/heat_of_vaporization.py
RENAMED
|
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
|
|
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
|
|
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
|
|
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
|