Hostile 99% python Download

qcmanybody 0.8.0

Dependency explicitly classified hostile

Basename is uppercase README.mdPython JSON parsing or serialization reference

Evidence

Declares Markdown package description METADATA · lines 13–21
13:9… er: Operating System :: MacOS
14Classifier: Framework :: Pydantic
15Requires-Python: >=3.10
16Description-Content-Type: text/markdown
17License-File: LICENSE
18Requires-Dist: numpy
19Requires-Dist: pydantic>=2.11; python_version < "3.14"
20Requires-Dist: pydantic>=2.12; python_version >= "3.14"
21Requires-Dist: q …
Package metadata references Shields badge URLs METADATA · lines 47–51
47:99… height="150px">
48 </picture>
49</p>
50
51[![GitHub Actions](https://img.shields.io/github/actions/workflow/status/MolSSI/QCManyBody/ci.yml?logo=github)](https://github.com/MolSSI/QCManyBody/actions?query=workfl …
imports version from importlib.metadata __init__.py · lines 1–14
1from importlib.metadata import version
2
3__version__ = version("qcmanybody")
4del version
5
6# isort: off
7from .core import ManyBodyCalculator # legacy near-alias to ManyBodyCore
8from .core import ManyBodyCore
9from .computer import ManyBodyComputer
10
11# isort: on
12# BsseEnum is ordinary Enum, no pydantic, and v1=v2 in content
13from .models.v2 import BsseEnum
14from .utils import delabeler, labeler, resize_gradient, resize_hessian
imports os core.py · lines 1–41
1from __future__ import annotations
2
3import logging
4import math
5import os
6import string
7from collections import Counter, defaultdict
8from typing import Any, Dict, Iterable, Literal, Mapping, Sequence, Set, Tuple, Union
9
10import numpy as np
11import qcelemental
12from qcelemental.models.v1 import Molecule as Molecule_v1
13from qcelemental.models.v2 import Molecule as Molecule_v2
14
15from qcmanybody.models.v2 import BsseEnum
16
17Molecules = Union["qcelemental.models.v1.Molecule", "qcelemental.models.v2.Molecule"]
18
19from qcmanybody.builder import build_nbody_compute_list
20from qcmanybody.utils import (
21 all_same_shape,
22 collect_vars,
23 copy_value,
24 delabeler,
25 find_shape,
26 labeler,
27 modelchem_labels,
28 print_nbody_energy,
29 resize_gradient,
30 resize_hessian,
31 shaped_zero,
32 sum_cluster_data,
33)
34
⋯7 lines
Python reads an environment variable core.py · lines 55–60
55:42… g_charges
56 if self.embedding_charges:
57 if not bool(os.environ.get("QCMANYBODY_EMBEDDING_CHARGES", False)): # obscure until further validation
58 raise ValueError(
59 f"Embedding charges for EE-MBE are still in testing. Set environment variable QCMANYBODY_EMBEDDING_CHARGES=1 to use at your own risk."
60 …

Showing the top 5 files — 5 more files (62 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.