diff --git a/packages/py-treem/package.py b/packages/py-treem/package.py
new file mode 100644
index 0000000000000000000000000000000000000000..e56e80f162f3ac735c96e35e6a6b3b99bdd2569a
--- /dev/null
+++ b/packages/py-treem/package.py
@@ -0,0 +1,26 @@
+# (from https://github.com/BlueBrain/spack)
+
+# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack.package import *
+
+
+class PyTreem(PythonPackage):
+    """Module treem provides data structure and command-line tools 
+    for accessing and manipulating the digital reconstructions 
+    of the neuron morphology in Stockley-Wheal-Cannon format (SWC).
+    Developed by Alexander Kozlov (akozlov@kth.se), 
+    KTH Royal Institute of Technology, Stockholm, Sweden."""
+
+    homepage = "https://github.com/a1eko/treem"
+    pypi = "treem/treem-1.1.0.tar.gz"
+
+    maintainers = ['a1eko'] # github usernames
+
+    version("1.1.0", sha256="eec63afd2ce675a6ad974a9b93f800918596bfda")
+
+    depends_on("py-numpy", type="run")
+    depends_on("py-matplotlib", type="run")
diff --git a/spack.yaml b/spack.yaml
index 5f8217b5edd9ea0a302482dd82bad6330354a010..c5a2126a2bb128f8b84938a8f2890fba6415ece1 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -47,6 +47,7 @@ spack:
     - py-siibra@1.0a9
     - py-snudda@2.0.1
     - py-spynnaker@7.3.0
+    - py-treem@1.1.0
     - py-tvb-framework@2.9
     - py-tvb-contrib@2.9.1
     - py-tvb-library@2.9.1