
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
:Author: Lukas Turcani :Docs: https://atomlite.readthedocs.io
AtomLite is a Python library for simple molecular database on top of SQLite_.
For an alternative to AtomLite, which provides stronger integration with RDKit, and a greater focus on cheminformatics, see chemicalite_.
.. _SQLite: https://docs.python.org/3/library/sqlite3.html .. _chemicalite: https://github.com/rvianello/chemicalite
.. code-block:: bash
pip install atomlite
You can see a lot more examples in our docs_ but here is a taste of using AtomLite:
.. code-block:: python
import atomlite import rdkit.Chem as rdkit
db = atomlite.Database("molecules.db")
entry1 = atomlite.Entry.from_rdkit("first", rdkit.MolFromSmiles("C"), {"prop1": "hi", "prop2": 100}) entry2 = atomlite.Entry.from_rdkit("second", rdkit.MolFromSmiles("CN"), {"prop1": "thing", "prop2": 203})
db.add_entries([entry1, entry2])
for entry in db.get_entries(["first", "second"]): molecule = atomlite.json_to_rdkit(entry.molecule) print(entry.properties)
::
{'prop1': 'hi', 'prop2': 100} {'prop1': 'thing', 'prop2': 203}
.. code-block:: python
db.get_property_df(["$.prop1", "$.prop2"])
::
shape: (2, 3) ┌────────┬─────────┬─────────┐ │ key ┆ $.prop1 ┆ $.prop2 │ │ --- ┆ --- ┆ --- │ │ str ┆ str ┆ i64 │ ╞════════╪═════════╪═════════╡ │ first ┆ hi ┆ 100 │ │ second ┆ thing ┆ 203 │ └────────┴─────────┴─────────┘
.. _docs: https://atomlite.readthedocs.io
FAQs
A SQLite chemical database.
We found that atomlite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.