pwdata 0.4.11__tar.gz → 0.5.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.

Potentially problematic release.


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

Files changed (71) hide show
  1. {pwdata-0.4.11 → pwdata-0.5.0}/PKG-INFO +1 -1
  2. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/check_envs.py +14 -1
  3. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/main.py +3 -1
  4. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata.egg-info/PKG-INFO +1 -1
  5. {pwdata-0.4.11 → pwdata-0.5.0}/setup.py +1 -1
  6. {pwdata-0.4.11 → pwdata-0.5.0}/LICENSE +0 -0
  7. {pwdata-0.4.11 → pwdata-0.5.0}/README.md +0 -0
  8. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/__init__.py +0 -0
  9. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/atomconfig.py +0 -0
  10. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/build/__init__.py +0 -0
  11. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/build/cell.py +0 -0
  12. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/build/geometry.py +0 -0
  13. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/build/supercells.py +0 -0
  14. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/build/write_struc.py +0 -0
  15. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/calculators/__init__.py +0 -0
  16. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/calculators/const.py +0 -0
  17. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/calculators/unitconvert_lmps.py +0 -0
  18. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/calculators/units.py +0 -0
  19. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/config.py +0 -0
  20. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/convert_files.py +0 -0
  21. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/cp2kdata.py +0 -0
  22. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/datasets_saver.py +0 -0
  23. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/deepmd.py +0 -0
  24. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/dump.py +0 -0
  25. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/extendedxyz.py +0 -0
  26. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/__init__.py +0 -0
  27. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/common/__init__.py +0 -0
  28. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/common/registry.py +0 -0
  29. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/common/typing.py +0 -0
  30. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/common/utils.py +0 -0
  31. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/__init__.py +0 -0
  32. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/_utils.py +0 -0
  33. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/ase_datasets.py +0 -0
  34. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/base_dataset.py +0 -0
  35. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/embeddings/__init__.py +0 -0
  36. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/embeddings/atomic_radii.py +0 -0
  37. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/embeddings/continuous_embeddings.py +0 -0
  38. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/embeddings/khot_embeddings.py +0 -0
  39. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/embeddings/qmof_khot_embeddings.py +0 -0
  40. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/lmdb_database.py +0 -0
  41. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/datasets/target_metadata_guesser.py +0 -0
  42. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/modules/__init__.py +0 -0
  43. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/modules/transforms.py +0 -0
  44. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/fairchem/preprocessing/__init__.py +0 -0
  45. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/image.py +0 -0
  46. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/lammpsdata.py +0 -0
  47. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/lmps.py +0 -0
  48. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/meta.py +0 -0
  49. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/movement.py +0 -0
  50. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/movement_saver.py +0 -0
  51. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/outcar.py +0 -0
  52. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/pertub/__init__.py +0 -0
  53. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/pertub/perturbation.py +0 -0
  54. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/pertub/scale.py +0 -0
  55. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/poscar.py +0 -0
  56. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/pwmlff.py +0 -0
  57. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/test/__init__.py +0 -0
  58. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/test/matpbe2lmdb.py +0 -0
  59. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/test/matrcan2lmdb.py +0 -0
  60. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/test/mdtrajs2config.py +0 -0
  61. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/test/mptraj2lmdb.py +0 -0
  62. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/test.py +0 -0
  63. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/utils/__init__.py +0 -0
  64. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/utils/constant.py +0 -0
  65. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata/utils/format_change.py +0 -0
  66. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata.egg-info/SOURCES.txt +0 -0
  67. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata.egg-info/dependency_links.txt +0 -0
  68. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata.egg-info/entry_points.txt +0 -0
  69. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata.egg-info/requires.txt +0 -0
  70. {pwdata-0.4.11 → pwdata-0.5.0}/pwdata.egg-info/top_level.txt +0 -0
  71. {pwdata-0.4.11 → pwdata-0.5.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pwdata
3
- Version: 0.4.11
3
+ Version: 0.5.0
4
4
  Summary: pwdata is a data pre-processing tool for PWMLFF, which can be used to extract features and labels. It also provides convenient interfaces for data conversion between different software.
5
5
  Home-page: https://github.com/LonxunQuantum/pwdata
6
6
  Author: LonxunQuantum
@@ -52,4 +52,17 @@ def cmd_infos():
52
52
  info += "| \* (meta aselmdb) | \*.aselmdb | True | True | 'meta' |\n"
53
53
  info += "__________________________________________________________________________________________|\n\n"
54
54
 
55
- print(info)
55
+ print(info)
56
+
57
+ def comm_info():
58
+ print("\n" + "=" * 50)
59
+ print(" PWDATA Basic Information")
60
+ print("=" * 50)
61
+ print("Version: 0.5.0")
62
+ print("support pwact: >= 0.2.0")
63
+ print("support MatPL: >= 2025.3")
64
+ print("Contact: support@pwmat.com")
65
+ print("Citation: https://github.com/LonxunQuantum/MatPL")
66
+ print("Manual online: http://doc.lonxun.com/PWMLFF/")
67
+ print("=" * 50)
68
+ print("\n\n")
@@ -24,7 +24,7 @@ sys.path.append(os.path.dirname(os.path.abspath(__file__)))
24
24
  import argparse
25
25
  from pwdata.convert_files import do_scale_cell, do_super_cell, do_perturb, do_convert_config, do_convert_images, do_count_images
26
26
  from pwdata.utils.constant import FORMAT, get_atomic_name_from_number
27
- from pwdata.check_envs import print_cmd
27
+ from pwdata.check_envs import print_cmd, comm_info
28
28
 
29
29
  # from pwdata.open_data.meta_data import get_meta_data
30
30
 
@@ -49,6 +49,7 @@ def string2index(string: str) -> Union[int, slice, str]:
49
49
  pwdata convert -i dirs -f extxyz -s dir
50
50
  """
51
51
  def main(cmd_list:list=None):
52
+
52
53
  if cmd_list is None:
53
54
  cmd_list = sys.argv
54
55
  if len(cmd_list) == 2 and '.json' in cmd_list[1].lower():
@@ -290,4 +291,5 @@ def count_configs(cmd_list:list[str]):
290
291
  do_count_images(input_list, args.input_format, atom_types, args.query, args.cpu_nums)
291
292
 
292
293
  if __name__ == "__main__":
294
+ comm_info()
293
295
  main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pwdata
3
- Version: 0.4.11
3
+ Version: 0.5.0
4
4
  Summary: pwdata is a data pre-processing tool for PWMLFF, which can be used to extract features and labels. It also provides convenient interfaces for data conversion between different software.
5
5
  Home-page: https://github.com/LonxunQuantum/pwdata
6
6
  Author: LonxunQuantum
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="pwdata",
8
- version="0.4.11",
8
+ version="0.5.0",
9
9
  author="LonxunQuantum",
10
10
  author_email="lonxun@pwmat.com",
11
11
  description="pwdata is a data pre-processing tool for PWMLFF, which can be used to extract features and labels. It also provides convenient interfaces for data conversion between different software.",
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