chemql-python 1.4.0__tar.gz → 1.4.1__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.
Files changed (31) hide show
  1. {chemql_python-1.4.0/src/chemql_python.egg-info → chemql_python-1.4.1}/PKG-INFO +1 -1
  2. {chemql_python-1.4.0 → chemql_python-1.4.1}/pyproject.toml +1 -1
  3. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/__init__.py +1 -9
  4. {chemql_python-1.4.0 → chemql_python-1.4.1/src/chemql_python.egg-info}/PKG-INFO +1 -1
  5. {chemql_python-1.4.0 → chemql_python-1.4.1}/LICENSE +0 -0
  6. {chemql_python-1.4.0 → chemql_python-1.4.1}/README.md +0 -0
  7. {chemql_python-1.4.0 → chemql_python-1.4.1}/setup.cfg +0 -0
  8. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/__main__.py +0 -0
  9. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/BondEnergies.json +0 -0
  10. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/MoleculeBonds.json +0 -0
  11. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/Molecules.json +0 -0
  12. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/PeriodicTableJSON.json +0 -0
  13. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/Reactions.json +0 -0
  14. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/THIRD_PARTY_LICENSES/PeriodicTableJSON.txt +0 -0
  15. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/data/THIRD_PARTY_LICENSES/RHEA.txt +0 -0
  16. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/html/periodic_table.html +0 -0
  17. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/README.md +0 -0
  18. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/collections.cql +0 -0
  19. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/datetime.cql +0 -0
  20. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/json.cql +0 -0
  21. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/math/statistics.cql +0 -0
  22. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/math.cql +0 -0
  23. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql/stdlib/text.cql +0 -0
  24. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/SOURCES.txt +0 -0
  25. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/dependency_links.txt +0 -0
  26. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/entry_points.txt +0 -0
  27. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/requires.txt +0 -0
  28. {chemql_python-1.4.0 → chemql_python-1.4.1}/src/chemql_python.egg-info/top_level.txt +0 -0
  29. {chemql_python-1.4.0 → chemql_python-1.4.1}/tests/test_external_molecule_lookup.py +0 -0
  30. {chemql_python-1.4.0 → chemql_python-1.4.1}/tests/test_public_api.py +0 -0
  31. {chemql_python-1.4.0 → chemql_python-1.4.1}/tests/test_reactions.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chemql-python
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: A chemistry-focused query language and REPL
5
5
  Author-email: Mohammad Rakibul Islam <rakibulofficial1017@gmail.com>
6
6
  Requires-Python: >=3.10
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "chemql-python"
7
- version = "1.4.0"
7
+ version = "1.4.1"
8
8
  authors = [
9
9
  { name = "Mohammad Rakibul Islam", email = "rakibulofficial1017@gmail.com" }
10
10
  ]
@@ -61,7 +61,7 @@ __all__ = [
61
61
  "__version__"
62
62
  ]
63
63
 
64
- __version__ = "1.4.0"
64
+ __version__ = "1.4.1"
65
65
 
66
66
  # Persistent preprocessor/function state for the current ChemQL session.
67
67
  DEFINITIONS = {}
@@ -4858,15 +4858,7 @@ def process_lines(lines):
4858
4858
  i += 1
4859
4859
  continue
4860
4860
 
4861
- # Python imports belong inside Python blocks, e.g. `[import math]`.
4862
4861
  top_level_statement = remove_comments(_expand_definitions(raw_line)).strip()
4863
- if top_level_statement.startswith("import ") or top_level_statement.startswith("from "):
4864
- message = "Python imports must be inside a Python block, e.g. `[import math]`; use `load` for ChemQL packages."
4865
- print(f"Error: {message}", file=sys.stderr)
4866
- _record_execution(top_level_statement, message, False)
4867
- i += 1
4868
- continue
4869
-
4870
4862
  # ChemQL package loading is separate from Python imports.
4871
4863
  load_statement = top_level_statement
4872
4864
  if load_statement == "load" or load_statement.startswith("load "):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chemql-python
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: A chemistry-focused query language and REPL
5
5
  Author-email: Mohammad Rakibul Islam <rakibulofficial1017@gmail.com>
6
6
  Requires-Python: >=3.10
File without changes
File without changes
File without changes