Loading...
Loading...
Compare original and translation side by side
uvuvuvuvuvuvuv run scripts/pubchem_api.py resolve --name "aspirin" --output result.jsonuv run scripts/pubchem_api.py resolve --name "aspirin" --output result.jsonuv run scripts/pubchem_api.py resolve --name "ibuprofen" --output result.jsonuv run scripts/pubchem_api.py resolve --name "ibuprofen" --output result.json
**2. Physical & Chemical Property Retrieval** Fetch computed properties (e.g.,
MolecularWeight, XLogP, TPSA).
```bash
uv run scripts/pubchem_api.py properties --cid 2244 --output result.jsonuv run scripts/pubchem_api.py synonyms --cid 2244 --output result.json
**2. 物理与化学属性检索** 获取计算属性(如分子量、XLogP、TPSA)。
```bash
uv run scripts/pubchem_api.py properties --cid 2244 --output result.jsonuv run scripts/pubchem_api.py synonyms --cid 2244 --output result.jsonuv run scripts/pubchem_api.py safety --cid 2244 --output result.jsonuv run scripts/pubchem_api.py pharmacology --cid 2244 --output result.jsonuv run scripts/pubchem_api.py view --cid 3939 --heading "Crystal Structures" --output result.jsonuv run scripts/pubchem_api.py image --cid 2244 --output result.jsonuv run scripts/pubchem_api.py safety --cid 2244 --output result.jsonuv run scripts/pubchem_api.py pharmacology --cid 2244 --output result.jsonuv run scripts/pubchem_api.py view --cid 3939 --heading "Crystal Structures" --output result.jsonuv run scripts/pubchem_api.py image --cid 2244 --output result.jsonuv run scripts/pubchem_api.py similarity --smiles "CC(=O)OC1=CC=CC=C1C(=O)O" --output result.jsonuv run scripts/pubchem_api.py substructure --smiles "C1=CC=CC=C1" --output result.jsonuv run scripts/pubchem_api.py assays --cid 2244 --output result.jsonuv run scripts/pubchem_api.py similarity --smiles "CC(=O)OC1=CC=CC=C1C(=O)O" --output result.jsonuv run scripts/pubchem_api.py substructure --smiles "C1=CC=CC=C1" --output result.jsonuv run scripts/pubchem_api.py assays --cid 2244 --output result.jsonuv run scripts/pubchem_api.py xrefs --cid 2244 --type "PatentID" --output result.jsonmolecular_weightheavy_atom_countxlogptpsah_bond_donor_counth_bond_acceptor_countrotatable_bond_countexact_massmonoisotopic_masscomplexityuv run scripts/pubchem_api.py range --feature molecular_weight --min 400.0 --max 400.05 --output result.jsonuv run scripts/pubchem_api.py query --path "compound/cid/2244/xrefs/PatentID/JSON" --output result.jsonuv run scripts/pubchem_api.py xrefs --cid 2244 --type "PatentID" --output result.jsonmolecular_weightheavy_atom_countxlogptpsah_bond_donor_counth_bond_acceptor_countrotatable_bond_countexact_massmonoisotopic_masscomplexityuv run scripts/pubchem_api.py range --feature molecular_weight --min 400.0 --max 400.05 --output result.jsonuv run scripts/pubchem_api.py query --path "compound/cid/2244/xrefs/PatentID/JSON" --output result.json