Ahmad2005 commited on
Commit
f10f2ae
·
verified ·
1 Parent(s): ff6d672

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .cache/pip/http-v2/0/2/f/7/a/02f7a3cfa8e6aa881ea9780e7473e44a5ee78388ef2ddf2bbdaf9c4c +0 -0
  2. .cache/pip/http-v2/0/2/f/7/a/02f7a3cfa8e6aa881ea9780e7473e44a5ee78388ef2ddf2bbdaf9c4c.body +88 -0
  3. .cache/pip/http-v2/0/3/b/7/e/03b7e31ef41a67b4d5d0212d71d27b02703ce649d01a9d3a622a0976 +0 -0
  4. .cache/pip/http-v2/0/3/b/7/e/03b7e31ef41a67b4d5d0212d71d27b02703ce649d01a9d3a622a0976.body +0 -0
  5. .cache/pip/http-v2/0/4/4/7/c/0447ce2249fdae0f8cf52a43e01f215eacdf7c35d89a248bd4b4ebaa +0 -0
  6. .cache/pip/http-v2/0/4/4/7/c/0447ce2249fdae0f8cf52a43e01f215eacdf7c35d89a248bd4b4ebaa.body +0 -0
  7. .cache/pip/http-v2/0/8/1/1/2/081122fdc5ea51e83b186b86128635ac8ae17e58f1cd4997987d6c9d +0 -0
  8. .cache/pip/http-v2/0/8/1/1/2/081122fdc5ea51e83b186b86128635ac8ae17e58f1cd4997987d6c9d.body +99 -0
  9. .cache/pip/http-v2/0/c/1/9/0/0c1902a50947e5344575b4ef11e0b41b63cc4e3e15eb945e6b0cd91d +0 -0
  10. .cache/pip/http-v2/0/c/1/9/0/0c1902a50947e5344575b4ef11e0b41b63cc4e3e15eb945e6b0cd91d.body +0 -0
  11. .cache/pip/http-v2/1/8/4/2/e/1842e6d8465e13ffdec95207c092275f1f7388f218f45f83bda89679 +0 -0
  12. .cache/pip/http-v2/1/8/4/2/e/1842e6d8465e13ffdec95207c092275f1f7388f218f45f83bda89679.body +87 -0
  13. .cache/pip/http-v2/1/8/e/c/b/18ecb372789efe49bbe46617b1f5d32a2b0eac245d58cbf930116174 +0 -0
  14. .cache/pip/http-v2/2/6/9/6/f/2696f961349c363ba6eaa61f1f16df2705938f26ba64023adb039e90 +0 -0
  15. .cache/pip/http-v2/2/6/9/6/f/2696f961349c363ba6eaa61f1f16df2705938f26ba64023adb039e90.body +0 -0
  16. .cache/pip/http-v2/2/7/7/6/0/2776091d74378df9859068b389c0d96d3f76c8668c74613451e22e86 +0 -0
  17. .cache/pip/http-v2/2/9/5/4/2/2954216e93dc816d61408bd6f0b67c741271fd7cfbf7e39bfb692beb +0 -0
  18. .cache/pip/http-v2/2/9/5/4/2/2954216e93dc816d61408bd6f0b67c741271fd7cfbf7e39bfb692beb.body +581 -0
  19. .cache/pip/http-v2/2/b/d/2/a/2bd2afb46be8ef29cc0dd505de4aff907384c53895a0fbbce798558e +0 -0
  20. .cache/pip/http-v2/2/b/d/2/a/2bd2afb46be8ef29cc0dd505de4aff907384c53895a0fbbce798558e.body +354 -0
  21. .cache/pip/http-v2/2/d/2/7/4/2d274909802a294101952666e88fb2e3b7731b90c4e0fa9015d5a2c9 +0 -0
  22. .cache/pip/http-v2/2/d/2/7/4/2d274909802a294101952666e88fb2e3b7731b90c4e0fa9015d5a2c9.body +145 -0
  23. .cache/pip/http-v2/3/4/e/4/e/34e4ed9f6da78ec378e04be04de734c69a68c889dbef86cb0f5f498a +0 -0
  24. .cache/pip/http-v2/3/4/e/4/e/34e4ed9f6da78ec378e04be04de734c69a68c889dbef86cb0f5f498a.body +0 -0
  25. .cache/pip/http-v2/3/5/a/0/6/35a0615e0411edd59492c90e8f5cd0a1a0554d6f7d1dec5be2b30560 +0 -0
  26. .cache/pip/http-v2/3/5/a/0/6/35a0615e0411edd59492c90e8f5cd0a1a0554d6f7d1dec5be2b30560.body +97 -0
  27. .cache/pip/http-v2/3/8/6/0/e/3860e4de9ae53c79d2fd61419e9049df314ccc8b640782c02c6e2e2d +0 -0
  28. .cache/pip/http-v2/3/8/6/0/e/3860e4de9ae53c79d2fd61419e9049df314ccc8b640782c02c6e2e2d.body +0 -0
  29. .cache/pip/http-v2/3/8/9/2/7/389270eb64d5d655add63491064e7e833611004a96c2fb8b19caa5fb +0 -0
  30. .cache/pip/http-v2/3/8/9/2/7/389270eb64d5d655add63491064e7e833611004a96c2fb8b19caa5fb.body +321 -0
  31. .cache/pip/http-v2/3/8/c/c/8/38cc8209283ecb2d228ea8086bb74fbdc5d4872485c51a94fdb9c6cb +0 -0
  32. .cache/pip/http-v2/4/a/5/b/6/4a5b6f0d76201de4cfd4884f5e95617a1848cf81c8357be4d12cbf6a +0 -0
  33. .cache/pip/http-v2/4/a/5/b/6/4a5b6f0d76201de4cfd4884f5e95617a1848cf81c8357be4d12cbf6a.body +86 -0
  34. .cache/pip/http-v2/4/d/c/8/d/4dc8d567db4bc55c0684404c85a6b4572f87a99306be24cab65fbfae +0 -0
  35. .cache/pip/http-v2/4/d/c/8/d/4dc8d567db4bc55c0684404c85a6b4572f87a99306be24cab65fbfae.body +0 -0
  36. .cache/pip/http-v2/5/5/9/a/2/559a28d2d50a6d0988e3c56e5d0d411789da84005e4420f1a26bb23e +0 -0
  37. .cache/pip/http-v2/5/5/9/a/2/559a28d2d50a6d0988e3c56e5d0d411789da84005e4420f1a26bb23e.body +0 -0
  38. .cache/pip/http-v2/5/9/1/a/0/591a0a7ea47d81cffb332bf5e1460e560ce743822558c6f345314d4b +0 -0
  39. .cache/pip/http-v2/5/9/1/a/0/591a0a7ea47d81cffb332bf5e1460e560ce743822558c6f345314d4b.body +0 -0
  40. .cache/pip/http-v2/5/d/5/7/5/5d575692ffb3194739604e9e1622e2fa8c882afc9517932bd2ce40df +0 -0
  41. .cache/pip/http-v2/5/d/5/7/5/5d575692ffb3194739604e9e1622e2fa8c882afc9517932bd2ce40df.body +221 -0
  42. .cache/pip/http-v2/5/e/c/8/b/5ec8b58bc827caa12672b72c08527dbd1c5456edeea815f1e76cb526 +0 -0
  43. .cache/pip/http-v2/6/4/c/f/c/64cfc03e83f9fad4049b1d2a1d785c9273270a4ab9788b538f5054e3 +0 -0
  44. .cache/pip/http-v2/6/5/1/e/5/651e58859e8db8c99b9e7068d03984cfd4577518ff0e021c717afbf4 +0 -0
  45. .cache/pip/http-v2/6/5/1/e/5/651e58859e8db8c99b9e7068d03984cfd4577518ff0e021c717afbf4.body +78 -0
  46. .cache/pip/http-v2/6/6/e/c/7/66ec76a7b6ed4081044f5c7821af293b63c17bc2ac523ff93d5ca7d5 +0 -0
  47. .cache/pip/http-v2/6/8/0/d/4/680d4dd80dc6a3d2df9b9478dfcc8e81e0e4f130e154a3268b98b877 +0 -0
  48. .cache/pip/http-v2/6/9/2/f/2/692f2804b6b8394551c77857160a003c2da933441522c71fd20e4ca4 +0 -0
  49. .cache/pip/http-v2/6/b/5/3/a/6b53a9dd0e4fce887cc28c1a921aa1befe8c1a82e6c213d2542d2acb +0 -0
  50. .cache/pip/http-v2/6/b/5/3/a/6b53a9dd0e4fce887cc28c1a921aa1befe8c1a82e6c213d2542d2acb.body +0 -0
.cache/pip/http-v2/0/2/f/7/a/02f7a3cfa8e6aa881ea9780e7473e44a5ee78388ef2ddf2bbdaf9c4c ADDED
Binary file (1.27 kB). View file
 
.cache/pip/http-v2/0/2/f/7/a/02f7a3cfa8e6aa881ea9780e7473e44a5ee78388ef2ddf2bbdaf9c4c.body ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: Mako
3
+ Version: 1.3.12
4
+ Summary: A super-fast templating language that borrows the best ideas from the existing templating languages.
5
+ Home-page: https://www.makotemplates.org/
6
+ Author: Mike Bayer
7
+ Author-email: mike@zzzcomputing.com
8
+ License: MIT
9
+ Project-URL: Documentation, https://docs.makotemplates.org
10
+ Project-URL: Issue Tracker, https://github.com/sqlalchemy/mako
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Environment :: Web Environment
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.8
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: Implementation :: CPython
23
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
24
+ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
25
+ Requires-Python: >=3.8
26
+ Description-Content-Type: text/x-rst
27
+ License-File: LICENSE
28
+ Requires-Dist: MarkupSafe>=0.9.2
29
+ Provides-Extra: testing
30
+ Requires-Dist: pytest; extra == "testing"
31
+ Provides-Extra: babel
32
+ Requires-Dist: Babel; extra == "babel"
33
+ Provides-Extra: lingua
34
+ Requires-Dist: lingua; extra == "lingua"
35
+ Dynamic: license-file
36
+
37
+ =========================
38
+ Mako Templates for Python
39
+ =========================
40
+
41
+ Mako is a template library written in Python. It provides a familiar, non-XML
42
+ syntax which compiles into Python modules for maximum performance. Mako's
43
+ syntax and API borrows from the best ideas of many others, including Django
44
+ templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
45
+ Python (i.e. Python Server Page) language, which refines the familiar ideas
46
+ of componentized layout and inheritance to produce one of the most
47
+ straightforward and flexible models available, while also maintaining close
48
+ ties to Python calling and scoping semantics.
49
+
50
+ Nutshell
51
+ ========
52
+
53
+ ::
54
+
55
+ <%inherit file="base.html"/>
56
+ <%
57
+ rows = [[v for v in range(0,10)] for row in range(0,10)]
58
+ %>
59
+ <table>
60
+ % for row in rows:
61
+ ${makerow(row)}
62
+ % endfor
63
+ </table>
64
+
65
+ <%def name="makerow(row)">
66
+ <tr>
67
+ % for name in row:
68
+ <td>${name}</td>\
69
+ % endfor
70
+ </tr>
71
+ </%def>
72
+
73
+ Philosophy
74
+ ===========
75
+
76
+ Python is a great scripting language. Don't reinvent the wheel...your templates can handle it !
77
+
78
+ Documentation
79
+ ==============
80
+
81
+ See documentation for Mako at https://docs.makotemplates.org/en/latest/
82
+
83
+ License
84
+ ========
85
+
86
+ Mako is licensed under an MIT-style license (see LICENSE).
87
+ Other incorporated projects may be licensed under different licenses.
88
+ All licenses allow for non-commercial and commercial use.
.cache/pip/http-v2/0/3/b/7/e/03b7e31ef41a67b4d5d0212d71d27b02703ce649d01a9d3a622a0976 ADDED
Binary file (1.19 kB). View file
 
.cache/pip/http-v2/0/3/b/7/e/03b7e31ef41a67b4d5d0212d71d27b02703ce649d01a9d3a622a0976.body ADDED
Binary file (9.76 kB). View file
 
.cache/pip/http-v2/0/4/4/7/c/0447ce2249fdae0f8cf52a43e01f215eacdf7c35d89a248bd4b4ebaa ADDED
Binary file (1.86 kB). View file
 
.cache/pip/http-v2/0/4/4/7/c/0447ce2249fdae0f8cf52a43e01f215eacdf7c35d89a248bd4b4ebaa.body ADDED
Binary file (21.1 kB). View file
 
.cache/pip/http-v2/0/8/1/1/2/081122fdc5ea51e83b186b86128635ac8ae17e58f1cd4997987d6c9d ADDED
Binary file (1.27 kB). View file
 
.cache/pip/http-v2/0/8/1/1/2/081122fdc5ea51e83b186b86128635ac8ae17e58f1cd4997987d6c9d.body ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: greenlet
3
+ Version: 3.5.1
4
+ Summary: Lightweight in-process concurrent programming
5
+ Author-email: Alexey Borzenkov <snaury@gmail.com>
6
+ Maintainer-email: Jason Madden <jason@seecoresoftware.com>
7
+ License-Expression: MIT AND PSF-2.0
8
+ Project-URL: Homepage, https://greenlet.readthedocs.io
9
+ Project-URL: Documentation, https://greenlet.readthedocs.io
10
+ Project-URL: Repository, https://github.com/python-greenlet/greenlet
11
+ Project-URL: Issues, https://github.com/python-greenlet/greenlet/issues
12
+ Project-URL: Changelog, https://greenlet.readthedocs.io/en/latest/changes.html
13
+ Keywords: greenlet,coroutine,concurrency,threads,cooperative
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Natural Language :: English
17
+ Classifier: Programming Language :: C
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3.15
26
+ Classifier: Operating System :: OS Independent
27
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
+ Requires-Python: >=3.10
29
+ Description-Content-Type: text/x-rst
30
+ License-File: LICENSE
31
+ License-File: LICENSE.PSF
32
+ Provides-Extra: docs
33
+ Requires-Dist: Sphinx; extra == "docs"
34
+ Requires-Dist: furo; extra == "docs"
35
+ Provides-Extra: test
36
+ Requires-Dist: objgraph; extra == "test"
37
+ Requires-Dist: psutil; extra == "test"
38
+ Requires-Dist: setuptools; extra == "test"
39
+ Dynamic: license-file
40
+
41
+ .. This file is included into docs/history.rst
42
+
43
+
44
+ Greenlets are lightweight coroutines for in-process concurrent
45
+ programming.
46
+
47
+ The "greenlet" package is a spin-off of `Stackless`_, a version of
48
+ CPython that supports micro-threads called "tasklets". Tasklets run
49
+ pseudo-concurrently (typically in a single or a few OS-level threads)
50
+ and are synchronized with data exchanges on "channels".
51
+
52
+ A "greenlet", on the other hand, is a still more primitive notion of
53
+ micro-thread with no implicit scheduling; coroutines, in other words.
54
+ This is useful when you want to control exactly when your code runs.
55
+ You can build custom scheduled micro-threads on top of greenlet;
56
+ however, it seems that greenlets are useful on their own as a way to
57
+ make advanced control flow structures. For example, we can recreate
58
+ generators; the difference with Python's own generators is that our
59
+ generators can call nested functions and the nested functions can
60
+ yield values too. (Additionally, you don't need a "yield" keyword. See
61
+ the example in `test_generator.py
62
+ <https://github.com/python-greenlet/greenlet/blob/adca19bf1f287b3395896a8f41f3f4fd1797fdc7/src/greenlet/tests/test_generator.py#L1>`_).
63
+
64
+ Greenlets are provided as a C extension module for the regular unmodified
65
+ interpreter.
66
+
67
+ .. _`Stackless`: http://www.stackless.com
68
+
69
+
70
+ Who is using Greenlet?
71
+ ======================
72
+
73
+ There are several libraries that use Greenlet as a more flexible
74
+ alternative to Python's built in coroutine support:
75
+
76
+ - `Concurrence`_
77
+ - `Eventlet`_
78
+ - `Gevent`_
79
+
80
+ .. _Concurrence: http://opensource.hyves.org/concurrence/
81
+ .. _Eventlet: http://eventlet.net/
82
+ .. _Gevent: http://www.gevent.org/
83
+
84
+ Getting Greenlet
85
+ ================
86
+
87
+ The easiest way to get Greenlet is to install it with pip::
88
+
89
+ pip install greenlet
90
+
91
+
92
+ Source code archives and binary distributions are available on the
93
+ python package index at https://pypi.org/project/greenlet
94
+
95
+ The source code repository is hosted on github:
96
+ https://github.com/python-greenlet/greenlet
97
+
98
+ Documentation is available on readthedocs.org:
99
+ https://greenlet.readthedocs.io
.cache/pip/http-v2/0/c/1/9/0/0c1902a50947e5344575b4ef11e0b41b63cc4e3e15eb945e6b0cd91d ADDED
Binary file (1.85 kB). View file
 
.cache/pip/http-v2/0/c/1/9/0/0c1902a50947e5344575b4ef11e0b41b63cc4e3e15eb945e6b0cd91d.body ADDED
Binary file (1.46 kB). View file
 
.cache/pip/http-v2/1/8/4/2/e/1842e6d8465e13ffdec95207c092275f1f7388f218f45f83bda89679 ADDED
Binary file (1.27 kB). View file
 
.cache/pip/http-v2/1/8/4/2/e/1842e6d8465e13ffdec95207c092275f1f7388f218f45f83bda89679.body ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: hf-xet
3
+ Version: 1.5.1
4
+ Classifier: Development Status :: 5 - Production/Stable
5
+ Classifier: License :: OSI Approved :: Apache Software License
6
+ Classifier: Programming Language :: Rust
7
+ Classifier: Programming Language :: Python :: Implementation :: CPython
8
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3 :: Only
11
+ Classifier: Programming Language :: Python :: 3.8
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
18
+ Classifier: Programming Language :: Python :: Free Threading
19
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Requires-Dist: pytest ; extra == 'tests'
22
+ Provides-Extra: tests
23
+ License-File: LICENSE
24
+ Summary: Fast transfer of large files with the Hugging Face Hub.
25
+ Maintainer-email: Rajat Arya <rajat@rajatarya.com>, Jared Sulzdorf <j.sulzdorf@gmail.com>, Di Xiao <di@huggingface.co>, Assaf Vayner <assaf@huggingface.co>, Hoyt Koepke <hoytak@gmail.com>
26
+ License-Expression: Apache-2.0
27
+ Requires-Python: >=3.8
28
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
29
+ Project-URL: Documentation, https://huggingface.co/docs/hub/xet/index
30
+ Project-URL: Homepage, https://github.com/huggingface/xet-core
31
+ Project-URL: Issues, https://github.com/huggingface/xet-core/issues
32
+ Project-URL: Repository, https://github.com/huggingface/xet-core.git
33
+
34
+ <!---
35
+ Copyright 2024 The HuggingFace Team. All rights reserved.
36
+
37
+ Licensed under the Apache License, Version 2.0 (the "License");
38
+ you may not use this file except in compliance with the License.
39
+ You may obtain a copy of the License at
40
+
41
+ http://www.apache.org/licenses/LICENSE-2.0
42
+
43
+ Unless required by applicable law or agreed to in writing, software
44
+ distributed under the License is distributed on an "AS IS" BASIS,
45
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46
+ See the License for the specific language governing permissions and
47
+ limitations under the License.
48
+ -->
49
+ <p align="center">
50
+ <a href="https://github.com/huggingface/xet-core/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/huggingface/xet-core.svg?color=blue"></a>
51
+ <a href="https://github.com/huggingface/xet-core/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/xet-core.svg"></a>
52
+ <a href="https://github.com/huggingface/xet-core/blob/main/CODE_OF_CONDUCT.md"><img alt="Contributor Covenant" src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg"></a>
53
+ </p>
54
+
55
+ <h3 align="center">
56
+ <p>🤗 hf-xet - xet client tech, used in <a target="_blank" href="https://github.com/huggingface/huggingface_hub/">huggingface_hub</a></p>
57
+ </h3>
58
+
59
+ ## Welcome
60
+
61
+ `hf-xet` enables `huggingface_hub` to utilize xet storage for uploading and downloading to HF Hub. Xet storage provides chunk-based deduplication, efficient storage/retrieval with local disk caching, and backwards compatibility with Git LFS. This library is not meant to be used directly, and is instead intended to be used from [huggingface_hub](https://pypi.org/project/huggingface-hub).
62
+
63
+ ## Key features
64
+
65
+ ♻ **chunk-based deduplication implementation**: avoid transferring and storing chunks that are shared across binary files (models, datasets, etc).
66
+
67
+ 🤗 **Python bindings**: bindings for [huggingface_hub](https://github.com/huggingface/huggingface_hub/) package.
68
+
69
+ ↔ **network communications**: concurrent communication to HF Hub Xet backend services (CAS).
70
+
71
+ 🔖 **local disk caching**: chunk-based cache that sits alongside the existing [huggingface_hub disk cache](https://huggingface.co/docs/huggingface_hub/guides/manage-cache).
72
+
73
+ ## Installation
74
+
75
+ Install the `hf_xet` package with [pip](https://pypi.org/project/hf-xet/):
76
+
77
+ ```bash
78
+ pip install hf_xet
79
+ ```
80
+
81
+ ## Quick Start
82
+
83
+ `hf_xet` is not intended to be run independently as it is expected to be used from `huggingface_hub`, so to get started with `huggingface_hub` check out the documentation [here]("https://hf.co/docs/huggingface_hub").
84
+
85
+ ## Contributions (feature requests, bugs, etc.) are encouraged & appreciated 💙💚💛💜🧡❤️
86
+
87
+ Please join us in making hf-xet better. We value everyone's contributions. Code is not the only way to help. Answering questions, helping each other, improving documentation, filing issues all help immensely. If you are interested in contributing (please do!), check out the [contribution guide](https://github.com/huggingface/xet-core/blob/main/CONTRIBUTING.md) for this repository.
.cache/pip/http-v2/1/8/e/c/b/18ecb372789efe49bbe46617b1f5d32a2b0eac245d58cbf930116174 ADDED
Binary file (1.23 kB). View file
 
.cache/pip/http-v2/2/6/9/6/f/2696f961349c363ba6eaa61f1f16df2705938f26ba64023adb039e90 ADDED
Binary file (1.24 kB). View file
 
.cache/pip/http-v2/2/6/9/6/f/2696f961349c363ba6eaa61f1f16df2705938f26ba64023adb039e90.body ADDED
Binary file (78.5 kB). View file
 
.cache/pip/http-v2/2/7/7/6/0/2776091d74378df9859068b389c0d96d3f76c8668c74613451e22e86 ADDED
Binary file (1.2 kB). View file
 
.cache/pip/http-v2/2/9/5/4/2/2954216e93dc816d61408bd6f0b67c741271fd7cfbf7e39bfb692beb ADDED
Binary file (1.24 kB). View file
 
.cache/pip/http-v2/2/9/5/4/2/2954216e93dc816d61408bd6f0b67c741271fd7cfbf7e39bfb692beb.body ADDED
@@ -0,0 +1,581 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: timm
3
+ Version: 1.0.27
4
+ Summary: PyTorch Image Models
5
+ Keywords: pytorch,image-classification
6
+ Author-Email: Ross Wightman <ross@huggingface.co>
7
+ License: Apache-2.0
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Intended Audience :: Education
10
+ Classifier: Intended Audience :: Science/Research
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Topic :: Scientific/Engineering
18
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
19
+ Classifier: Topic :: Software Development
20
+ Classifier: Topic :: Software Development :: Libraries
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Project-URL: homepage, https://github.com/huggingface/pytorch-image-models
23
+ Project-URL: documentation, https://huggingface.co/docs/timm/en/index
24
+ Project-URL: repository, https://github.com/huggingface/pytorch-image-models
25
+ Requires-Python: >=3.8
26
+ Requires-Dist: torch
27
+ Requires-Dist: torchvision
28
+ Requires-Dist: pyyaml
29
+ Requires-Dist: huggingface_hub
30
+ Requires-Dist: safetensors
31
+ Description-Content-Type: text/markdown
32
+
33
+ # PyTorch Image Models
34
+ - [What's New](#whats-new)
35
+ - [Introduction](#introduction)
36
+ - [Models](#models)
37
+ - [Features](#features)
38
+ - [Results](#results)
39
+ - [Getting Started (Documentation)](#getting-started-documentation)
40
+ - [Train, Validation, Inference Scripts](#train-validation-inference-scripts)
41
+ - [Awesome PyTorch Resources](#awesome-pytorch-resources)
42
+ - [Licenses](#licenses)
43
+ - [Citing](#citing)
44
+
45
+ ## What's New
46
+ ## May 8, 2026
47
+ * Release 1.0.27
48
+
49
+ ## April 23, 2026
50
+ * Add Gemma4 ViT encoders w/ NaFlex pipeline support (variable aspect/size per image). Thanks [Yonghye Kwon](https://github.com/developer0hye)
51
+ * Support DINOv3 weights in NaFlexVit. Thanks [Yonghye Kwon](https://github.com/developer0hye)
52
+ * Some improvements to Muon fallback (AdamW/NadamW) lr behavior
53
+
54
+ ## March 23, 2026
55
+ * Improve pickle checkpoint handling security. Default all loading to `weights_only=True`, add safe_global for ArgParse.
56
+ * Improve attention mask handling for core ViT/EVA models & layers. Resolve bool masks, pass `is_causal` through for SSL tasks.
57
+ * Fix class & register token uses with ViT and no pos embed enabled.
58
+ * Add Patch Representation Refinement (PRR) as a pooling option in ViT. Thanks Sina (https://github.com/sinahmr).
59
+ * Improve consistency of output projection / MLP dimensions for attention pooling layers.
60
+ * Hiera model F.SDPA optimization to allow Flash Attention kernel use.
61
+ * Caution added to SGDP optimizer.
62
+ * Release 1.0.26. First maintenance release since my departure from Hugging Face.
63
+
64
+ ## Feb 23, 2026
65
+ * Add token distillation training support to distillation task wrappers
66
+ * Remove some torch.jit usage in prep for official deprecation
67
+ * Caution added to AdamP optimizer
68
+ * Call reset_parameters() even if meta-device init so that buffers get init w/ hacks like init_empty_weights
69
+ * Tweak Muon optimizer to work with DTensor/FSDP2 (clamp_ instead of clamp_min_, alternate NS branch for DTensor)
70
+ * Release 1.0.25
71
+
72
+ ## Jan 21, 2026
73
+ * **Compat Break**: Fix oversight w/ QKV vs MLP bias in `ParallelScalingBlock` (& `DiffParallelScalingBlock`)
74
+ * Does not impact any trained `timm` models but could impact downstream use.
75
+
76
+ ## Jan 5 & 6, 2026
77
+ * Release 1.0.24
78
+ * Add new benchmark result csv files for inference timing on all models w/ RTX Pro 6000, 5090, and 4090 cards w/ PyTorch 2.9.1
79
+ * Fix moved module error in deprecated timm.models.layers import path that impacts legacy imports
80
+ * Release 1.0.23
81
+
82
+ ## Dec 30, 2025
83
+ * Add better NAdaMuon trained `dpwee`, `dwee`, `dlittle` (differential) ViTs with a small boost over previous runs
84
+ * https://huggingface.co/timm/vit_dlittle_patch16_reg1_gap_256.sbb_nadamuon_in1k (83.24% top-1)
85
+ * https://huggingface.co/timm/vit_dwee_patch16_reg1_gap_256.sbb_nadamuon_in1k (81.80% top-1)
86
+ * https://huggingface.co/timm/vit_dpwee_patch16_reg1_gap_256.sbb_nadamuon_in1k (81.67% top-1)
87
+ * Add a ~21M param `timm` variant of the CSATv2 model at 512x512 & 640x640
88
+ * https://huggingface.co/timm/csatv2_21m.sw_r640_in1k (83.13% top-1)
89
+ * https://huggingface.co/timm/csatv2_21m.sw_r512_in1k (82.58% top-1)
90
+ * Factor non-persistent param init out of `__init__` into a common method that can be externally called via `init_non_persistent_buffers()` after meta-device init.
91
+
92
+ ## Dec 12, 2025
93
+ * Add CSATV2 model (thanks https://github.com/gusdlf93) -- a lightweight but high res model with DCT stem & spatial attention. https://huggingface.co/Hyunil/CSATv2
94
+ * Add AdaMuon and NAdaMuon optimizer support to existing `timm` Muon impl. Appears more competitive vs AdamW with familiar hparams for image tasks.
95
+ * End of year PR cleanup, merge aspects of several long open PR
96
+ * Merge differential attention (`DiffAttention`), add corresponding `DiffParallelScalingBlock` (for ViT), train some wee vits
97
+ * https://huggingface.co/timm/vit_dwee_patch16_reg1_gap_256.sbb_in1k
98
+ * https://huggingface.co/timm/vit_dpwee_patch16_reg1_gap_256.sbb_in1k
99
+ * Add a few pooling modules, `LsePlus` and `SimPool`
100
+ * Cleanup, optimize `DropBlock2d` (also add support to ByobNet based models)
101
+ * Bump unit tests to PyTorch 2.9.1 + Python 3.13 on upper end, lower still PyTorch 1.13 + Python 3.10
102
+
103
+ ## Dec 1, 2025
104
+ * Add lightweight task abstraction, add logits and feature distillation support to train script via new tasks.
105
+ * Remove old APEX AMP support
106
+
107
+ ## Nov 4, 2025
108
+ * Fix LayerScale / LayerScale2d init bug (init values ignored), introduced in 1.0.21. Thanks https://github.com/Ilya-Fradlin
109
+ * Release 1.0.22
110
+
111
+ ## Oct 31, 2025 🎃
112
+ * Update imagenet & OOD variant result csv files to include a few new models and verify correctness over several torch & timm versions
113
+ * EfficientNet-X and EfficientNet-H B5 model weights added as part of a hparam search for AdamW vs Muon (still iterating on Muon runs)
114
+
115
+ ## Oct 16-20, 2025
116
+ * Add an impl of the Muon optimizer (based on https://github.com/KellerJordan/Muon) with customizations
117
+ * extra flexibility and improved handling for conv weights and fallbacks for weight shapes not suited for orthogonalization
118
+ * small speedup for NS iterations by reducing allocs and using fused (b)add(b)mm ops
119
+ * by default uses AdamW (or NAdamW if `nesterov=True`) updates if muon not suitable for parameter shape (or excluded via param group flag)
120
+ * like torch impl, select from several LR scale adjustment fns via `adjust_lr_fn`
121
+ * select from several NS coefficient presets or specify your own via `ns_coefficients`
122
+ * First 2 steps of 'meta' device model initialization supported
123
+ * Fix several ops that were breaking creation under 'meta' device context
124
+ * Add device & dtype factory kwarg support to all models and modules (anything inherting from nn.Module) in `timm`
125
+ * License fields added to pretrained cfgs in code
126
+ * Release 1.0.21
127
+
128
+ ## Sept 21, 2025
129
+ * Remap DINOv3 ViT weight tags from `lvd_1689m` -> `lvd1689m` to match (same for `sat_493m` -> `sat493m`)
130
+ * Release 1.0.20
131
+
132
+ ## Sept 17, 2025
133
+ * DINOv3 (https://arxiv.org/abs/2508.10104) ConvNeXt and ViT models added. ConvNeXt models were mapped to existing `timm` model. ViT support done via the EVA base model w/ a new `RotaryEmbeddingDinoV3` to match the DINOv3 specific RoPE impl
134
+ * HuggingFace Hub: https://huggingface.co/collections/timm/timm-dinov3-68cb08bb0bee365973d52a4d
135
+ * MobileCLIP-2 (https://arxiv.org/abs/2508.20691) vision encoders. New MCI3/MCI4 FastViT variants added and weights mapped to existing FastViT and B, L/14 ViTs.
136
+ * MetaCLIP-2 Worldwide (https://arxiv.org/abs/2507.22062) ViT encoder weights added.
137
+ * SigLIP-2 (https://arxiv.org/abs/2502.14786) NaFlex ViT encoder weights added via timm NaFlexViT model.
138
+ * Misc fixes and contributions
139
+
140
+ ## July 23, 2025
141
+ * Add `set_input_size()` method to EVA models, used by OpenCLIP 3.0.0 to allow resizing for timm based encoder models.
142
+ * Release 1.0.18, needed for PE-Core S & T models in OpenCLIP 3.0.0
143
+ * Fix small typing issue that broke Python 3.9 compat. 1.0.19 patch release.
144
+
145
+ ## July 21, 2025
146
+ * ROPE support added to NaFlexViT. All models covered by the EVA base (`eva.py`) including EVA, EVA02, Meta PE ViT, `timm` SBB ViT w/ ROPE, and Naver ROPE-ViT can be now loaded in NaFlexViT when `use_naflex=True` passed at model creation time
147
+ * More Meta PE ViT encoders added, including small/tiny variants, lang variants w/ tiling, and more spatial variants.
148
+ * PatchDropout fixed with NaFlexViT and also w/ EVA models (regression after adding Naver ROPE-ViT)
149
+ * Fix XY order with grid_indexing='xy', impacted non-square image use in 'xy' mode (only ROPE-ViT and PE impacted).
150
+
151
+ ## July 7, 2025
152
+ * MobileNet-v5 backbone tweaks for improved Google Gemma 3n behaviour (to pair with updated official weights)
153
+ * Add stem bias (zero'd in updated weights, compat break with old weights)
154
+ * GELU -> GELU (tanh approx). A minor change to be closer to JAX
155
+ * Add two arguments to layer-decay support, a min scale clamp and 'no optimization' scale threshold
156
+ * Add 'Fp32' LayerNorm, RMSNorm, SimpleNorm variants that can be enabled to force computation of norm in float32
157
+ * Some typing, argument cleanup for norm, norm+act layers done with above
158
+ * Support Naver ROPE-ViT (https://github.com/naver-ai/rope-vit) in `eva.py`, add RotaryEmbeddingMixed module for mixed mode, weights on HuggingFace Hub
159
+
160
+ |model |img_size|top1 |top5 |param_count|
161
+ |--------------------------------------------------|--------|------|------|-----------|
162
+ |vit_large_patch16_rope_mixed_ape_224.naver_in1k |224 |84.84 |97.122|304.4 |
163
+ |vit_large_patch16_rope_mixed_224.naver_in1k |224 |84.828|97.116|304.2 |
164
+ |vit_large_patch16_rope_ape_224.naver_in1k |224 |84.65 |97.154|304.37 |
165
+ |vit_large_patch16_rope_224.naver_in1k |224 |84.648|97.122|304.17 |
166
+ |vit_base_patch16_rope_mixed_ape_224.naver_in1k |224 |83.894|96.754|86.59 |
167
+ |vit_base_patch16_rope_mixed_224.naver_in1k |224 |83.804|96.712|86.44 |
168
+ |vit_base_patch16_rope_ape_224.naver_in1k |224 |83.782|96.61 |86.59 |
169
+ |vit_base_patch16_rope_224.naver_in1k |224 |83.718|96.672|86.43 |
170
+ |vit_small_patch16_rope_224.naver_in1k |224 |81.23 |95.022|21.98 |
171
+ |vit_small_patch16_rope_mixed_224.naver_in1k |224 |81.216|95.022|21.99 |
172
+ |vit_small_patch16_rope_ape_224.naver_in1k |224 |81.004|95.016|22.06 |
173
+ |vit_small_patch16_rope_mixed_ape_224.naver_in1k |224 |80.986|94.976|22.06 |
174
+ * Some cleanup of ROPE modules, helpers, and FX tracing leaf registration
175
+ * Preparing version 1.0.17 release
176
+
177
+ ## June 26, 2025
178
+ * MobileNetV5 backbone (w/ encoder only variant) for [Gemma 3n](https://ai.google.dev/gemma/docs/gemma-3n#parameters) image encoder
179
+ * Version 1.0.16 released
180
+
181
+ ## June 23, 2025
182
+ * Add F.grid_sample based 2D and factorized pos embed resize to NaFlexViT. Faster when lots of different sizes (based on example by https://github.com/stas-sl).
183
+ * Further speed up patch embed resample by replacing vmap with matmul (based on snippet by https://github.com/stas-sl).
184
+ * Add 3 initial native aspect NaFlexViT checkpoints created while testing, ImageNet-1k and 3 different pos embed configs w/ same hparams.
185
+
186
+ | Model | Top-1 Acc | Top-5 Acc | Params (M) | Eval Seq Len |
187
+ |:---|:---:|:---:|:---:|:---:|
188
+ | [naflexvit_base_patch16_par_gap.e300_s576_in1k](https://hf.co/timm/naflexvit_base_patch16_par_gap.e300_s576_in1k) | 83.67 | 96.45 | 86.63 | 576 |
189
+ | [naflexvit_base_patch16_parfac_gap.e300_s576_in1k](https://hf.co/timm/naflexvit_base_patch16_parfac_gap.e300_s576_in1k) | 83.63 | 96.41 | 86.46 | 576 |
190
+ | [naflexvit_base_patch16_gap.e300_s576_in1k](https://hf.co/timm/naflexvit_base_patch16_gap.e300_s576_in1k) | 83.50 | 96.46 | 86.63 | 576 |
191
+ * Support gradient checkpointing for `forward_intermediates` and fix some checkpointing bugs. Thanks https://github.com/brianhou0208
192
+ * Add 'corrected weight decay' (https://arxiv.org/abs/2506.02285) as option to AdamW (legacy), Adopt, Kron, Adafactor (BV), Lamb, LaProp, Lion, NadamW, RmsPropTF, SGDW optimizers
193
+ * Switch PE (perception encoder) ViT models to use native timm weights instead of remapping on the fly
194
+ * Fix cuda stream bug in prefetch loader
195
+
196
+ ## June 5, 2025
197
+ * Initial NaFlexVit model code. NaFlexVit is a Vision Transformer with:
198
+ 1. Encapsulated embedding and position encoding in a single module
199
+ 2. Support for nn.Linear patch embedding on pre-patchified (dictionary) inputs
200
+ 3. Support for NaFlex variable aspect, variable resolution (SigLip-2: https://arxiv.org/abs/2502.14786)
201
+ 4. Support for FlexiViT variable patch size (https://arxiv.org/abs/2212.08013)
202
+ 5. Support for NaViT fractional/factorized position embedding (https://arxiv.org/abs/2307.06304)
203
+ * Existing vit models in `vision_transformer.py` can be loaded into the NaFlexVit model by adding the `use_naflex=True` flag to `create_model`
204
+ * Some native weights coming soon
205
+ * A full NaFlex data pipeline is available that allows training / fine-tuning / evaluating with variable aspect / size images
206
+ * To enable in `train.py` and `validate.py` add the `--naflex-loader` arg, must be used with a NaFlexVit
207
+ * To evaluate an existing (classic) ViT loaded in NaFlexVit model w/ NaFlex data pipe:
208
+ * `python validate.py /imagenet --amp -j 8 --model vit_base_patch16_224 --model-kwargs use_naflex=True --naflex-loader --naflex-max-seq-len 256`
209
+ * The training has some extra args features worth noting
210
+ * The `--naflex-train-seq-lens'` argument specifies which sequence lengths to randomly pick from per batch during training
211
+ * The `--naflex-max-seq-len` argument sets the target sequence length for validation
212
+ * Adding `--model-kwargs enable_patch_interpolator=True --naflex-patch-sizes 12 16 24` will enable random patch size selection per-batch w/ interpolation
213
+ * The `--naflex-loss-scale` arg changes loss scaling mode per batch relative to the batch size, `timm` NaFlex loading changes the batch size for each seq len
214
+
215
+ ## May 28, 2025
216
+ * Add a number of small/fast models thanks to https://github.com/brianhou0208
217
+ * SwiftFormer - [(ICCV2023) SwiftFormer: Efficient Additive Attention for Transformer-based Real-time Mobile Vision Applications](https://github.com/Amshaker/SwiftFormer)
218
+ * FasterNet - [(CVPR2023) Run, Don’t Walk: Chasing Higher FLOPS for Faster Neural Networks](https://github.com/JierunChen/FasterNet)
219
+ * SHViT - [(CVPR2024) SHViT: Single-Head Vision Transformer with Memory Efficient](https://github.com/ysj9909/SHViT)
220
+ * StarNet - [(CVPR2024) Rewrite the Stars](https://github.com/ma-xu/Rewrite-the-Stars)
221
+ * GhostNet-V3 [GhostNetV3: Exploring the Training Strategies for Compact Models](https://github.com/huawei-noah/Efficient-AI-Backbones/tree/master/ghostnetv3_pytorch)
222
+ * Update EVA ViT (closest match) to support Perception Encoder models (https://arxiv.org/abs/2504.13181) from Meta, loading Hub weights but I still need to push dedicated `timm` weights
223
+ * Add some flexibility to ROPE impl
224
+ * Big increase in number of models supporting `forward_intermediates()` and some additional fixes thanks to https://github.com/brianhou0208
225
+ * DaViT, EdgeNeXt, EfficientFormerV2, EfficientViT(MIT), EfficientViT(MSRA), FocalNet, GCViT, HGNet /V2, InceptionNeXt, Inception-V4, MambaOut, MetaFormer, NesT, Next-ViT, PiT, PVT V2, RepGhostNet, RepViT, ResNetV2, ReXNet, TinyViT, TResNet, VoV
226
+ * TNT model updated w/ new weights `forward_intermediates()` thanks to https://github.com/brianhou0208
227
+ * Add `local-dir:` pretrained schema, can use `local-dir:/path/to/model/folder` for model name to source model / pretrained cfg & weights Hugging Face Hub models (config.json + weights file) from a local folder.
228
+ * Fixes, improvements for onnx export
229
+
230
+ ## Feb 21, 2025
231
+ * SigLIP 2 ViT image encoders added (https://huggingface.co/collections/timm/siglip-2-67b8e72ba08b09dd97aecaf9)
232
+ * Variable resolution / aspect NaFlex versions are a WIP
233
+ * Add 'SO150M2' ViT weights trained with SBB recipes, great results, better for ImageNet than previous attempt w/ less training.
234
+ * `vit_so150m2_patch16_reg1_gap_448.sbb_e200_in12k_ft_in1k` - 88.1% top-1
235
+ * `vit_so150m2_patch16_reg1_gap_384.sbb_e200_in12k_ft_in1k` - 87.9% top-1
236
+ * `vit_so150m2_patch16_reg1_gap_256.sbb_e200_in12k_ft_in1k` - 87.3% top-1
237
+ * `vit_so150m2_patch16_reg4_gap_256.sbb_e200_in12k`
238
+ * Updated InternViT-300M '2.5' weights
239
+ * Release 1.0.15
240
+
241
+ ## Feb 1, 2025
242
+ * FYI PyTorch 2.6 & Python 3.13 are tested and working w/ current main and released version of `timm`
243
+
244
+ ## Jan 27, 2025
245
+ * Add Kron Optimizer (PSGD w/ Kronecker-factored preconditioner)
246
+ * Code from https://github.com/evanatyourservice/kron_torch
247
+ * See also https://sites.google.com/site/lixilinx/home/psgd
248
+
249
+ ## Jan 19, 2025
250
+ * Fix loading of LeViT safetensor weights, remove conversion code which should have been deactivated
251
+ * Add 'SO150M' ViT weights trained with SBB recipes, decent results, but not optimal shape for ImageNet-12k/1k pretrain/ft
252
+ * `vit_so150m_patch16_reg4_gap_256.sbb_e250_in12k_ft_in1k` - 86.7% top-1
253
+ * `vit_so150m_patch16_reg4_gap_384.sbb_e250_in12k_ft_in1k` - 87.4% top-1
254
+ * `vit_so150m_patch16_reg4_gap_256.sbb_e250_in12k`
255
+ * Misc typing, typo, etc. cleanup
256
+ * 1.0.14 release to get above LeViT fix out
257
+
258
+ ## Jan 9, 2025
259
+ * Add support to train and validate in pure `bfloat16` or `float16`
260
+ * `wandb` project name arg added by https://github.com/caojiaolong, use arg.experiment for name
261
+ * Fix old issue w/ checkpoint saving not working on filesystem w/o hard-link support (e.g. FUSE fs mounts)
262
+ * 1.0.13 release
263
+
264
+ ## Jan 6, 2025
265
+ * Add `torch.utils.checkpoint.checkpoint()` wrapper in `timm.models` that defaults `use_reentrant=False`, unless `TIMM_REENTRANT_CKPT=1` is set in env.
266
+
267
+ ## Dec 31, 2024
268
+ * `convnext_nano` 384x384 ImageNet-12k pretrain & fine-tune. https://huggingface.co/models?search=convnext_nano%20r384
269
+ * Add AIM-v2 encoders from https://github.com/apple/ml-aim, see on Hub: https://huggingface.co/models?search=timm%20aimv2
270
+ * Add PaliGemma2 encoders from https://github.com/google-research/big_vision to existing PaliGemma, see on Hub: https://huggingface.co/models?search=timm%20pali2
271
+ * Add missing L/14 DFN2B 39B CLIP ViT, `vit_large_patch14_clip_224.dfn2b_s39b`
272
+ * Fix existing `RmsNorm` layer & fn to match standard formulation, use PT 2.5 impl when possible. Move old impl to `SimpleNorm` layer, it's LN w/o centering or bias. There were only two `timm` models using it, and they have been updated.
273
+ * Allow override of `cache_dir` arg for model creation
274
+ * Pass through `trust_remote_code` for HF datasets wrapper
275
+ * `inception_next_atto` model added by creator
276
+ * Adan optimizer caution, and Lamb decoupled weight decay options
277
+ * Some feature_info metadata fixed by https://github.com/brianhou0208
278
+ * All OpenCLIP and JAX (CLIP, SigLIP, Pali, etc) model weights that used load time remapping were given their own HF Hub instances so that they work with `hf-hub:` based loading, and thus will work with new Transformers `TimmWrapperModel`
279
+
280
+ ## Introduction
281
+
282
+ Py**T**orch **Im**age **M**odels (`timm`) is a collection of image models, layers, utilities, optimizers, schedulers, data-loaders / augmentations, and reference training / validation scripts that aim to pull together a wide variety of SOTA models with ability to reproduce ImageNet training results.
283
+
284
+ The work of many others is present here. I've tried to make sure all source material is acknowledged via links to github, arxiv papers, etc in the README, documentation, and code docstrings. Please let me know if I missed anything.
285
+
286
+ ## Features
287
+
288
+ ### Models
289
+
290
+ All model architecture families include variants with pretrained weights. There are specific model variants without any weights, it is NOT a bug. Help training new or better weights is always appreciated.
291
+
292
+ * Aggregating Nested Transformers - https://arxiv.org/abs/2105.12723
293
+ * BEiT - https://arxiv.org/abs/2106.08254
294
+ * BEiT-V2 - https://arxiv.org/abs/2208.06366
295
+ * BEiT3 - https://arxiv.org/abs/2208.10442
296
+ * Big Transfer ResNetV2 (BiT) - https://arxiv.org/abs/1912.11370
297
+ * Bottleneck Transformers - https://arxiv.org/abs/2101.11605
298
+ * CaiT (Class-Attention in Image Transformers) - https://arxiv.org/abs/2103.17239
299
+ * CoaT (Co-Scale Conv-Attentional Image Transformers) - https://arxiv.org/abs/2104.06399
300
+ * CoAtNet (Convolution and Attention) - https://arxiv.org/abs/2106.04803
301
+ * ConvNeXt - https://arxiv.org/abs/2201.03545
302
+ * ConvNeXt-V2 - http://arxiv.org/abs/2301.00808
303
+ * ConViT (Soft Convolutional Inductive Biases Vision Transformers)- https://arxiv.org/abs/2103.10697
304
+ * CspNet (Cross-Stage Partial Networks) - https://arxiv.org/abs/1911.11929
305
+ * DeiT - https://arxiv.org/abs/2012.12877
306
+ * DeiT-III - https://arxiv.org/pdf/2204.07118.pdf
307
+ * DenseNet - https://arxiv.org/abs/1608.06993
308
+ * DLA - https://arxiv.org/abs/1707.06484
309
+ * DPN (Dual-Path Network) - https://arxiv.org/abs/1707.01629
310
+ * EdgeNeXt - https://arxiv.org/abs/2206.10589
311
+ * EfficientFormer - https://arxiv.org/abs/2206.01191
312
+ * EfficientFormer-V2 - https://arxiv.org/abs/2212.08059
313
+ * EfficientNet (MBConvNet Family)
314
+ * EfficientNet NoisyStudent (B0-B7, L2) - https://arxiv.org/abs/1911.04252
315
+ * EfficientNet AdvProp (B0-B8) - https://arxiv.org/abs/1911.09665
316
+ * EfficientNet (B0-B7) - https://arxiv.org/abs/1905.11946
317
+ * EfficientNet-EdgeTPU (S, M, L) - https://ai.googleblog.com/2019/08/efficientnet-edgetpu-creating.html
318
+ * EfficientNet V2 - https://arxiv.org/abs/2104.00298
319
+ * FBNet-C - https://arxiv.org/abs/1812.03443
320
+ * MixNet - https://arxiv.org/abs/1907.09595
321
+ * MNASNet B1, A1 (Squeeze-Excite), and Small - https://arxiv.org/abs/1807.11626
322
+ * MobileNet-V2 - https://arxiv.org/abs/1801.04381
323
+ * Single-Path NAS - https://arxiv.org/abs/1904.02877
324
+ * TinyNet - https://arxiv.org/abs/2010.14819
325
+ * EfficientViT (MIT) - https://arxiv.org/abs/2205.14756
326
+ * EfficientViT (MSRA) - https://arxiv.org/abs/2305.07027
327
+ * EVA - https://arxiv.org/abs/2211.07636
328
+ * EVA-02 - https://arxiv.org/abs/2303.11331
329
+ * FasterNet - https://arxiv.org/abs/2303.03667
330
+ * FastViT - https://arxiv.org/abs/2303.14189
331
+ * FlexiViT - https://arxiv.org/abs/2212.08013
332
+ * FocalNet (Focal Modulation Networks) - https://arxiv.org/abs/2203.11926
333
+ * GCViT (Global Context Vision Transformer) - https://arxiv.org/abs/2206.09959
334
+ * GhostNet - https://arxiv.org/abs/1911.11907
335
+ * GhostNet-V2 - https://arxiv.org/abs/2211.12905
336
+ * GhostNet-V3 - https://arxiv.org/abs/2404.11202
337
+ * gMLP - https://arxiv.org/abs/2105.08050
338
+ * GPU-Efficient Networks - https://arxiv.org/abs/2006.14090
339
+ * Halo Nets - https://arxiv.org/abs/2103.12731
340
+ * HGNet / HGNet-V2 - TBD
341
+ * HRNet - https://arxiv.org/abs/1908.07919
342
+ * InceptionNeXt - https://arxiv.org/abs/2303.16900
343
+ * Inception-V3 - https://arxiv.org/abs/1512.00567
344
+ * Inception-ResNet-V2 and Inception-V4 - https://arxiv.org/abs/1602.07261
345
+ * Lambda Networks - https://arxiv.org/abs/2102.08602
346
+ * LeViT (Vision Transformer in ConvNet's Clothing) - https://arxiv.org/abs/2104.01136
347
+ * MambaOut - https://arxiv.org/abs/2405.07992
348
+ * MaxViT (Multi-Axis Vision Transformer) - https://arxiv.org/abs/2204.01697
349
+ * MetaFormer (PoolFormer-v2, ConvFormer, CAFormer) - https://arxiv.org/abs/2210.13452
350
+ * MLP-Mixer - https://arxiv.org/abs/2105.01601
351
+ * MobileCLIP - https://arxiv.org/abs/2311.17049
352
+ * MobileNet-V3 (MBConvNet w/ Efficient Head) - https://arxiv.org/abs/1905.02244
353
+ * FBNet-V3 - https://arxiv.org/abs/2006.02049
354
+ * HardCoRe-NAS - https://arxiv.org/abs/2102.11646
355
+ * LCNet - https://arxiv.org/abs/2109.15099
356
+ * MobileNetV4 - https://arxiv.org/abs/2404.10518
357
+ * MobileOne - https://arxiv.org/abs/2206.04040
358
+ * MobileViT - https://arxiv.org/abs/2110.02178
359
+ * MobileViT-V2 - https://arxiv.org/abs/2206.02680
360
+ * MViT-V2 (Improved Multiscale Vision Transformer) - https://arxiv.org/abs/2112.01526
361
+ * NASNet-A - https://arxiv.org/abs/1707.07012
362
+ * NesT - https://arxiv.org/abs/2105.12723
363
+ * Next-ViT - https://arxiv.org/abs/2207.05501
364
+ * NFNet-F - https://arxiv.org/abs/2102.06171
365
+ * NF-RegNet / NF-ResNet - https://arxiv.org/abs/2101.08692
366
+ * PE (Perception Encoder) - https://arxiv.org/abs/2504.13181
367
+ * PNasNet - https://arxiv.org/abs/1712.00559
368
+ * PoolFormer (MetaFormer) - https://arxiv.org/abs/2111.11418
369
+ * Pooling-based Vision Transformer (PiT) - https://arxiv.org/abs/2103.16302
370
+ * PVT-V2 (Improved Pyramid Vision Transformer) - https://arxiv.org/abs/2106.13797
371
+ * RDNet (DenseNets Reloaded) - https://arxiv.org/abs/2403.19588
372
+ * RegNet - https://arxiv.org/abs/2003.13678
373
+ * RegNetZ - https://arxiv.org/abs/2103.06877
374
+ * RepVGG - https://arxiv.org/abs/2101.03697
375
+ * RepGhostNet - https://arxiv.org/abs/2211.06088
376
+ * RepViT - https://arxiv.org/abs/2307.09283
377
+ * ResMLP - https://arxiv.org/abs/2105.03404
378
+ * ResNet/ResNeXt
379
+ * ResNet (v1b/v1.5) - https://arxiv.org/abs/1512.03385
380
+ * ResNeXt - https://arxiv.org/abs/1611.05431
381
+ * 'Bag of Tricks' / Gluon C, D, E, S variations - https://arxiv.org/abs/1812.01187
382
+ * Weakly-supervised (WSL) Instagram pretrained / ImageNet tuned ResNeXt101 - https://arxiv.org/abs/1805.00932
383
+ * Semi-supervised (SSL) / Semi-weakly Supervised (SWSL) ResNet/ResNeXts - https://arxiv.org/abs/1905.00546
384
+ * ECA-Net (ECAResNet) - https://arxiv.org/abs/1910.03151v4
385
+ * Squeeze-and-Excitation Networks (SEResNet) - https://arxiv.org/abs/1709.01507
386
+ * ResNet-RS - https://arxiv.org/abs/2103.07579
387
+ * Res2Net - https://arxiv.org/abs/1904.01169
388
+ * ResNeSt - https://arxiv.org/abs/2004.08955
389
+ * ReXNet - https://arxiv.org/abs/2007.00992
390
+ * ROPE-ViT - https://arxiv.org/abs/2403.13298
391
+ * SelecSLS - https://arxiv.org/abs/1907.00837
392
+ * Selective Kernel Networks - https://arxiv.org/abs/1903.06586
393
+ * Sequencer2D - https://arxiv.org/abs/2205.01972
394
+ * SHViT - https://arxiv.org/abs/2401.16456
395
+ * SigLIP (image encoder) - https://arxiv.org/abs/2303.15343
396
+ * SigLIP 2 (image encoder) - https://arxiv.org/abs/2502.14786
397
+ * StarNet - https://arxiv.org/abs/2403.19967
398
+ * SwiftFormer - https://arxiv.org/pdf/2303.15446
399
+ * Swin S3 (AutoFormerV2) - https://arxiv.org/abs/2111.14725
400
+ * Swin Transformer - https://arxiv.org/abs/2103.14030
401
+ * Swin Transformer V2 - https://arxiv.org/abs/2111.09883
402
+ * TinyViT - https://arxiv.org/abs/2207.10666
403
+ * Transformer-iN-Transformer (TNT) - https://arxiv.org/abs/2103.00112
404
+ * TResNet - https://arxiv.org/abs/2003.13630
405
+ * Twins (Spatial Attention in Vision Transformers) - https://arxiv.org/pdf/2104.13840.pdf
406
+ * VGG - https://arxiv.org/abs/1409.1556
407
+ * Visformer - https://arxiv.org/abs/2104.12533
408
+ * Vision Transformer - https://arxiv.org/abs/2010.11929
409
+ * ViTamin - https://arxiv.org/abs/2404.02132
410
+ * VOLO (Vision Outlooker) - https://arxiv.org/abs/2106.13112
411
+ * VovNet V2 and V1 - https://arxiv.org/abs/1911.06667
412
+ * Xception - https://arxiv.org/abs/1610.02357
413
+ * Xception (Modified Aligned, Gluon) - https://arxiv.org/abs/1802.02611
414
+ * Xception (Modified Aligned, TF) - https://arxiv.org/abs/1802.02611
415
+ * XCiT (Cross-Covariance Image Transformers) - https://arxiv.org/abs/2106.09681
416
+
417
+ ### Optimizers
418
+ To see full list of optimizers w/ descriptions: `timm.optim.list_optimizers(with_description=True)`
419
+
420
+ Included optimizers available via `timm.optim.create_optimizer_v2` factory method:
421
+ * `adabelief` an implementation of AdaBelief adapted from https://github.com/juntang-zhuang/Adabelief-Optimizer - https://arxiv.org/abs/2010.07468
422
+ * `adafactor` adapted from [FAIRSeq impl](https://github.com/pytorch/fairseq/blob/master/fairseq/optim/adafactor.py) - https://arxiv.org/abs/1804.04235
423
+ * `adafactorbv` adapted from [Big Vision](https://github.com/google-research/big_vision/blob/main/big_vision/optax.py) - https://arxiv.org/abs/2106.04560
424
+ * `adahessian` by [David Samuel](https://github.com/davda54/ada-hessian) - https://arxiv.org/abs/2006.00719
425
+ * `adamp` and `sgdp` by [Naver ClovAI](https://github.com/clovaai) - https://arxiv.org/abs/2006.08217
426
+ * `adamuon` and `nadamuon` as per https://github.com/Chongjie-Si/AdaMuon - https://arxiv.org/abs/2507.11005
427
+ * `adan` an implementation of Adan adapted from https://github.com/sail-sg/Adan - https://arxiv.org/abs/2208.06677
428
+ * `adopt` ADOPT adapted from https://github.com/iShohei220/adopt - https://arxiv.org/abs/2411.02853
429
+ * `kron` PSGD w/ Kronecker-factored preconditioner from https://github.com/evanatyourservice/kron_torch - https://sites.google.com/site/lixilinx/home/psgd
430
+ * `lamb` an implementation of Lamb and LambC (w/ trust-clipping) cleaned up and modified to support use with XLA - https://arxiv.org/abs/1904.00962
431
+ * `laprop` optimizer from https://github.com/Z-T-WANG/LaProp-Optimizer - https://arxiv.org/abs/2002.04839
432
+ * `lars` an implementation of LARS and LARC (w/ trust-clipping) - https://arxiv.org/abs/1708.03888
433
+ * `lion` and implementation of Lion adapted from https://github.com/google/automl/tree/master/lion - https://arxiv.org/abs/2302.06675
434
+ * `lookahead` adapted from impl by [Liam](https://github.com/alphadl/lookahead.pytorch) - https://arxiv.org/abs/1907.08610
435
+ * `madgrad` an implementation of MADGRAD adapted from https://github.com/facebookresearch/madgrad - https://arxiv.org/abs/2101.11075
436
+ * `mars` MARS optimizer from https://github.com/AGI-Arena/MARS - https://arxiv.org/abs/2411.10438
437
+ * `muon` MUON optimizer from https://github.com/KellerJordan/Muon with numerous additions and improved non-transformer behaviour
438
+ * `nadam` an implementation of Adam w/ Nesterov momentum
439
+ * `nadamw` an implementation of AdamW (Adam w/ decoupled weight-decay) w/ Nesterov momentum. A simplified impl based on https://github.com/mlcommons/algorithmic-efficiency
440
+ * `novograd` by [Masashi Kimura](https://github.com/convergence-lab/novograd) - https://arxiv.org/abs/1905.11286
441
+ * `radam` by [Liyuan Liu](https://github.com/LiyuanLucasLiu/RAdam) - https://arxiv.org/abs/1908.03265
442
+ * `rmsprop_tf` adapted from PyTorch RMSProp by myself. Reproduces much improved Tensorflow RMSProp behaviour
443
+ * `sgdw` and implementation of SGD w/ decoupled weight-decay
444
+ * `fused<name>` optimizers by name with [NVIDIA Apex](https://github.com/NVIDIA/apex/tree/master/apex/optimizers) installed
445
+ * `bnb<name>` optimizers by name with [BitsAndBytes](https://github.com/TimDettmers/bitsandbytes) installed
446
+ * `cadamw`, `clion`, and more 'Cautious' optimizers from https://github.com/kyleliang919/C-Optim - https://arxiv.org/abs/2411.16085
447
+ * `adam`, `adamw`, `rmsprop`, `adadelta`, `adagrad`, and `sgd` pass through to `torch.optim` implementations
448
+ * `c` suffix (eg `adamc`, `nadamc` to implement 'corrected weight decay' in https://arxiv.org/abs/2506.02285)
449
+
450
+ ### Augmentations
451
+ * Random Erasing from [Zhun Zhong](https://github.com/zhunzhong07/Random-Erasing/blob/master/transforms.py) - https://arxiv.org/abs/1708.04896)
452
+ * Mixup - https://arxiv.org/abs/1710.09412
453
+ * CutMix - https://arxiv.org/abs/1905.04899
454
+ * AutoAugment (https://arxiv.org/abs/1805.09501) and RandAugment (https://arxiv.org/abs/1909.13719) ImageNet configurations modeled after impl for EfficientNet training (https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/autoaugment.py)
455
+ * AugMix w/ JSD loss, JSD w/ clean + augmented mixing support works with AutoAugment and RandAugment as well - https://arxiv.org/abs/1912.02781
456
+ * SplitBachNorm - allows splitting batch norm layers between clean and augmented (auxiliary batch norm) data
457
+
458
+ ### Regularization
459
+ * DropPath aka "Stochastic Depth" - https://arxiv.org/abs/1603.09382
460
+ * DropBlock - https://arxiv.org/abs/1810.12890
461
+ * Blur Pooling - https://arxiv.org/abs/1904.11486
462
+
463
+ ### Other
464
+
465
+ Several (less common) features that I often utilize in my projects are included. Many of their additions are the reason why I maintain my own set of models, instead of using others' via PIP:
466
+
467
+ * All models have a common default configuration interface and API for
468
+ * accessing/changing the classifier - `get_classifier` and `reset_classifier`
469
+ * doing a forward pass on just the features - `forward_features` (see [documentation](https://huggingface.co/docs/timm/feature_extraction))
470
+ * these makes it easy to write consistent network wrappers that work with any of the models
471
+ * All models support multi-scale feature map extraction (feature pyramids) via create_model (see [documentation](https://huggingface.co/docs/timm/feature_extraction))
472
+ * `create_model(name, features_only=True, out_indices=..., output_stride=...)`
473
+ * `out_indices` creation arg specifies which feature maps to return, these indices are 0 based and generally correspond to the `C(i + 1)` feature level.
474
+ * `output_stride` creation arg controls output stride of the network by using dilated convolutions. Most networks are stride 32 by default. Not all networks support this.
475
+ * feature map channel counts, reduction level (stride) can be queried AFTER model creation via the `.feature_info` member
476
+ * All models have a consistent pretrained weight loader that adapts last linear if necessary, and from 3 to 1 channel input if desired
477
+ * High performance [reference training, validation, and inference scripts](https://huggingface.co/docs/timm/training_script) that work in several process/GPU modes:
478
+ * NVIDIA DDP w/ a single GPU per process, multiple processes with APEX present (AMP mixed-precision optional)
479
+ * PyTorch DistributedDataParallel w/ multi-gpu, single process (AMP disabled as it crashes when enabled)
480
+ * PyTorch w/ single GPU single process (AMP optional)
481
+ * A dynamic global pool implementation that allows selecting from average pooling, max pooling, average + max, or concat([average, max]) at model creation. All global pooling is adaptive average by default and compatible with pretrained weights.
482
+ * A 'Test Time Pool' wrapper that can wrap any of the included models and usually provides improved performance doing inference with input images larger than the training size. Idea adapted from original DPN implementation when I ported (https://github.com/cypw/DPNs)
483
+ * Learning rate schedulers
484
+ * Ideas adopted from
485
+ * [AllenNLP schedulers](https://github.com/allenai/allennlp/tree/master/allennlp/training/learning_rate_schedulers)
486
+ * [FAIRseq lr_scheduler](https://github.com/pytorch/fairseq/tree/master/fairseq/optim/lr_scheduler)
487
+ * SGDR: Stochastic Gradient Descent with Warm Restarts (https://arxiv.org/abs/1608.03983)
488
+ * Schedulers include `step`, `cosine` w/ restarts, `tanh` w/ restarts, `plateau`
489
+ * Space-to-Depth by [mrT23](https://github.com/mrT23/TResNet/blob/master/src/models/tresnet/layers/space_to_depth.py) (https://arxiv.org/abs/1801.04590)
490
+ * Adaptive Gradient Clipping (https://arxiv.org/abs/2102.06171, https://github.com/deepmind/deepmind-research/tree/master/nfnets)
491
+ * An extensive selection of channel and/or spatial attention modules:
492
+ * Bottleneck Transformer - https://arxiv.org/abs/2101.11605
493
+ * CBAM - https://arxiv.org/abs/1807.06521
494
+ * Effective Squeeze-Excitation (ESE) - https://arxiv.org/abs/1911.06667
495
+ * Efficient Channel Attention (ECA) - https://arxiv.org/abs/1910.03151
496
+ * Gather-Excite (GE) - https://arxiv.org/abs/1810.12348
497
+ * Global Context (GC) - https://arxiv.org/abs/1904.11492
498
+ * Halo - https://arxiv.org/abs/2103.12731
499
+ * Involution - https://arxiv.org/abs/2103.06255
500
+ * Lambda Layer - https://arxiv.org/abs/2102.08602
501
+ * Non-Local (NL) - https://arxiv.org/abs/1711.07971
502
+ * Squeeze-and-Excitation (SE) - https://arxiv.org/abs/1709.01507
503
+ * Selective Kernel (SK) - (https://arxiv.org/abs/1903.06586
504
+ * Split (SPLAT) - https://arxiv.org/abs/2004.08955
505
+ * Shifted Window (SWIN) - https://arxiv.org/abs/2103.14030
506
+
507
+ ## Results
508
+
509
+ Model validation results can be found in the [results tables](results/README.md)
510
+
511
+ ## Getting Started (Documentation)
512
+
513
+ The official documentation can be found at https://huggingface.co/docs/hub/timm. Documentation contributions are welcome.
514
+
515
+ [Getting Started with PyTorch Image Models (timm): A Practitioner’s Guide](https://towardsdatascience.com/getting-started-with-pytorch-image-models-timm-a-practitioners-guide-4e77b4bf9055-2/) by [Chris Hughes](https://github.com/Chris-hughes10) is an extensive blog post covering many aspects of `timm` in detail.
516
+
517
+ [timmdocs](http://timm.fast.ai/) is an alternate set of documentation for `timm`. A big thanks to [Aman Arora](https://github.com/amaarora) for his efforts creating timmdocs.
518
+
519
+ [paperswithcode](https://paperswithcode.com/lib/timm) is a good resource for browsing the models within `timm`.
520
+
521
+ ## Train, Validation, Inference Scripts
522
+
523
+ The root folder of the repository contains reference train, validation, and inference scripts that work with the included models and other features of this repository. They are adaptable for other datasets and use cases with a little hacking. See [documentation](https://huggingface.co/docs/timm/training_script).
524
+
525
+ ## Awesome PyTorch Resources
526
+
527
+ One of the greatest assets of PyTorch is the community and their contributions. A few of my favourite resources that pair well with the models and components here are listed below.
528
+
529
+ ### Object Detection, Instance and Semantic Segmentation
530
+ * Detectron2 - https://github.com/facebookresearch/detectron2
531
+ * Segmentation Models (Semantic) - https://github.com/qubvel/segmentation_models.pytorch
532
+ * EfficientDet (Obj Det, Semantic soon) - https://github.com/rwightman/efficientdet-pytorch
533
+
534
+ ### Computer Vision / Image Augmentation
535
+ * Albumentations - https://github.com/albumentations-team/albumentations
536
+ * Kornia - https://github.com/kornia/kornia
537
+
538
+ ### Knowledge Distillation
539
+ * RepDistiller - https://github.com/HobbitLong/RepDistiller
540
+ * torchdistill - https://github.com/yoshitomo-matsubara/torchdistill
541
+
542
+ ### Metric Learning
543
+ * PyTorch Metric Learning - https://github.com/KevinMusgrave/pytorch-metric-learning
544
+
545
+ ### Training / Frameworks
546
+ * fastai - https://github.com/fastai/fastai
547
+ * lightly_train - https://github.com/lightly-ai/lightly-train
548
+
549
+ ### Deployment
550
+ * timmx (Export timm models to ONNX, CoreML, LiteRT, TensorRT, and more) - https://github.com/Boulaouaney/timmx
551
+
552
+ ## Licenses
553
+
554
+ ### Code
555
+ The code here is licensed Apache 2.0. I've taken care to make sure any third party code included or adapted has compatible (permissive) licenses such as MIT, BSD, etc. I've made an effort to avoid any GPL / LGPL conflicts. That said, it is your responsibility to ensure you comply with licenses here and conditions of any dependent licenses. Where applicable, I've linked the sources/references for various components in docstrings. If you think I've missed anything please create an issue.
556
+
557
+ ### Pretrained Weights
558
+ So far all of the pretrained weights available here are pretrained on ImageNet with a select few that have some additional pretraining (see extra note below). ImageNet was released for non-commercial research purposes only (https://image-net.org/download). It's not clear what the implications of that are for the use of pretrained weights from that dataset. Any models I have trained with ImageNet are done for research purposes and one should assume that the original dataset license applies to the weights. It's best to seek legal advice if you intend to use the pretrained weights in a commercial product.
559
+
560
+ #### Pretrained on more than ImageNet
561
+ Several weights included or references here were pretrained with proprietary datasets that I do not have access to. These include the Facebook WSL, SSL, SWSL ResNe(Xt) and the Google Noisy Student EfficientNet models. The Facebook models have an explicit non-commercial license (CC-BY-NC 4.0, https://github.com/facebookresearch/semi-supervised-ImageNet1K-models, https://github.com/facebookresearch/WSL-Images). The Google models do not appear to have any restriction beyond the Apache 2.0 license (and ImageNet concerns). In either case, you should contact Facebook or Google with any questions.
562
+
563
+ ## Citing
564
+
565
+ ### BibTeX
566
+
567
+ ```bibtex
568
+ @misc{rw2019timm,
569
+ author = {Ross Wightman},
570
+ title = {PyTorch Image Models},
571
+ year = {2019},
572
+ publisher = {GitHub},
573
+ journal = {GitHub repository},
574
+ doi = {10.5281/zenodo.4414861},
575
+ howpublished = {\url{https://github.com/rwightman/pytorch-image-models}}
576
+ }
577
+ ```
578
+
579
+ ### Latest DOI
580
+
581
+ [![DOI](https://zenodo.org/badge/168799526.svg)](https://zenodo.org/badge/latestdoi/168799526)
.cache/pip/http-v2/2/b/d/2/a/2bd2afb46be8ef29cc0dd505de4aff907384c53895a0fbbce798558e ADDED
Binary file (1.3 kB). View file
 
.cache/pip/http-v2/2/b/d/2/a/2bd2afb46be8ef29cc0dd505de4aff907384c53895a0fbbce798558e.body ADDED
@@ -0,0 +1,354 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: optuna
3
+ Version: 4.9.0
4
+ Summary: A hyperparameter optimization framework
5
+ Author: Takuya Akiba
6
+ Project-URL: homepage, https://optuna.org/
7
+ Project-URL: repository, https://github.com/optuna/optuna
8
+ Project-URL: documentation, https://optuna.readthedocs.io
9
+ Project-URL: bugtracker, https://github.com/optuna/optuna/issues
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Topic :: Scientific/Engineering
23
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
24
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
+ Classifier: Topic :: Software Development
26
+ Classifier: Topic :: Software Development :: Libraries
27
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
28
+ Requires-Python: >=3.9
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ License-File: LICENSE_THIRD_PARTY
32
+ Requires-Dist: alembic>=1.5.0
33
+ Requires-Dist: colorlog
34
+ Requires-Dist: numpy
35
+ Requires-Dist: packaging>=20.0
36
+ Requires-Dist: sqlalchemy>=1.4.2
37
+ Requires-Dist: tqdm
38
+ Requires-Dist: PyYAML
39
+ Provides-Extra: document
40
+ Requires-Dist: ase; extra == "document"
41
+ Requires-Dist: cmaes>=0.12.0; extra == "document"
42
+ Requires-Dist: fvcore; extra == "document"
43
+ Requires-Dist: kaleido!=0.2.1.post1,<0.4; extra == "document"
44
+ Requires-Dist: lightgbm; extra == "document"
45
+ Requires-Dist: matplotlib!=3.6.0; extra == "document"
46
+ Requires-Dist: pandas; extra == "document"
47
+ Requires-Dist: pillow; extra == "document"
48
+ Requires-Dist: plotly>=4.9.0; extra == "document"
49
+ Requires-Dist: scikit-learn; extra == "document"
50
+ Requires-Dist: sphinx; extra == "document"
51
+ Requires-Dist: sphinx-copybutton; extra == "document"
52
+ Requires-Dist: sphinx-gallery; extra == "document"
53
+ Requires-Dist: sphinx-notfound-page; extra == "document"
54
+ Requires-Dist: sphinx_rtd_theme>=1.2.0; extra == "document"
55
+ Requires-Dist: torch; extra == "document"
56
+ Requires-Dist: torchvision; extra == "document"
57
+ Provides-Extra: optional
58
+ Requires-Dist: boto3; extra == "optional"
59
+ Requires-Dist: cmaes>=0.12.0; extra == "optional"
60
+ Requires-Dist: google-cloud-storage; extra == "optional"
61
+ Requires-Dist: matplotlib!=3.6.0; extra == "optional"
62
+ Requires-Dist: pandas; extra == "optional"
63
+ Requires-Dist: plotly>=4.9.0; extra == "optional"
64
+ Requires-Dist: redis; extra == "optional"
65
+ Requires-Dist: scikit-learn>=0.24.2; extra == "optional"
66
+ Requires-Dist: scipy; extra == "optional"
67
+ Requires-Dist: torch; extra == "optional"
68
+ Requires-Dist: greenlet; extra == "optional"
69
+ Requires-Dist: grpcio; extra == "optional"
70
+ Requires-Dist: protobuf>=5.28.1; extra == "optional"
71
+ Dynamic: license-file
72
+
73
+ <div align="center"><img src="https://raw.githubusercontent.com/optuna/optuna/master/docs/image/optuna-logo.png" width="800"/></div>
74
+
75
+ # Optuna: A hyperparameter optimization framework
76
+
77
+ [![Python](https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue)](https://www.python.org)
78
+ [![pypi](https://img.shields.io/pypi/v/optuna.svg)](https://pypi.python.org/pypi/optuna)
79
+ [![conda](https://img.shields.io/conda/vn/conda-forge/optuna.svg)](https://anaconda.org/conda-forge/optuna)
80
+ [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/optuna/optuna)
81
+ [![Read the Docs](https://readthedocs.org/projects/optuna/badge/?version=stable)](https://optuna.readthedocs.io/en/stable/)
82
+
83
+ :link: [**Website**](https://optuna.org/)
84
+ | :page_with_curl: [**Docs**](https://optuna.readthedocs.io/en/stable/)
85
+ | :gear: [**Install Guide**](https://optuna.readthedocs.io/en/stable/installation.html)
86
+ | :pencil: [**Tutorial**](https://optuna.readthedocs.io/en/stable/tutorial/index.html)
87
+ | :bulb: [**Examples**](https://github.com/optuna/optuna-examples)
88
+ | [**Twitter**](https://twitter.com/OptunaAutoML)
89
+ | [**LinkedIn**](https://www.linkedin.com/showcase/optuna/)
90
+ | [**Medium**](https://medium.com/optuna)
91
+
92
+ *Optuna* is an automatic hyperparameter optimization software framework, particularly designed
93
+ for machine learning. It features an imperative, *define-by-run* style user API. Thanks to our
94
+ *define-by-run* API, the code written with Optuna enjoys high modularity, and the user of
95
+ Optuna can dynamically construct the search spaces for the hyperparameters.
96
+
97
+ ## :loudspeaker: News
98
+
99
+ <!-- TODO: when you add a new line, please delete the oldest line -->
100
+ * **Mar 16, 2026**: Optuna 4.8.0 is out! Check out [the release note](https://github.com/optuna/optuna/releases/tag/v4.8.0) for details.
101
+ * **Jan 19, 2026**: Optuna 4.7.0 is out! Check out [the release note](https://github.com/optuna/optuna/releases/tag/v4.7.0) for details.
102
+ * **Nov 10, 2025**: A new article [Announcing Optuna 4.6](https://medium.com/optuna/announcing-optuna-4-6-a9e82183ab07) has been published.
103
+ * **Oct 28, 2025**: A new article [AutoSampler: Full Support for Multi-Objective & Constrained Optimization](https://medium.com/optuna/autosampler-full-support-for-multi-objective-constrained-optimization-c1c4fc957ba2) has been published.
104
+ * **Sep 22, 2025**: A new article [[Optuna v4.5] Gaussian Process-Based Sampler (GPSampler) Can Now Perform Constrained Multi-Objective Optimization](https://medium.com/optuna/optuna-v4-5-81e78d8e077a) has been published.
105
+ * **Jun 16, 2025**: Optuna 4.4.0 has been released! Check out [the release blog](https://medium.com/optuna/announcing-optuna-4-4-ece661493126).
106
+
107
+ ## :fire: Key Features
108
+
109
+ Optuna has modern functionalities as follows:
110
+
111
+ - [Lightweight, versatile, and platform agnostic architecture](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/001_first.html)
112
+ - Handle a wide variety of tasks with a simple installation that has few requirements.
113
+ - [Pythonic search spaces](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/002_configurations.html)
114
+ - Define search spaces using familiar Python syntax including conditionals and loops.
115
+ - [Efficient optimization algorithms](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/003_efficient_optimization_algorithms.html)
116
+ - Adopt state-of-the-art algorithms for sampling hyperparameters and efficiently pruning unpromising trials.
117
+ - [Easy parallelization](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/004_distributed.html)
118
+ - Scale studies to tens or hundreds of workers with little or no changes to the code.
119
+ - [Quick visualization](https://optuna.readthedocs.io/en/stable/tutorial/10_key_features/005_visualization.html)
120
+ - Inspect optimization histories from a variety of plotting functions.
121
+
122
+
123
+ ## Basic Concepts
124
+
125
+ We use the terms *study* and *trial* as follows:
126
+
127
+ - Study: optimization based on an objective function
128
+ - Trial: a single execution of the objective function
129
+
130
+ Please refer to the sample code below. The goal of a *study* is to find out the optimal set of
131
+ hyperparameter values (e.g., `regressor` and `svr_c`) through multiple *trials* (e.g.,
132
+ `n_trials=100`). Optuna is a framework designed for automation and acceleration of
133
+ optimization *studies*.
134
+
135
+ <details open>
136
+ <summary>Sample code with scikit-learn</summary>
137
+
138
+ [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](http://colab.research.google.com/github/optuna/optuna-examples/blob/main/quickstart.ipynb)
139
+
140
+ ```python
141
+ import optuna
142
+ import sklearn
143
+
144
+
145
+ # Define an objective function to be minimized.
146
+ def objective(trial):
147
+
148
+ # Invoke suggest methods of a Trial object to generate hyperparameters.
149
+ regressor_name = trial.suggest_categorical("regressor", ["SVR", "RandomForest"])
150
+ if regressor_name == "SVR":
151
+ svr_c = trial.suggest_float("svr_c", 1e-10, 1e10, log=True)
152
+ regressor_obj = sklearn.svm.SVR(C=svr_c)
153
+ else:
154
+ rf_max_depth = trial.suggest_int("rf_max_depth", 2, 32)
155
+ regressor_obj = sklearn.ensemble.RandomForestRegressor(max_depth=rf_max_depth)
156
+
157
+ X, y = sklearn.datasets.fetch_california_housing(return_X_y=True)
158
+ X_train, X_val, y_train, y_val = sklearn.model_selection.train_test_split(X, y, random_state=0)
159
+
160
+ regressor_obj.fit(X_train, y_train)
161
+ y_pred = regressor_obj.predict(X_val)
162
+
163
+ error = sklearn.metrics.mean_squared_error(y_val, y_pred)
164
+
165
+ return error # An objective value linked with the Trial object.
166
+
167
+
168
+ study = optuna.create_study() # Create a new study.
169
+ study.optimize(objective, n_trials=100) # Invoke optimization of the objective function.
170
+ ```
171
+ </details>
172
+
173
+ > [!NOTE]
174
+ > More examples can be found in [optuna/optuna-examples](https://github.com/optuna/optuna-examples).
175
+ >
176
+ > The examples cover diverse problem setups such as multi-objective optimization, constrained optimization, pruning, and distributed optimization.
177
+
178
+ ## Installation
179
+
180
+ Optuna is available at [the Python Package Index](https://pypi.org/project/optuna/) and on [Anaconda Cloud](https://anaconda.org/conda-forge/optuna).
181
+
182
+ ```bash
183
+ # PyPI
184
+ $ pip install optuna
185
+ ```
186
+
187
+ ```bash
188
+ # Anaconda Cloud
189
+ $ conda install -c conda-forge optuna
190
+ ```
191
+
192
+ > [!IMPORTANT]
193
+ > Optuna supports Python 3.9 or newer.
194
+
195
+ ## Integrations
196
+
197
+ Optuna has integration features with various third-party libraries. Integrations can be found in [optuna/optuna-integration](https://github.com/optuna/optuna-integration) and the document is available [here](https://optuna-integration.readthedocs.io/en/stable/index.html).
198
+
199
+ <details>
200
+ <summary>Supported integration libraries</summary>
201
+
202
+ * [Catboost](https://github.com/optuna/optuna-examples/tree/main/catboost/catboost_pruning.py)
203
+ * [Dask](https://github.com/optuna/optuna-examples/tree/main/dask/dask_simple.py)
204
+ * [fastai](https://github.com/optuna/optuna-examples/tree/main/fastai/fastai_simple.py)
205
+ * [Keras](https://github.com/optuna/optuna-examples/tree/main/keras/keras_integration.py)
206
+ * [LightGBM](https://github.com/optuna/optuna-examples/tree/main/lightgbm/lightgbm_integration.py)
207
+ * [PyTorch](https://github.com/optuna/optuna-examples/tree/main/pytorch/pytorch_simple.py)
208
+ * [PyTorch Ignite](https://github.com/optuna/optuna-examples/tree/main/pytorch/pytorch_ignite_simple.py)
209
+ * [PyTorch Lightning](https://github.com/optuna/optuna-examples/tree/main/pytorch/pytorch_lightning_simple.py)
210
+ * [TensorFlow](https://github.com/optuna/optuna-examples/tree/main/tensorflow/tensorflow_estimator_integration.py)
211
+ * [tf.keras](https://github.com/optuna/optuna-examples/tree/main/tfkeras/tfkeras_integration.py)
212
+ * [XGBoost](https://github.com/optuna/optuna-examples/tree/main/xgboost/xgboost_integration.py)
213
+ </details>
214
+
215
+ ## Web Dashboard
216
+
217
+ [Optuna Dashboard](https://github.com/optuna/optuna-dashboard) is a real-time web dashboard for Optuna.
218
+ You can check the optimization history, hyperparameter importance, etc. in graphs and tables.
219
+ You don't need to create a Python script to call [Optuna's visualization](https://optuna.readthedocs.io/en/stable/reference/visualization/index.html) functions.
220
+ Feature requests and bug reports are welcome!
221
+
222
+ ![optuna-dashboard](https://user-images.githubusercontent.com/5564044/204975098-95c2cb8c-0fb5-4388-abc4-da32f56cb4e5.gif)
223
+
224
+ `optuna-dashboard` can be installed via pip:
225
+
226
+ ```shell
227
+ $ pip install optuna-dashboard
228
+ ```
229
+
230
+ > [!TIP]
231
+ > Please check out the convenience of Optuna Dashboard using the sample code below.
232
+
233
+ <details>
234
+ <summary>Sample code to launch Optuna Dashboard</summary>
235
+
236
+ Save the following code as `optimize_toy.py`.
237
+
238
+ ```python
239
+ import optuna
240
+
241
+
242
+ def objective(trial):
243
+ x1 = trial.suggest_float("x1", -100, 100)
244
+ x2 = trial.suggest_float("x2", -100, 100)
245
+ return x1**2 + 0.01 * x2**2
246
+
247
+
248
+ study = optuna.create_study(storage="sqlite:///db.sqlite3") # Create a new study with database.
249
+ study.optimize(objective, n_trials=100)
250
+ ```
251
+
252
+ Then try the commands below:
253
+
254
+ ```shell
255
+ # Run the study specified above
256
+ $ python optimize_toy.py
257
+
258
+ # Launch the dashboard based on the storage `sqlite:///db.sqlite3`
259
+ $ optuna-dashboard sqlite:///db.sqlite3
260
+ ...
261
+ Listening on http://localhost:8080/
262
+ Hit Ctrl-C to quit.
263
+ ```
264
+
265
+ </details>
266
+
267
+
268
+ ## OptunaHub
269
+
270
+ [OptunaHub](https://hub.optuna.org/) is a feature-sharing platform for Optuna.
271
+ You can use the registered features and publish your packages.
272
+
273
+ ### Use registered features
274
+
275
+ `optunahub` can be installed via pip:
276
+
277
+ ```shell
278
+ $ pip install optunahub
279
+ # Install AutoSampler dependencies (CPU only is sufficient for PyTorch)
280
+ $ pip install cmaes scipy torch --extra-index-url https://download.pytorch.org/whl/cpu
281
+ ```
282
+
283
+ You can load registered module with `optunahub.load_module`.
284
+
285
+ ```python
286
+ import optuna
287
+ import optunahub
288
+
289
+
290
+ def objective(trial: optuna.Trial) -> float:
291
+ x = trial.suggest_float("x", -5, 5)
292
+ y = trial.suggest_float("y", -5, 5)
293
+ return x**2 + y**2
294
+
295
+
296
+ module = optunahub.load_module(package="samplers/auto_sampler")
297
+ study = optuna.create_study(sampler=module.AutoSampler())
298
+ study.optimize(objective, n_trials=10)
299
+
300
+ print(study.best_trial.value, study.best_trial.params)
301
+ ```
302
+
303
+ For more details, please refer to [the optunahub documentation](https://optuna.github.io/optunahub/).
304
+
305
+ ### Publish your packages
306
+
307
+ You can publish your package via [optunahub-registry](https://github.com/optuna/optunahub-registry).
308
+ See the [Tutorials for Contributors](https://optuna.github.io/optunahub/tutorials_for_contributors.html) in OptunaHub.
309
+
310
+
311
+ ## Communication
312
+
313
+ - [GitHub Discussions] for questions.
314
+ - [GitHub Issues] for bug reports and feature requests.
315
+
316
+ [GitHub Discussions]: https://github.com/optuna/optuna/discussions
317
+ [GitHub issues]: https://github.com/optuna/optuna/issues
318
+
319
+
320
+ ## Contribution
321
+
322
+ Any contributions to Optuna are more than welcome!
323
+
324
+ If you are new to Optuna, please check the [good first issues](https://github.com/optuna/optuna/labels/good%20first%20issue). They are relatively simple, well-defined, and often good starting points for you to get familiar with the contribution workflow and other developers.
325
+
326
+ If you already have contributed to Optuna, we recommend the other [contribution-welcome issues](https://github.com/optuna/optuna/labels/contribution-welcome).
327
+
328
+ For general guidelines on how to contribute to the project, take a look at [CONTRIBUTING.md](./CONTRIBUTING.md).
329
+
330
+
331
+ ## Reference
332
+
333
+ If you use Optuna in one of your research projects, please cite [our KDD paper](https://doi.org/10.1145/3292500.3330701) "Optuna: A Next-generation Hyperparameter Optimization Framework":
334
+
335
+ <details open>
336
+ <summary>BibTeX</summary>
337
+
338
+ ```bibtex
339
+ @inproceedings{akiba2019optuna,
340
+ title={{O}ptuna: A Next-Generation Hyperparameter Optimization Framework},
341
+ author={Akiba, Takuya and Sano, Shotaro and Yanase, Toshihiko and Ohta, Takeru and Koyama, Masanori},
342
+ booktitle={The 25th ACM SIGKDD International Conference on Knowledge Discovery \& Data Mining},
343
+ pages={2623--2631},
344
+ year={2019}
345
+ }
346
+ ```
347
+ </details>
348
+
349
+
350
+ ## License
351
+
352
+ MIT License (see [LICENSE](./LICENSE)).
353
+
354
+ Optuna uses the codes from SciPy and fdlibm projects (see [LICENSE_THIRD_PARTY](./LICENSE_THIRD_PARTY)).
.cache/pip/http-v2/2/d/2/7/4/2d274909802a294101952666e88fb2e3b7731b90c4e0fa9015d5a2c9 ADDED
Binary file (1.31 kB). View file
 
.cache/pip/http-v2/2/d/2/7/4/2d274909802a294101952666e88fb2e3b7731b90c4e0fa9015d5a2c9.body ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: annotated-doc
3
+ Version: 0.0.4
4
+ Summary: Document parameters, class attributes, return types, and variables inline, with Annotated.
5
+ Author-Email: =?utf-8?q?Sebasti=C3=A1n_Ram=C3=ADrez?= <tiangolo@gmail.com>
6
+ License-Expression: MIT
7
+ License-File: LICENSE
8
+ Classifier: Intended Audience :: Information Technology
9
+ Classifier: Intended Audience :: System Administrators
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Topic :: Internet
14
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
15
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
+ Classifier: Topic :: Software Development :: Libraries
17
+ Classifier: Topic :: Software Development
18
+ Classifier: Typing :: Typed
19
+ Classifier: Development Status :: 4 - Beta
20
+ Classifier: Intended Audience :: Developers
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Programming Language :: Python :: 3.8
23
+ Classifier: Programming Language :: Python :: 3.9
24
+ Classifier: Programming Language :: Python :: 3.10
25
+ Classifier: Programming Language :: Python :: 3.11
26
+ Classifier: Programming Language :: Python :: 3.12
27
+ Classifier: Programming Language :: Python :: 3.13
28
+ Classifier: Programming Language :: Python :: 3.14
29
+ Project-URL: Homepage, https://github.com/fastapi/annotated-doc
30
+ Project-URL: Documentation, https://github.com/fastapi/annotated-doc
31
+ Project-URL: Repository, https://github.com/fastapi/annotated-doc
32
+ Project-URL: Issues, https://github.com/fastapi/annotated-doc/issues
33
+ Project-URL: Changelog, https://github.com/fastapi/annotated-doc/release-notes.md
34
+ Requires-Python: >=3.8
35
+ Description-Content-Type: text/markdown
36
+
37
+ # Annotated Doc
38
+
39
+ Document parameters, class attributes, return types, and variables inline, with `Annotated`.
40
+
41
+ <a href="https://github.com/fastapi/annotated-doc/actions?query=workflow%3ATest+event%3Apush+branch%3Amain" target="_blank">
42
+ <img src="https://github.com/fastapi/annotated-doc/actions/workflows/test.yml/badge.svg?event=push&branch=main" alt="Test">
43
+ </a>
44
+ <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/fastapi/annotated-doc" target="_blank">
45
+ <img src="https://coverage-badge.samuelcolvin.workers.dev/fastapi/annotated-doc.svg" alt="Coverage">
46
+ </a>
47
+ <a href="https://pypi.org/project/annotated-doc" target="_blank">
48
+ <img src="https://img.shields.io/pypi/v/annotated-doc?color=%2334D058&label=pypi%20package" alt="Package version">
49
+ </a>
50
+ <a href="https://pypi.org/project/annotated-doc" target="_blank">
51
+ <img src="https://img.shields.io/pypi/pyversions/annotated-doc.svg?color=%2334D058" alt="Supported Python versions">
52
+ </a>
53
+
54
+ ## Installation
55
+
56
+ ```bash
57
+ pip install annotated-doc
58
+ ```
59
+
60
+ Or with `uv`:
61
+
62
+ ```Python
63
+ uv add annotated-doc
64
+ ```
65
+
66
+ ## Usage
67
+
68
+ Import `Doc` and pass a single literal string with the documentation for the specific parameter, class attribute, return type, or variable.
69
+
70
+ For example, to document a parameter `name` in a function `hi` you could do:
71
+
72
+ ```Python
73
+ from typing import Annotated
74
+
75
+ from annotated_doc import Doc
76
+
77
+ def hi(name: Annotated[str, Doc("Who to say hi to")]) -> None:
78
+ print(f"Hi, {name}!")
79
+ ```
80
+
81
+ You can also use it to document class attributes:
82
+
83
+ ```Python
84
+ from typing import Annotated
85
+
86
+ from annotated_doc import Doc
87
+
88
+ class User:
89
+ name: Annotated[str, Doc("The user's name")]
90
+ age: Annotated[int, Doc("The user's age")]
91
+ ```
92
+
93
+ The same way, you could document return types and variables, or anything that could have a type annotation with `Annotated`.
94
+
95
+ ## Who Uses This
96
+
97
+ `annotated-doc` was made for:
98
+
99
+ * [FastAPI](https://fastapi.tiangolo.com/)
100
+ * [Typer](https://typer.tiangolo.com/)
101
+ * [SQLModel](https://sqlmodel.tiangolo.com/)
102
+ * [Asyncer](https://asyncer.tiangolo.com/)
103
+
104
+ `annotated-doc` is supported by [griffe-typingdoc](https://github.com/mkdocstrings/griffe-typingdoc), which powers reference documentation like the one in the [FastAPI Reference](https://fastapi.tiangolo.com/reference/).
105
+
106
+ ## Reasons not to use `annotated-doc`
107
+
108
+ You are already comfortable with one of the existing docstring formats, like:
109
+
110
+ * Sphinx
111
+ * numpydoc
112
+ * Google
113
+ * Keras
114
+
115
+ Your team is already comfortable using them.
116
+
117
+ You prefer having the documentation about parameters all together in a docstring, separated from the code defining them.
118
+
119
+ You care about a specific set of users, using one specific editor, and that editor already has support for the specific docstring format you use.
120
+
121
+ ## Reasons to use `annotated-doc`
122
+
123
+ * No micro-syntax to learn for newcomers, it’s **just Python** syntax.
124
+ * **Editing** would be already fully supported by default by any editor (current or future) supporting Python syntax, including syntax errors, syntax highlighting, etc.
125
+ * **Rendering** would be relatively straightforward to implement by static tools (tools that don't need runtime execution), as the information can be extracted from the AST they normally already create.
126
+ * **Deduplication of information**: the name of a parameter would be defined in a single place, not duplicated inside of a docstring.
127
+ * **Elimination** of the possibility of having **inconsistencies** when removing a parameter or class variable and **forgetting to remove** its documentation.
128
+ * **Minimization** of the probability of adding a new parameter or class variable and **forgetting to add its documentation**.
129
+ * **Elimination** of the possibility of having **inconsistencies** between the **name** of a parameter in the **signature** and the name in the docstring when it is renamed.
130
+ * **Access** to the documentation string for each symbol at **runtime**, including existing (older) Python versions.
131
+ * A more formalized way to document other symbols, like type aliases, that could use Annotated.
132
+ * **Support** for apps using FastAPI, Typer and others.
133
+ * **AI Accessibility**: AI tools will have an easier way understanding each parameter as the distance from documentation to parameter is much closer.
134
+
135
+ ## History
136
+
137
+ I ([@tiangolo](https://github.com/tiangolo)) originally wanted for this to be part of the Python standard library (in [PEP 727](https://peps.python.org/pep-0727/)), but the proposal was withdrawn as there was a fair amount of negative feedback and opposition.
138
+
139
+ The conclusion was that this was better done as an external effort, in a third-party library.
140
+
141
+ So, here it is, with a simpler approach, as a third-party library, in a way that can be used by others, starting with FastAPI and friends.
142
+
143
+ ## License
144
+
145
+ This project is licensed under the terms of the MIT license.
.cache/pip/http-v2/3/4/e/4/e/34e4ed9f6da78ec378e04be04de734c69a68c889dbef86cb0f5f498a ADDED
Binary file (1.89 kB). View file
 
.cache/pip/http-v2/3/4/e/4/e/34e4ed9f6da78ec378e04be04de734c69a68c889dbef86cb0f5f498a.body ADDED
Binary file (23.3 kB). View file
 
.cache/pip/http-v2/3/5/a/0/6/35a0615e0411edd59492c90e8f5cd0a1a0554d6f7d1dec5be2b30560 ADDED
Binary file (1.25 kB). View file
 
.cache/pip/http-v2/3/5/a/0/6/35a0615e0411edd59492c90e8f5cd0a1a0554d6f7d1dec5be2b30560.body ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: kiwisolver
3
+ Version: 1.5.0
4
+ Summary: A fast implementation of the Cassowary constraint solver
5
+ Author-email: The Nucleic Development Team <sccolbert@gmail.com>
6
+ Maintainer-email: "Matthieu C. Dartiailh" <m.dartiailh@gmail.com>
7
+ License: =========================
8
+ The Kiwi licensing terms
9
+ =========================
10
+ Kiwi is licensed under the terms of the Modified BSD License (also known as
11
+ New or Revised BSD), as follows:
12
+
13
+ Copyright (c) 2013-2026, Nucleic Development Team
14
+
15
+ All rights reserved.
16
+
17
+ Redistribution and use in source and binary forms, with or without
18
+ modification, are permitted provided that the following conditions are met:
19
+
20
+ Redistributions of source code must retain the above copyright notice, this
21
+ list of conditions and the following disclaimer.
22
+
23
+ Redistributions in binary form must reproduce the above copyright notice, this
24
+ list of conditions and the following disclaimer in the documentation and/or
25
+ other materials provided with the distribution.
26
+
27
+ Neither the name of the Nucleic Development Team nor the names of its
28
+ contributors may be used to endorse or promote products derived from this
29
+ software without specific prior written permission.
30
+
31
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
32
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
33
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
34
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
35
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
37
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
38
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
39
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
+
42
+ About Kiwi
43
+ ----------
44
+ Chris Colbert began the Kiwi project in December 2013 in an effort to
45
+ create a blisteringly fast UI constraint solver. Chris is still the
46
+ project lead.
47
+
48
+ The Nucleic Development Team is the set of all contributors to the Nucleic
49
+ project and its subprojects.
50
+
51
+ The core team that coordinates development on GitHub can be found here:
52
+ http://github.com/nucleic. The current team consists of:
53
+
54
+ * Chris Colbert
55
+
56
+ Our Copyright Policy
57
+ --------------------
58
+ Nucleic uses a shared copyright model. Each contributor maintains copyright
59
+ over their contributions to Nucleic. But, it is important to note that these
60
+ contributions are typically only changes to the repositories. Thus, the Nucleic
61
+ source code, in its entirety is not the copyright of any single person or
62
+ institution. Instead, it is the collective copyright of the entire Nucleic
63
+ Development Team. If individual contributors want to maintain a record of what
64
+ changes/contributions they have specific copyright on, they should indicate
65
+ their copyright in the commit message of the change, when they commit the
66
+ change to one of the Nucleic repositories.
67
+
68
+ With this in mind, the following banner should be used in any source code file
69
+ to indicate the copyright and license terms:
70
+
71
+ #------------------------------------------------------------------------------
72
+ # Copyright (c) 2013-2026, Nucleic Development Team.
73
+ #
74
+ # Distributed under the terms of the Modified BSD License.
75
+ #
76
+ # The full license is in the file LICENSE, distributed with this software.
77
+ #------------------------------------------------------------------------------
78
+
79
+ Project-URL: homepage, https://github.com/nucleic/kiwi
80
+ Project-URL: documentation, https://kiwisolver.readthedocs.io/en/latest/
81
+ Project-URL: repository, https://github.com/nucleic/kiwi
82
+ Project-URL: changelog, https://github.com/nucleic/kiwi/blob/main/releasenotes.rst
83
+ Classifier: License :: OSI Approved :: BSD License
84
+ Classifier: Programming Language :: Python
85
+ Classifier: Programming Language :: Python :: 3
86
+ Classifier: Programming Language :: Python :: 3.10
87
+ Classifier: Programming Language :: Python :: 3.11
88
+ Classifier: Programming Language :: Python :: 3.12
89
+ Classifier: Programming Language :: Python :: 3.13
90
+ Classifier: Programming Language :: Python :: 3.14
91
+ Classifier: Programming Language :: Python :: Implementation :: CPython
92
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
93
+ Classifier: Programming Language :: Python :: Implementation :: GraalPy
94
+ Requires-Python: >=3.10
95
+ Description-Content-Type: text/x-rst
96
+ License-File: LICENSE
97
+ Dynamic: license-file
.cache/pip/http-v2/3/8/6/0/e/3860e4de9ae53c79d2fd61419e9049df314ccc8b640782c02c6e2e2d ADDED
Binary file (1.89 kB). View file
 
.cache/pip/http-v2/3/8/6/0/e/3860e4de9ae53c79d2fd61419e9049df314ccc8b640782c02c6e2e2d.body ADDED
Binary file (43 kB). View file
 
.cache/pip/http-v2/3/8/9/2/7/389270eb64d5d655add63491064e7e833611004a96c2fb8b19caa5fb ADDED
Binary file (1.28 kB). View file
 
.cache/pip/http-v2/3/8/9/2/7/389270eb64d5d655add63491064e7e833611004a96c2fb8b19caa5fb.body ADDED
@@ -0,0 +1,321 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: colorlog
3
+ Version: 6.10.1
4
+ Summary: Add colours to the output of Python's logging module.
5
+ Home-page: https://github.com/borntyping/python-colorlog
6
+ Author: Sam Clements
7
+ Author-email: sam@borntyping.co.uk
8
+ License: MIT License
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Topic :: Terminals
25
+ Classifier: Topic :: Utilities
26
+ Requires-Python: >=3.6
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ Requires-Dist: colorama; sys_platform == "win32"
30
+ Provides-Extra: development
31
+ Requires-Dist: black; extra == "development"
32
+ Requires-Dist: flake8; extra == "development"
33
+ Requires-Dist: mypy; extra == "development"
34
+ Requires-Dist: pytest; extra == "development"
35
+ Requires-Dist: types-colorama; extra == "development"
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: license
43
+ Dynamic: license-file
44
+ Dynamic: provides-extra
45
+ Dynamic: requires-python
46
+ Dynamic: summary
47
+
48
+ # Log formatting with colors!
49
+
50
+ [![](https://img.shields.io/pypi/v/colorlog.svg)](https://pypi.org/project/colorlog/)
51
+ [![](https://img.shields.io/pypi/l/colorlog.svg)](https://pypi.org/project/colorlog/)
52
+
53
+ Add colours to the output of Python's `logging` module.
54
+
55
+ * [Source on GitHub](https://github.com/borntyping/python-colorlog)
56
+ * [Packages on PyPI](https://pypi.org/pypi/colorlog/)
57
+
58
+ ## Status
59
+
60
+ colorlog currently requires Python 3.6 or higher. Older versions (below 5.x.x)
61
+ support Python 2.6 and above.
62
+
63
+ * colorlog 6.x requires Python 3.6 or higher.
64
+ * colorlog 5.x is an interim version that will warn Python 2 users to downgrade.
65
+ * colorlog 4.x is the final version supporting Python 2.
66
+
67
+ [colorama] is included as a required dependency and initialised when using
68
+ colorlog on Windows.
69
+
70
+ This library is over a decade old and supported a wide set of Python versions
71
+ for most of its life, which has made it a difficult library to add new features
72
+ to. colorlog 6 may break backwards compatibility so that newer features
73
+ can be added more easily, but may still not accept all changes or feature
74
+ requests. colorlog 4 might accept essential bugfixes but should not be
75
+ considered actively maintained and will not accept any major changes or new
76
+ features.
77
+
78
+ ## Installation
79
+
80
+ Install from PyPI with:
81
+
82
+ ```bash
83
+ pip install colorlog
84
+ ```
85
+
86
+ Several Linux distributions provide official packages ([Debian], [Arch], [Fedora],
87
+ [Gentoo], [OpenSuse] and [Ubuntu]), and others have user provided packages
88
+ ([BSD ports], [Conda]).
89
+
90
+ ## Usage
91
+
92
+ ```python
93
+ import colorlog
94
+
95
+ handler = colorlog.StreamHandler()
96
+ handler.setFormatter(colorlog.ColoredFormatter(
97
+ '%(log_color)s%(levelname)s:%(name)s:%(message)s'))
98
+
99
+ logger = colorlog.getLogger('example')
100
+ logger.addHandler(handler)
101
+ ```
102
+
103
+ The `ColoredFormatter` class takes several arguments:
104
+
105
+ - `format`: The format string used to output the message (required).
106
+ - `datefmt`: An optional date format passed to the base class. See [`logging.Formatter`][Formatter].
107
+ - `reset`: Implicitly adds a color reset code to the message output, unless the output already ends with one. Defaults to `True`.
108
+ - `log_colors`: A mapping of record level names to color names. The defaults can be found in `colorlog.default_log_colors`, or the below example.
109
+ - `secondary_log_colors`: A mapping of names to `log_colors` style mappings, defining additional colors that can be used in format strings. See below for an example.
110
+ - `style`: Available on Python 3.2 and above. See [`logging.Formatter`][Formatter].
111
+
112
+ Color escape codes can be selected based on the log records level, by adding
113
+ parameters to the format string:
114
+
115
+ - `log_color`: Return the color associated with the records level.
116
+ - `<name>_log_color`: Return another color based on the records level if the formatter has secondary colors configured (see `secondary_log_colors` below).
117
+
118
+ Multiple escape codes can be used at once by joining them with commas when
119
+ configuring the color for a log level (but can't be used directly in the format
120
+ string). For example, `black,bg_white` would use the escape codes for black
121
+ text on a white background.
122
+
123
+ The following escape codes are made available for use in the format string:
124
+
125
+ - `{color}`, `fg_{color}`, `bg_{color}`: Foreground and background colors.
126
+ - `bold`, `bold_{color}`, `fg_bold_{color}`, `bg_bold_{color}`: Bold/bright colors.
127
+ - `thin`, `thin_{color}`, `fg_thin_{color}`: Thin colors (terminal dependent).
128
+ - `reset`: Clear all formatting (both foreground and background colors).
129
+
130
+ The available color names are:
131
+
132
+ - `black`
133
+ - `red`
134
+ - `green`
135
+ - `yellow`
136
+ - `blue`,
137
+ - `purple`
138
+ - `cyan`
139
+ - `white`
140
+
141
+ You can also use "bright" colors. These aren't standard ANSI codes, and
142
+ support for these varies wildly across different terminals.
143
+
144
+ - `light_black`
145
+ - `light_red`
146
+ - `light_green`
147
+ - `light_yellow`
148
+ - `light_blue`
149
+ - `light_purple`
150
+ - `light_cyan`
151
+ - `light_white`
152
+
153
+ ## Examples
154
+
155
+ ![Example output](docs/example.png)
156
+
157
+ The following code creates a `ColoredFormatter` for use in a logging setup,
158
+ using the default values for each argument.
159
+
160
+ ```python
161
+ from colorlog import ColoredFormatter
162
+
163
+ formatter = ColoredFormatter(
164
+ "%(log_color)s%(levelname)-8s%(reset)s %(blue)s%(message)s",
165
+ datefmt=None,
166
+ reset=True,
167
+ log_colors={
168
+ 'DEBUG': 'cyan',
169
+ 'INFO': 'green',
170
+ 'WARNING': 'yellow',
171
+ 'ERROR': 'red',
172
+ 'CRITICAL': 'red,bg_white',
173
+ },
174
+ secondary_log_colors={},
175
+ style='%'
176
+ )
177
+ ```
178
+
179
+ ### Using `secondary_log_colors`
180
+
181
+ Secondary log colors are a way to have more than one color that is selected
182
+ based on the log level. Each key in `secondary_log_colors` adds an attribute
183
+ that can be used in format strings (`message` becomes `message_log_color`), and
184
+ has a corresponding value that is identical in format to the `log_colors`
185
+ argument.
186
+
187
+ The following example highlights the level name using the default log colors,
188
+ and highlights the message in red for `error` and `critical` level log messages.
189
+
190
+ ```python
191
+ from colorlog import ColoredFormatter
192
+
193
+ formatter = ColoredFormatter(
194
+ "%(log_color)s%(levelname)-8s%(reset)s %(message_log_color)s%(message)s",
195
+ secondary_log_colors={
196
+ 'message': {
197
+ 'ERROR': 'red',
198
+ 'CRITICAL': 'red'
199
+ }
200
+ }
201
+ )
202
+ ```
203
+
204
+ ### With [`dictConfig`][dictConfig]
205
+
206
+ ```python
207
+ logging.config.dictConfig({
208
+ 'formatters': {
209
+ 'colored': {
210
+ '()': 'colorlog.ColoredFormatter',
211
+ 'format': "%(log_color)s%(levelname)-8s%(reset)s %(blue)s%(message)s"
212
+ }
213
+ }
214
+ })
215
+ ```
216
+
217
+ A full example dictionary can be found in `tests/test_colorlog.py`.
218
+
219
+ ### With [`fileConfig`][fileConfig]
220
+
221
+ ```ini
222
+ ...
223
+
224
+ [formatters]
225
+ keys=color
226
+
227
+ [formatter_color]
228
+ class=colorlog.ColoredFormatter
229
+ format=%(log_color)s%(levelname)-8s%(reset)s %(bg_blue)s[%(name)s]%(reset)s %(message)s from fileConfig
230
+ datefmt=%m-%d %H:%M:%S
231
+ ```
232
+
233
+ An instance of ColoredFormatter created with those arguments will then be used
234
+ by any handlers that are configured to use the `color` formatter.
235
+
236
+ A full example configuration can be found in `tests/test_config.ini`.
237
+
238
+ ### With custom log levels
239
+
240
+ ColoredFormatter will work with custom log levels added with
241
+ [`logging.addLevelName`][addLevelName]:
242
+
243
+ ```python
244
+ import logging, colorlog
245
+ TRACE = 5
246
+ logging.addLevelName(TRACE, 'TRACE')
247
+ formatter = colorlog.ColoredFormatter(log_colors={'TRACE': 'yellow'})
248
+ handler = logging.StreamHandler()
249
+ handler.setFormatter(formatter)
250
+ logger = logging.getLogger('example')
251
+ logger.addHandler(handler)
252
+ logger.setLevel('TRACE')
253
+ logger.log(TRACE, 'a message using a custom level')
254
+ ```
255
+
256
+ ## Tests
257
+
258
+ Tests similar to the above examples are found in `tests/test_colorlog.py`.
259
+
260
+ ## Status
261
+
262
+ colorlog is in maintenance mode. I try and ensure bugfixes are published,
263
+ but compatibility a wide set of Python versions makes this a difficult
264
+ codebase to add features to. Any changes that might break backwards
265
+ compatibility for existing users will not be considered.
266
+
267
+ ## Alternatives
268
+
269
+ There are some more modern libraries for improving Python logging you may
270
+ find useful.
271
+
272
+ - [structlog]
273
+ - [jsonlog]
274
+
275
+ ## Projects using colorlog
276
+
277
+ GitHub provides [a list of projects that depend on colorlog][dependents].
278
+
279
+ Some early adopters included [Errbot], [Pythran], and [zenlog].
280
+
281
+ ## Licence
282
+
283
+ Copyright (c) 2012-2025 Sam Clements <sam@borntyping.co.uk>
284
+
285
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
286
+ this software and associated documentation files (the "Software"), to deal in
287
+ the Software without restriction, including without limitation the rights to
288
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
289
+ the Software, and to permit persons to whom the Software is furnished to do so,
290
+ subject to the following conditions:
291
+
292
+ The above copyright notice and this permission notice shall be included in all
293
+ copies or substantial portions of the Software.
294
+
295
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
296
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
297
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
298
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
299
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
300
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
301
+
302
+ [dictConfig]: http://docs.python.org/3/library/logging.config.html#logging.config.dictConfig
303
+ [fileConfig]: http://docs.python.org/3/library/logging.config.html#logging.config.fileConfig
304
+ [addLevelName]: https://docs.python.org/3/library/logging.html#logging.addLevelName
305
+ [Formatter]: http://docs.python.org/3/library/logging.html#logging.Formatter
306
+ [tox]: http://tox.readthedocs.org/
307
+ [Arch]: https://archlinux.org/packages/extra/any/python-colorlog/
308
+ [BSD ports]: https://www.freshports.org/devel/py-colorlog/
309
+ [colorama]: https://pypi.python.org/pypi/colorama
310
+ [Conda]: https://anaconda.org/conda-forge/colorlog
311
+ [Debian]: [https://packages.debian.org/buster/python3-colorlog](https://packages.debian.org/buster/python3-colorlog)
312
+ [Errbot]: http://errbot.io/
313
+ [Fedora]: https://src.fedoraproject.org/rpms/python-colorlog
314
+ [Gentoo]: https://packages.gentoo.org/packages/dev-python/colorlog
315
+ [OpenSuse]: http://rpm.pbone.net/index.php3?stat=3&search=python-colorlog&srodzaj=3
316
+ [Pythran]: https://github.com/serge-sans-paille/pythran
317
+ [Ubuntu]: https://launchpad.net/python-colorlog
318
+ [zenlog]: https://github.com/ManufacturaInd/python-zenlog
319
+ [structlog]: https://www.structlog.org/en/stable/
320
+ [jsonlog]: https://github.com/borntyping/jsonlog
321
+ [dependents]: https://github.com/borntyping/python-colorlog/network/dependents?package_id=UGFja2FnZS01MDk3NDcyMQ%3D%3D
.cache/pip/http-v2/3/8/c/c/8/38cc8209283ecb2d228ea8086bb74fbdc5d4872485c51a94fdb9c6cb ADDED
Binary file (1.2 kB). View file
 
.cache/pip/http-v2/4/a/5/b/6/4a5b6f0d76201de4cfd4884f5e95617a1848cf81c8357be4d12cbf6a ADDED
Binary file (1.28 kB). View file
 
.cache/pip/http-v2/4/a/5/b/6/4a5b6f0d76201de4cfd4884f5e95617a1848cf81c8357be4d12cbf6a.body ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: openpyxl
3
+ Version: 3.1.5
4
+ Summary: A Python library to read/write Excel 2010 xlsx/xlsm files
5
+ Home-page: https://openpyxl.readthedocs.io
6
+ Author: See AUTHORS
7
+ Author-email: charlie.clark@clark-consulting.eu
8
+ License: MIT
9
+ Project-URL: Documentation, https://openpyxl.readthedocs.io/en/stable/
10
+ Project-URL: Source, https://foss.heptapod.net/openpyxl/openpyxl
11
+ Project-URL: Tracker, https://foss.heptapod.net/openpyxl/openpyxl/-/issues
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Operating System :: MacOS :: MacOS X
14
+ Classifier: Operating System :: Microsoft :: Windows
15
+ Classifier: Operating System :: POSIX
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3.6
19
+ Classifier: Programming Language :: Python :: 3.7
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Requires-Python: >=3.8
25
+ License-File: LICENCE.rst
26
+ Requires-Dist: et-xmlfile
27
+
28
+ .. image:: https://coveralls.io/repos/bitbucket/openpyxl/openpyxl/badge.svg?branch=default
29
+ :target: https://coveralls.io/bitbucket/openpyxl/openpyxl?branch=default
30
+ :alt: coverage status
31
+
32
+ Introduction
33
+ ------------
34
+
35
+ openpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.
36
+
37
+ It was born from lack of existing library to read/write natively from Python
38
+ the Office Open XML format.
39
+
40
+ All kudos to the PHPExcel team as openpyxl was initially based on PHPExcel.
41
+
42
+
43
+ Security
44
+ --------
45
+
46
+ By default openpyxl does not guard against quadratic blowup or billion laughs
47
+ xml attacks. To guard against these attacks install defusedxml.
48
+
49
+ Mailing List
50
+ ------------
51
+
52
+ The user list can be found on http://groups.google.com/group/openpyxl-users
53
+
54
+
55
+ Sample code::
56
+
57
+ from openpyxl import Workbook
58
+ wb = Workbook()
59
+
60
+ # grab the active worksheet
61
+ ws = wb.active
62
+
63
+ # Data can be assigned directly to cells
64
+ ws['A1'] = 42
65
+
66
+ # Rows can also be appended
67
+ ws.append([1, 2, 3])
68
+
69
+ # Python types will automatically be converted
70
+ import datetime
71
+ ws['A2'] = datetime.datetime.now()
72
+
73
+ # Save the file
74
+ wb.save("sample.xlsx")
75
+
76
+
77
+ Documentation
78
+ -------------
79
+
80
+ The documentation is at: https://openpyxl.readthedocs.io
81
+
82
+ * installation methods
83
+ * code examples
84
+ * instructions for contributing
85
+
86
+ Release notes: https://openpyxl.readthedocs.io/en/stable/changes.html
.cache/pip/http-v2/4/d/c/8/d/4dc8d567db4bc55c0684404c85a6b4572f87a99306be24cab65fbfae ADDED
Binary file (1.85 kB). View file
 
.cache/pip/http-v2/4/d/c/8/d/4dc8d567db4bc55c0684404c85a6b4572f87a99306be24cab65fbfae.body ADDED
Binary file (16.2 kB). View file
 
.cache/pip/http-v2/5/5/9/a/2/559a28d2d50a6d0988e3c56e5d0d411789da84005e4420f1a26bb23e ADDED
Binary file (1.25 kB). View file
 
.cache/pip/http-v2/5/5/9/a/2/559a28d2d50a6d0988e3c56e5d0d411789da84005e4420f1a26bb23e.body ADDED
Binary file (91.7 kB). View file
 
.cache/pip/http-v2/5/9/1/a/0/591a0a7ea47d81cffb332bf5e1460e560ce743822558c6f345314d4b ADDED
Binary file (1.23 kB). View file
 
.cache/pip/http-v2/5/9/1/a/0/591a0a7ea47d81cffb332bf5e1460e560ce743822558c6f345314d4b.body ADDED
Binary file (18.1 kB). View file
 
.cache/pip/http-v2/5/d/5/7/5/5d575692ffb3194739604e9e1622e2fa8c882afc9517932bd2ce40df ADDED
Binary file (1.3 kB). View file
 
.cache/pip/http-v2/5/d/5/7/5/5d575692ffb3194739604e9e1622e2fa8c882afc9517932bd2ce40df.body ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.4
2
+ Name: markdown-it-py
3
+ Version: 4.2.0
4
+ Summary: Python port of markdown-it. Markdown parsing, done right!
5
+ Keywords: markdown,lexer,parser,commonmark,markdown-it
6
+ Author-email: Chris Sewell <chrisj_sewell@hotmail.com>
7
+ Requires-Python: >=3.10
8
+ Description-Content-Type: text/markdown
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: Implementation :: CPython
18
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Classifier: Topic :: Text Processing :: Markup
21
+ License-File: LICENSE
22
+ License-File: LICENSE.markdown-it
23
+ Requires-Dist: mdurl~=0.1
24
+ Requires-Dist: psutil ; extra == "benchmarking"
25
+ Requires-Dist: pytest ; extra == "benchmarking"
26
+ Requires-Dist: pytest-benchmark ; extra == "benchmarking"
27
+ Requires-Dist: commonmark~=0.9 ; extra == "compare"
28
+ Requires-Dist: markdown~=3.4 ; extra == "compare"
29
+ Requires-Dist: mistletoe~=1.0 ; extra == "compare"
30
+ Requires-Dist: mistune~=3.0 ; extra == "compare"
31
+ Requires-Dist: panflute~=2.3 ; extra == "compare"
32
+ Requires-Dist: markdown-it-pyrs ; extra == "compare"
33
+ Requires-Dist: linkify-it-py>=1,<3 ; extra == "linkify"
34
+ Requires-Dist: mdit-py-plugins>=0.5.0 ; extra == "plugins"
35
+ Requires-Dist: gprof2dot ; extra == "profiling"
36
+ Requires-Dist: mdit-py-plugins>=0.5.0 ; extra == "rtd"
37
+ Requires-Dist: myst-parser ; extra == "rtd"
38
+ Requires-Dist: pyyaml ; extra == "rtd"
39
+ Requires-Dist: sphinx ; extra == "rtd"
40
+ Requires-Dist: sphinx-copybutton ; extra == "rtd"
41
+ Requires-Dist: sphinx-design ; extra == "rtd"
42
+ Requires-Dist: sphinx-book-theme~=1.0 ; extra == "rtd"
43
+ Requires-Dist: jupyter_sphinx ; extra == "rtd"
44
+ Requires-Dist: ipykernel ; extra == "rtd"
45
+ Requires-Dist: coverage ; extra == "testing"
46
+ Requires-Dist: pytest ; extra == "testing"
47
+ Requires-Dist: pytest-cov ; extra == "testing"
48
+ Requires-Dist: pytest-regressions ; extra == "testing"
49
+ Requires-Dist: pytest-timeout ; extra == "testing"
50
+ Requires-Dist: requests ; extra == "testing"
51
+ Project-URL: Documentation, https://markdown-it-py.readthedocs.io
52
+ Project-URL: Homepage, https://github.com/executablebooks/markdown-it-py
53
+ Provides-Extra: benchmarking
54
+ Provides-Extra: compare
55
+ Provides-Extra: linkify
56
+ Provides-Extra: plugins
57
+ Provides-Extra: profiling
58
+ Provides-Extra: rtd
59
+ Provides-Extra: testing
60
+
61
+ # markdown-it-py
62
+
63
+ [![Github-CI][github-ci]][github-link]
64
+ [![Coverage Status][codecov-badge]][codecov-link]
65
+ [![PyPI][pypi-badge]][pypi-link]
66
+ [![Conda][conda-badge]][conda-link]
67
+ [![PyPI - Downloads][install-badge]][install-link]
68
+
69
+ <p align="center">
70
+ <img alt="markdown-it-py icon" src="https://raw.githubusercontent.com/executablebooks/markdown-it-py/master/docs/_static/markdown-it-py.svg">
71
+ </p>
72
+
73
+ > Markdown parser done right.
74
+
75
+ - Follows the __[CommonMark spec](http://spec.commonmark.org/)__ for baseline parsing
76
+ - Configurable syntax: you can add new rules and even replace existing ones.
77
+ - Pluggable: Adds syntax extensions to extend the parser (see the [plugin list][md-plugins]).
78
+ - High speed (see our [benchmarking tests][md-performance])
79
+ - Easy to configure for [security][md-security]
80
+ - Member of [Google's Assured Open Source Software](https://cloud.google.com/assured-open-source-software/docs/supported-packages)
81
+
82
+ This is a Python port of [markdown-it], and some of its associated plugins.
83
+ For more details see: <https://markdown-it-py.readthedocs.io>.
84
+
85
+ For details on [markdown-it] itself, see:
86
+
87
+ - The __[Live demo](https://markdown-it.github.io)__
88
+ - [The markdown-it README][markdown-it-readme]
89
+
90
+ **See also:** [markdown-it-pyrs](https://github.com/chrisjsewell/markdown-it-pyrs) for an experimental Rust binding,
91
+ for even more speed!
92
+
93
+ ## Installation
94
+
95
+ ### PIP
96
+
97
+ ```bash
98
+ pip install markdown-it-py[plugins]
99
+ ```
100
+
101
+ or with extras
102
+
103
+ ```bash
104
+ pip install markdown-it-py[linkify,plugins]
105
+ ```
106
+
107
+ ### Conda
108
+
109
+ ```bash
110
+ conda install -c conda-forge markdown-it-py
111
+ ```
112
+
113
+ or with extras
114
+
115
+ ```bash
116
+ conda install -c conda-forge markdown-it-py linkify-it-py mdit-py-plugins
117
+ ```
118
+
119
+ ## Usage
120
+
121
+ ### Python API Usage
122
+
123
+ Render markdown to HTML with markdown-it-py and a custom configuration
124
+ with and without plugins and features:
125
+
126
+ ```python
127
+ from markdown_it import MarkdownIt
128
+ from mdit_py_plugins.front_matter import front_matter_plugin
129
+ from mdit_py_plugins.footnote import footnote_plugin
130
+
131
+ md = (
132
+ MarkdownIt('commonmark', {'breaks':True,'html':True})
133
+ .use(front_matter_plugin)
134
+ .use(footnote_plugin)
135
+ .enable('table')
136
+ )
137
+ text = ("""
138
+ ---
139
+ a: 1
140
+ ---
141
+
142
+ a | b
143
+ - | -
144
+ 1 | 2
145
+
146
+ A footnote [^1]
147
+
148
+ [^1]: some details
149
+ """)
150
+ tokens = md.parse(text)
151
+ html_text = md.render(text)
152
+
153
+ ## To export the html to a file, uncomment the lines below:
154
+ # from pathlib import Path
155
+ # Path("output.html").write_text(html_text)
156
+ ```
157
+
158
+ ### Command-line Usage
159
+
160
+ Render markdown to HTML with markdown-it-py from the
161
+ command-line:
162
+
163
+ ```console
164
+ usage: markdown-it [-h] [-v] [--stdin|filenames [filenames ...]]
165
+
166
+ Parse one or more markdown files, convert each to HTML, and print to stdout
167
+
168
+ positional arguments:
169
+ --stdin read source Markdown file from standard input
170
+ filenames specify an optional list of files to convert
171
+
172
+ optional arguments:
173
+ -h, --help show this help message and exit
174
+ -v, --version show program's version number and exit
175
+
176
+ Interactive:
177
+
178
+ $ markdown-it
179
+ markdown-it-py [version 0.0.0] (interactive)
180
+ Type Ctrl-D to complete input, or Ctrl-C to exit.
181
+ >>> # Example
182
+ ... > markdown *input*
183
+ ...
184
+ <h1>Example</h1>
185
+ <blockquote>
186
+ <p>markdown <em>input</em></p>
187
+ </blockquote>
188
+
189
+ Batch:
190
+
191
+ $ markdown-it README.md README.footer.md > index.html
192
+
193
+ ```
194
+
195
+ ## References / Thanks
196
+
197
+ Big thanks to the authors of [markdown-it]:
198
+
199
+ - Alex Kocharin [github/rlidwka](https://github.com/rlidwka)
200
+ - Vitaly Puzrin [github/puzrin](https://github.com/puzrin)
201
+
202
+ Also [John MacFarlane](https://github.com/jgm) for his work on the CommonMark spec and reference implementations.
203
+
204
+ [github-ci]: https://github.com/executablebooks/markdown-it-py/actions/workflows/tests.yml/badge.svg?branch=master
205
+ [github-link]: https://github.com/executablebooks/markdown-it-py
206
+ [pypi-badge]: https://img.shields.io/pypi/v/markdown-it-py.svg
207
+ [pypi-link]: https://pypi.org/project/markdown-it-py
208
+ [conda-badge]: https://anaconda.org/conda-forge/markdown-it-py/badges/version.svg
209
+ [conda-link]: https://anaconda.org/conda-forge/markdown-it-py
210
+ [codecov-badge]: https://codecov.io/gh/executablebooks/markdown-it-py/branch/master/graph/badge.svg
211
+ [codecov-link]: https://codecov.io/gh/executablebooks/markdown-it-py
212
+ [install-badge]: https://img.shields.io/pypi/dw/markdown-it-py?label=pypi%20installs
213
+ [install-link]: https://pypistats.org/packages/markdown-it-py
214
+
215
+ [CommonMark spec]: http://spec.commonmark.org/
216
+ [markdown-it]: https://github.com/markdown-it/markdown-it
217
+ [markdown-it-readme]: https://github.com/markdown-it/markdown-it/blob/master/README.md
218
+ [md-security]: https://markdown-it-py.readthedocs.io/en/latest/security.html
219
+ [md-performance]: https://markdown-it-py.readthedocs.io/en/latest/performance.html
220
+ [md-plugins]: https://markdown-it-py.readthedocs.io/en/latest/plugins.html
221
+
.cache/pip/http-v2/5/e/c/8/b/5ec8b58bc827caa12672b72c08527dbd1c5456edeea815f1e76cb526 ADDED
Binary file (1.19 kB). View file
 
.cache/pip/http-v2/6/4/c/f/c/64cfc03e83f9fad4049b1d2a1d785c9273270a4ab9788b538f5054e3 ADDED
Binary file (1.87 kB). View file
 
.cache/pip/http-v2/6/5/1/e/5/651e58859e8db8c99b9e7068d03984cfd4577518ff0e021c717afbf4 ADDED
Binary file (1.27 kB). View file
 
.cache/pip/http-v2/6/5/1/e/5/651e58859e8db8c99b9e7068d03984cfd4577518ff0e021c717afbf4.body ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Metadata-Version: 2.1
2
+ Name: cycler
3
+ Version: 0.12.1
4
+ Summary: Composable style cycles
5
+ Author-email: Thomas A Caswell <matplotlib-users@python.org>
6
+ License: Copyright (c) 2015, matplotlib project
7
+ All rights reserved.
8
+
9
+ Redistribution and use in source and binary forms, with or without
10
+ modification, are permitted provided that the following conditions are met:
11
+
12
+ * Redistributions of source code must retain the above copyright notice, this
13
+ list of conditions and the following disclaimer.
14
+
15
+ * Redistributions in binary form must reproduce the above copyright notice,
16
+ this list of conditions and the following disclaimer in the documentation
17
+ and/or other materials provided with the distribution.
18
+
19
+ * Neither the name of the matplotlib project nor the names of its
20
+ contributors may be used to endorse or promote products derived from
21
+ this software without specific prior written permission.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
27
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
31
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
+ Project-URL: homepage, https://matplotlib.org/cycler/
34
+ Project-URL: repository, https://github.com/matplotlib/cycler
35
+ Keywords: cycle kwargs
36
+ Classifier: License :: OSI Approved :: BSD License
37
+ Classifier: Development Status :: 4 - Beta
38
+ Classifier: Programming Language :: Python :: 3
39
+ Classifier: Programming Language :: Python :: 3.8
40
+ Classifier: Programming Language :: Python :: 3.9
41
+ Classifier: Programming Language :: Python :: 3.10
42
+ Classifier: Programming Language :: Python :: 3.11
43
+ Classifier: Programming Language :: Python :: 3.12
44
+ Classifier: Programming Language :: Python :: 3 :: Only
45
+ Requires-Python: >=3.8
46
+ Description-Content-Type: text/x-rst
47
+ License-File: LICENSE
48
+ Provides-Extra: docs
49
+ Requires-Dist: ipython ; extra == 'docs'
50
+ Requires-Dist: matplotlib ; extra == 'docs'
51
+ Requires-Dist: numpydoc ; extra == 'docs'
52
+ Requires-Dist: sphinx ; extra == 'docs'
53
+ Provides-Extra: tests
54
+ Requires-Dist: pytest ; extra == 'tests'
55
+ Requires-Dist: pytest-cov ; extra == 'tests'
56
+ Requires-Dist: pytest-xdist ; extra == 'tests'
57
+
58
+ |PyPi|_ |Conda|_ |Supported Python versions|_ |GitHub Actions|_ |Codecov|_
59
+
60
+ .. |PyPi| image:: https://img.shields.io/pypi/v/cycler.svg?style=flat
61
+ .. _PyPi: https://pypi.python.org/pypi/cycler
62
+
63
+ .. |Conda| image:: https://img.shields.io/conda/v/conda-forge/cycler
64
+ .. _Conda: https://anaconda.org/conda-forge/cycler
65
+
66
+ .. |Supported Python versions| image:: https://img.shields.io/pypi/pyversions/cycler.svg
67
+ .. _Supported Python versions: https://pypi.python.org/pypi/cycler
68
+
69
+ .. |GitHub Actions| image:: https://github.com/matplotlib/cycler/actions/workflows/tests.yml/badge.svg
70
+ .. _GitHub Actions: https://github.com/matplotlib/cycler/actions
71
+
72
+ .. |Codecov| image:: https://codecov.io/github/matplotlib/cycler/badge.svg?branch=main&service=github
73
+ .. _Codecov: https://codecov.io/github/matplotlib/cycler?branch=main
74
+
75
+ cycler: composable cycles
76
+ =========================
77
+
78
+ Docs: https://matplotlib.org/cycler/
.cache/pip/http-v2/6/6/e/c/7/66ec76a7b6ed4081044f5c7821af293b63c17bc2ac523ff93d5ca7d5 ADDED
Binary file (1.87 kB). View file
 
.cache/pip/http-v2/6/8/0/d/4/680d4dd80dc6a3d2df9b9478dfcc8e81e0e4f130e154a3268b98b877 ADDED
Binary file (1.89 kB). View file
 
.cache/pip/http-v2/6/9/2/f/2/692f2804b6b8394551c77857160a003c2da933441522c71fd20e4ca4 ADDED
Binary file (1.26 kB). View file
 
.cache/pip/http-v2/6/b/5/3/a/6b53a9dd0e4fce887cc28c1a921aa1befe8c1a82e6c213d2542d2acb ADDED
Binary file (1.85 kB). View file
 
.cache/pip/http-v2/6/b/5/3/a/6b53a9dd0e4fce887cc28c1a921aa1befe8c1a82e6c213d2542d2acb.body ADDED
Binary file (14.8 kB). View file