Tree
tree is a library for working with nested data structures. In a way, tree
generalizes the builtin map function which only supports flat sequences,
and allows to apply a function to each "leaf" preserving the overall
structure.
>>> import tree
>>> structure = [[1], [[[2, 3]]], [4]]
>>> tree.flatten(structure)
[1, 2, 3, 4]
>>> tree.map_structure(lambda v: v**2, structure)
[[1], [[[4, 9]]], [16]]
tree is backed by an optimized C++ implementation suitable for use in
demanding applications, such as machine learning models.
Installation
From PyPI:
$ pip install dm-tree
Directly from github using pip:
$ pip install git+git://github.com/deepmind/tree.git
Build from source:
$ python setup.py install
Support
If you are having issues, please let us know by filing an issue on our issue tracker.
License
The project is licensed under the Apache 2.0 license.
Metadata
Release files for dm-tree 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dm_tree-0.1.10.tar.gz | 35.7 kB | Without provenance | Details for dm_tree-0.1.10.tar.gz |
Built distributions (wheels)
Total release size: 5.4 MB
Release files / dm_tree-0.1.10.tar.gz
| Download URL | dm_tree-0.1.10.tar.gz |
|---|---|
| Size | 35.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22f37b599e01cc3402a17f79c257a802aebd8d326de05b54657650845956208a
|
|
BLAKE2b-256 checksum How to use checksums |
5a66a3ec619d22b6baffa5ab853e8dc6ec9d0c837127948af59bb15b988d7312
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | dm_tree-0.1.10-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 187.0 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2236c9a4cf64ed0b04004a94902f39341be652b70dce322b33f08ada9b146baa
|
|
BLAKE2b-256 checksum How to use checksums |
cce82d4fbc54bb68905588945cfb47c05445c66cab2d822b05827f1c62e23a70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | dm_tree-0.1.10-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 185.1 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
8baeb3db1e92587d686022fb67a52f6c584a7d32bd98444ed3aafb399ad9ce67
|
|
BLAKE2b-256 checksum How to use checksums |
b089a5a302bcf9c345e6bd0498627ee2aa12f0a1c3538d08a2f5884d3c6783ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp314-cp314t-macosx_10_15_universal2.whl
| Download URL | dm_tree-0.1.10-cp314-cp314t-macosx_10_15_universal2.whl |
|---|---|
| Size | 324.2 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.15+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
23682221f63ad011dbd762ce5314740d7900b0426a2681614ea2472369b0c49c
|
|
BLAKE2b-256 checksum How to use checksums |
fd2c2aaa63a510db520cd9e0c51e053a608486169bb9710f51f4ecf5699cebb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp314-cp314-win_amd64.whl
| Download URL | dm_tree-0.1.10-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 114.8 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a132047e846e769ddacefe77c42ae79bf3d0e9fce2a6adb638a0ea4cbadb8cdb
|
|
BLAKE2b-256 checksum How to use checksums |
88afd9c84787fefe9f7c35f474a945217c38396f2ca5ab06432fb566e32a7d1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | dm_tree-0.1.10-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 186.3 kB |
| Tags | CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
cf6706ac425272c9b7e05f05a23a1ff3e670fb59a787f6089a638eea2d06f1d0
|
|
BLAKE2b-256 checksum How to use checksums |
c75907461ceb563702ba3943725bdf0e04be4de0ed7ef093837cdd2d67141d2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | dm_tree-0.1.10-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 184.3 kB |
| Tags | CPython 3.14 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
9c0f54547fbd4b82e88c71694b3836c90059b97102d3e36209f5d2fa66950964
|
|
BLAKE2b-256 checksum How to use checksums |
cb501eda610e9ca8ac59950ae028080e7c5320d7abc5567d6723d0cb3623e838
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp314-cp314-macosx_10_15_universal2.whl
| Download URL | dm_tree-0.1.10-cp314-cp314-macosx_10_15_universal2.whl |
|---|---|
| Size | 316.6 kB |
| Tags | CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
f395390d6acfb5d39c564c8bbcaf35352a81eb2f0d34d449739039b2ef786e14
|
|
BLAKE2b-256 checksum How to use checksums |
948d135ddeea875fd1a2768e7aee6c224f92c9b7643ead1ec8b68bdbee52c60a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | dm_tree-0.1.10-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 187.0 kB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
6d4237da7b072fff1e93db109ab545f00d2b978ead35e85e7a84908e15197826
|
|
BLAKE2b-256 checksum How to use checksums |
6cdaf8811666d61b6829ba1c2716c4119039428dd86078eddd120354aaf26a3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp313-cp313t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | dm_tree-0.1.10-cp313-cp313t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 185.1 kB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
033f9a063e1e19b6c65fb5c76079bd923044f5a6095357ad2637845513d47938
|
|
BLAKE2b-256 checksum How to use checksums |
83e433c9218aa607f610e2b0334fc824c2abd5a6bc232bf0726cf275f88e639d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp313-cp313t-macosx_10_13_universal2.whl
| Download URL | dm_tree-0.1.10-cp313-cp313t-macosx_10_13_universal2.whl |
|---|---|
| Size | 324.1 kB |
| Tags | CPython 3.13 CPython 3.13 free-threading macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
bde02efacca66514524922538b8a0c5dc15d482565d1c796edc34a726b376830
|
|
BLAKE2b-256 checksum How to use checksums |
cbca3b40a8a50f9c3492b795b157d769180edb5f2605e3c61ae826208f917baa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp313-cp313-win_amd64.whl
| Download URL | dm_tree-0.1.10-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 112.8 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b42e04482880b017d931511d7b5997be372fff26a1ee9b9be55eef03ef1c2918
|
|
BLAKE2b-256 checksum How to use checksums |
aa754b460253b9af862388940404b5df6a22b399800c850aab4724c95f8635f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | dm_tree-0.1.10-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 186.2 kB |
| Tags | CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
6d7134c0805294c640b94d85cc725084f0c5087bcda5a7fb38eeb7f479ecc37c
|
|
BLAKE2b-256 checksum How to use checksums |
2f23bd3e75cbff06a464339d32667d740acf49812b027142a013b54d2c4d830a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | dm_tree-0.1.10-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 183.8 kB |
| Tags | CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
0e8f8f1354f178112732b30d2293bc53d212ea64a9556db80a926af3d4647a6b
|
|
BLAKE2b-256 checksum How to use checksums |
02831b94d45351bd75a83976a88c9fcf109da6ce336f38a3b443703bb6b18e5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp313-cp313-macosx_10_13_universal2.whl
| Download URL | dm_tree-0.1.10-cp313-cp313-macosx_10_13_universal2.whl |
|---|---|
| Size | 316.1 kB |
| Tags | CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
4a782f0382be16d66c9ed003e6992e56674504a1d9636f44d2807123f5df6343
|
|
BLAKE2b-256 checksum How to use checksums |
d629f39e8412c16740f4c914c6674a04a66ace344ce5cb99b537c2270ef4f204
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp312-cp312-win_amd64.whl
| Download URL | dm_tree-0.1.10-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 112.7 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
da8d5b8995bea1b6bb93f457e0dad5d16e6e2344a6488ced55320e7f3fd50f56
|
|
BLAKE2b-256 checksum How to use checksums |
892dadef6924f8dc7f1665eea4ce066387820c14a629d0e1005568892d56ea6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | dm_tree-0.1.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 186.5 kB |
| Tags | CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
012c2b376e88d3685c73a4b5c23be41fe933e14e380dcd90172971690b0e02d2
|
|
BLAKE2b-256 checksum How to use checksums |
83eb1d55c679cee9a54e552480d308535753c72e2250cf720d7aa777bff2a4fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | dm_tree-0.1.10-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 184.1 kB |
| Tags | CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
b442a0c1e9d0960e0314a2e4af81fd328a87921b6d6db6dc41bfa420536884d6
|
|
BLAKE2b-256 checksum How to use checksums |
cc6fed603715fbc29c887a8985252e2cfe0d449497aea96bac51010159771617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp312-cp312-macosx_10_13_universal2.whl
| Download URL | dm_tree-0.1.10-cp312-cp312-macosx_10_13_universal2.whl |
|---|---|
| Size | 316.0 kB |
| Tags | CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
94af18e4fd22ce69eccae89eeed8ed498b6b4cc4957f4ed10b4160e59f620e1d
|
|
BLAKE2b-256 checksum How to use checksums |
34a117e0d68eec978c483db4712b14d083ee01484381b29ea85edb2b20210bd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp311-cp311-win_amd64.whl
| Download URL | dm_tree-0.1.10-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 111.5 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a1c82dd4726a16ac6b6f7a77a5fb097ee396fd349ae301407eb5736f15b8fa16
|
|
BLAKE2b-256 checksum How to use checksums |
600e08d938d84cbf791dde009b3d3a6637f27a0004235e700641a0ac038daac5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | dm_tree-0.1.10-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 185.0 kB |
| Tags | CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
f0e8907bb6809dc195be3af077e382126eaebe06c00f835d09ae26e36d2165ff
|
|
BLAKE2b-256 checksum How to use checksums |
7810587a2cdc05995069aa63b659d884eb3e58a3c86a5b4a00acdb7a316bddf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | dm_tree-0.1.10-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 182.7 kB |
| Tags | CPython 3.11 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
cacef6180fcfef30bab2cac5164e753e2f7a2e60e5da0feb81f2d318416f8d98
|
|
BLAKE2b-256 checksum How to use checksums |
40723bafa58492862360113c1cccb26747c7863d417271e1572bacb3c281162f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp311-cp311-macosx_10_9_universal2.whl
| Download URL | dm_tree-0.1.10-cp311-cp311-macosx_10_9_universal2.whl |
|---|---|
| Size | 314.6 kB |
| Tags | CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
8218af7b99701bb8b03001c82961dc2cf81d7a734958206d2ea1ede8fbbe2b5f
|
|
BLAKE2b-256 checksum How to use checksums |
87dcb01d0f70cde99b306731216a98287ba5926a50f27222f2ada0b99ad0911f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp310-cp310-win_amd64.whl
| Download URL | dm_tree-0.1.10-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 110.7 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d7f42b2148a1a3758230fbf93c06b9475e5d4bd62a4d19eacafa8210b03421ac
|
|
BLAKE2b-256 checksum How to use checksums |
499f6fea8ba8cb69136af0511868bc41dfb88d0b8c3a85497dbbf16271cd84a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | dm_tree-0.1.10-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 183.9 kB |
| Tags | CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
7644b24bb5c7810b601f4b28cf6e4b516da96713ebfd9e45585240318c6b9384
|
|
BLAKE2b-256 checksum How to use checksums |
6dd62b88e4eb5e3e5ecf9d61afe55e463ce7c9e4d1dc6630b9f7038a62e548d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | dm_tree-0.1.10-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 181.2 kB |
| Tags | CPython 3.10 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
0fcf11edc379723b8a17b76b6f63643e9280d55f23c37994805bf27282074192
|
|
BLAKE2b-256 checksum How to use checksums |
7cb92f6278c07728c60411d363aab1b5de53b75bb3bdf27032e871c240f3b4de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / dm_tree-0.1.10-cp310-cp310-macosx_10_9_universal2.whl
| Download URL | dm_tree-0.1.10-cp310-cp310-macosx_10_9_universal2.whl |
|---|---|
| Size | 311.5 kB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
b8b606661abcb5336e60ce4cd6f3bec794ec794f91d8de001c1ea451dd7a7411
|
|
BLAKE2b-256 checksum How to use checksums |
5276781bc1a8ce0f4be153755e36be547d7d36964fb6d265b9b29503ed3e0a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for dm-tree 0.1.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.