lammpsparser 0.0.9__tar.gz → 0.1.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.
Files changed (19) hide show
  1. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/PKG-INFO +7 -7
  2. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/pyproject.toml +7 -7
  3. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/_version.py +2 -2
  4. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/compatibility/file.py +2 -0
  5. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/structure.py +2 -0
  6. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/.gitignore +0 -0
  7. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/LICENSE +0 -0
  8. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/README.md +0 -0
  9. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/__init__.py +0 -0
  10. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/compatibility/__init__.py +0 -0
  11. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/compatibility/calculate.py +0 -0
  12. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/compatibility/constraints.py +0 -0
  13. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/compatibility/data.py +0 -0
  14. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/compatibility/output.py +0 -0
  15. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/compatibility/structure.py +0 -0
  16. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/output.py +0 -0
  17. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/output_raw.py +0 -0
  18. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/potential.py +0 -0
  19. {lammpsparser-0.0.9 → lammpsparser-0.1.0}/src/lammpsparser/units.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: lammpsparser
3
- Version: 0.0.9
3
+ Version: 0.1.0
4
4
  Summary: Vector-oriented LAMMPS interface to rapidly iterate over series of atomistic structures or interatomic potentials.
5
5
  Project-URL: Homepage, https://github.com/pyiron/lammpsparser
6
6
  Project-URL: Documentation, https://github.com/pyiron/lammpsparser
@@ -49,14 +49,14 @@ Classifier: Programming Language :: Python :: 3.13
49
49
  Classifier: Programming Language :: Python :: 3.14
50
50
  Classifier: Topic :: Scientific/Engineering :: Physics
51
51
  Requires-Python: <3.15,>=3.9
52
- Requires-Dist: ase<=3.29.0,>=3.22.1
53
- Requires-Dist: numpy<=2.5.3,>=1.26.0
54
- Requires-Dist: pandas<=3.0.5,>=2.0.3
55
- Requires-Dist: scipy<=1.18.0,>=1.11.1
52
+ Requires-Dist: ase<3.30.0,>=3.22.1
53
+ Requires-Dist: numpy<2.6.0,>=1.26.0
54
+ Requires-Dist: pandas<3.1.0,>=2.0.3
55
+ Requires-Dist: scipy<1.19.0,>=1.11.1
56
56
  Provides-Extra: compatibility
57
- Requires-Dist: structuretoolkit<=0.0.46,>=0.0.30; extra == 'compatibility'
57
+ Requires-Dist: structuretoolkit<0.2.0,>=0.0.30; extra == 'compatibility'
58
58
  Provides-Extra: h5md
59
- Requires-Dist: h5py<=3.16.0,>=3.9.0; extra == 'h5md'
59
+ Requires-Dist: h5py<3.17.0,>=3.9.0; extra == 'h5md'
60
60
  Description-Content-Type: text/markdown
61
61
 
62
62
  # lammpsparser
@@ -5,7 +5,7 @@ requires = [
5
5
  "h5py",
6
6
  "pandas",
7
7
  "scipy",
8
- "hatchling==1.32.0",
8
+ "hatchling==1.32.4",
9
9
  "hatch-vcs==0.5.0",
10
10
  ]
11
11
  build-backend = "hatchling.build"
@@ -34,10 +34,10 @@ classifiers = [
34
34
  "Programming Language :: Python :: 3.14",
35
35
  ]
36
36
  dependencies = [
37
- "ase>=3.22.1,<=3.29.0",
38
- "numpy>=1.26.0,<=2.5.3",
39
- "pandas>=2.0.3,<=3.0.5",
40
- "scipy>=1.11.1,<=1.18.0",
37
+ "ase>=3.22.1,<3.30.0",
38
+ "numpy>=1.26.0,<2.6.0",
39
+ "pandas>=2.0.3,<3.1.0",
40
+ "scipy>=1.11.1,<1.19.0",
41
41
  ]
42
42
  dynamic = ["version"]
43
43
 
@@ -47,8 +47,8 @@ Documentation = "https://github.com/pyiron/lammpsparser"
47
47
  Repository = "https://github.com/pyiron/lammpsparser"
48
48
 
49
49
  [project.optional-dependencies]
50
- h5md = ["h5py>=3.9.0,<=3.16.0"]
51
- compatibility = ["structuretoolkit>=0.0.30,<=0.0.46"]
50
+ h5md = ["h5py>=3.9.0,<3.17.0"]
51
+ compatibility = ["structuretoolkit>=0.0.30,<0.2.0"]
52
52
 
53
53
  [tool.hatch.build]
54
54
  include = [
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.0.9'
22
- __version_tuple__ = version_tuple = (0, 0, 9)
21
+ __version__ = version = '0.1.0'
22
+ __version_tuple__ = version_tuple = (0, 1, 0)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -36,6 +36,7 @@ def lammps_file_interface_function(
36
36
  read_restart_file: bool = False,
37
37
  restart_file: str = "restart.out",
38
38
  dump_final_structure: bool = False,
39
+ force_skewed: bool = False,
39
40
  ):
40
41
  """
41
42
  A single function to execute a LAMMPS calculation based on the LAMMPS job interface implemented in lammpsparser
@@ -245,6 +246,7 @@ def lammps_file_interface_function(
245
246
  file_name="lammps.data",
246
247
  working_directory=working_directory,
247
248
  atom_type=atom_type,
249
+ force_skewed=force_skewed,
248
250
  )
249
251
 
250
252
  shell = subprocess.check_output(
@@ -554,6 +554,7 @@ def write_lammps_datafile(
554
554
  file_name: str = "lammps.data",
555
555
  working_directory: str | None = None,
556
556
  atom_type: str = "atomic",
557
+ force_skewed: bool = False,
557
558
  ) -> None:
558
559
  """
559
560
  Write an ASE structure to a LAMMPS data file.
@@ -579,6 +580,7 @@ def write_lammps_datafile(
579
580
  (default), ``"charge"``, ``"bond"``, or ``"full"``.
580
581
  """
581
582
  lammps_str = LammpsStructure(bond_dict=bond_dict, units=units, atom_type=atom_type)
583
+ lammps_str._force_skewed = force_skewed
582
584
  lammps_str.el_eam_lst = cast(list[str], list(potential_elements))
583
585
  lammps_str.structure = structure
584
586
  lammps_str.write_file(file_name=file_name, cwd=working_directory)
File without changes
File without changes
File without changes