@djlint/linux-s390x-gnu 1.54.0 → 1.54.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -25
- package/python/bin/python3 +0 -0
- package/python/lib/python3.15/__phello__/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__phello__/__pycache__/spam.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/__future__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/__hello__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_aix_support.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_android_support.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_apple_support.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_ast_unparse.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_collections_abc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_colorize.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_compat_pickle.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_ios_support.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_markupbase.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_missing_stdlib_info.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_opcode_metadata.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_osx_support.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_py_abc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_py_warnings.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_pydatetime.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_pydecimal.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_pyio.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_pylong.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_sitebuiltins.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_strptime.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_sysconfigdata__linux_s390x-linux-gnu.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_threading_local.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/_weakrefset.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/abc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/annotationlib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/antigravity.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/argparse.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/ast.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/base64.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/bdb.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/bisect.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/bz2.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/cProfile.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/calendar.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/cmd.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/code.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/codecs.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/codeop.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/colorsys.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/compileall.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/configparser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/contextlib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/contextvars.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/copy.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/copyreg.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/csv.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/dataclasses.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/datetime.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/decimal.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/difflib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/dis.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/doctest.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/enum.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/filecmp.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/fileinput.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/fnmatch.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/fractions.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/ftplib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/functools.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/genericpath.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/getopt.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/getpass.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/gettext.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/glob.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/graphlib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/gzip.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/hashlib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/heapq.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/hmac.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/imaplib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/inspect.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/io.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/ipaddress.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/keyword.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/linecache.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/locale.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/lzma.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/mailbox.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/mimetypes.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/modulefinder.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/netrc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/ntpath.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/nturl2path.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/numbers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/opcode.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/operator.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/optparse.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/os.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pdb.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pickle.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pickletools.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pkgutil.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/platform.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/plistlib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/poplib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/posixpath.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pprint.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/profile.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pstats.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pty.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/py_compile.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pyclbr.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/pydoc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/queue.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/quopri.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/random.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/reprlib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/rlcompleter.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/runpy.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/sched.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/secrets.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/selectors.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/shelve.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/shlex.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/shutil.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/signal.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/site.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/smtplib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/socket.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/socketserver.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/ssl.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/stat.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/statistics.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/stringprep.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/struct.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/subprocess.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/symtable.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/tabnanny.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/tarfile.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/tempfile.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/textwrap.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/this.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/threading.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/timeit.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/token.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/tokenize.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/trace.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/traceback.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/tracemalloc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/tty.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/types.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/typing.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/uuid.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/warnings.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/wave.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/weakref.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/webbrowser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/zipapp.cpython-315.pyc +0 -0
- package/python/lib/python3.15/__pycache__/zipimport.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_ast_unparse.py +1165 -0
- package/python/lib/python3.15/_collections_abc.py +1183 -0
- package/python/lib/python3.15/_colorize.py +647 -0
- package/python/lib/python3.15/_compat_pickle.py +249 -0
- package/python/lib/python3.15/_missing_stdlib_info.py +32 -0
- package/python/lib/python3.15/_opcode_metadata.py +387 -0
- package/python/lib/python3.15/_osx_support.py +580 -0
- package/python/lib/python3.15/_py_warnings.py +928 -0
- package/python/lib/python3.15/_pydatetime.py +2779 -0
- package/python/lib/python3.15/_pydecimal.py +6514 -0
- package/python/lib/python3.15/_pyio.py +2788 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/_module_completer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/_threading_handler.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/base_eventqueue.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/commands.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/completing_reader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/console.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/content.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/fancy_termios.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/fancycompleter.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/historical_reader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/input.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/keymap.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/layout.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/main.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/pager.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/reader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/readline.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/render.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/simple_interact.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/terminfo.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/trace.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/types.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/unix_console.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/unix_eventqueue.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/windows_console.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/__pycache__/windows_eventqueue.cpython-315.pyc +0 -0
- package/python/lib/python3.15/_pyrepl/_module_completer.py +580 -0
- package/python/lib/python3.15/_pyrepl/commands.py +521 -0
- package/python/lib/python3.15/_pyrepl/completing_reader.py +332 -0
- package/python/lib/python3.15/_pyrepl/console.py +295 -0
- package/python/lib/python3.15/_pyrepl/content.py +136 -0
- package/python/lib/python3.15/_pyrepl/fancycompleter.py +213 -0
- package/python/lib/python3.15/_pyrepl/historical_reader.py +423 -0
- package/python/lib/python3.15/_pyrepl/input.py +115 -0
- package/python/lib/python3.15/_pyrepl/layout.py +268 -0
- package/python/lib/python3.15/_pyrepl/pager.py +175 -0
- package/python/lib/python3.15/_pyrepl/reader.py +1035 -0
- package/python/lib/python3.15/_pyrepl/readline.py +650 -0
- package/python/lib/python3.15/_pyrepl/render.py +399 -0
- package/python/lib/python3.15/_pyrepl/simple_interact.py +185 -0
- package/python/lib/python3.15/_pyrepl/trace.py +40 -0
- package/python/lib/python3.15/_pyrepl/types.py +16 -0
- package/python/lib/python3.15/_pyrepl/unix_console.py +1085 -0
- package/python/lib/python3.15/_pyrepl/utils.py +456 -0
- package/python/lib/python3.15/_pyrepl/windows_console.py +864 -0
- package/python/lib/python3.15/_sitebuiltins.py +101 -0
- package/python/lib/python3.15/_strptime.py +851 -0
- package/python/lib/python3.15/_sysconfig_vars__linux_s390x-linux-gnu.json +1196 -0
- package/python/lib/python3.15/_sysconfigdata__linux_s390x-linux-gnu.py +1182 -0
- package/python/lib/python3.15/_threading_local.py +120 -0
- package/python/lib/python3.15/annotationlib.py +1220 -0
- package/python/lib/python3.15/argparse.py +2974 -0
- package/python/lib/python3.15/ast.py +718 -0
- package/python/lib/python3.15/asyncio/__main__.py +269 -0
- package/python/lib/python3.15/asyncio/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/base_events.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/base_futures.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/base_subprocess.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/base_tasks.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/constants.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/coroutines.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/events.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/exceptions.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/format_helpers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/futures.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/graph.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/locks.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/log.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/mixins.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/proactor_events.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/protocols.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/queues.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/runners.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/selector_events.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/sslproto.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/staggered.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/streams.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/subprocess.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/taskgroups.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/tasks.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/threads.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/timeouts.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/tools.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/transports.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/trsock.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/unix_events.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/windows_events.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/__pycache__/windows_utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/asyncio/base_events.py +2098 -0
- package/python/lib/python3.15/asyncio/futures.py +482 -0
- package/python/lib/python3.15/asyncio/proactor_events.py +923 -0
- package/python/lib/python3.15/asyncio/selector_events.py +1351 -0
- package/python/lib/python3.15/asyncio/staggered.py +178 -0
- package/python/lib/python3.15/asyncio/streams.py +790 -0
- package/python/lib/python3.15/asyncio/taskgroups.py +334 -0
- package/python/lib/python3.15/asyncio/tasks.py +1154 -0
- package/python/lib/python3.15/asyncio/tools.py +289 -0
- package/python/lib/python3.15/asyncio/unix_events.py +1031 -0
- package/python/lib/python3.15/asyncio/windows_events.py +899 -0
- package/python/lib/python3.15/base64.py +498 -0
- package/python/lib/python3.15/bdb.py +1205 -0
- package/python/lib/python3.15/build-details.json +61 -0
- package/python/lib/python3.15/cProfile.py +13 -0
- package/python/lib/python3.15/calendar.py +997 -0
- package/python/lib/python3.15/code.py +396 -0
- package/python/lib/python3.15/codeop.py +154 -0
- package/python/lib/python3.15/collections/__init__.py +1667 -0
- package/python/lib/python3.15/collections/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compileall.py +479 -0
- package/python/lib/python3.15/compression/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compression/__pycache__/bz2.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compression/__pycache__/gzip.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compression/__pycache__/lzma.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compression/__pycache__/zlib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compression/_common/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compression/_common/__pycache__/_streams.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compression/zstd/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/compression/zstd/__pycache__/_zstdfile.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/futures/__init__.py +51 -0
- package/python/lib/python3.15/concurrent/futures/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/futures/__pycache__/_base.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/futures/__pycache__/interpreter.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/futures/__pycache__/process.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/futures/__pycache__/thread.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/futures/_base.py +707 -0
- package/python/lib/python3.15/concurrent/futures/process.py +1060 -0
- package/python/lib/python3.15/concurrent/interpreters/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/interpreters/__pycache__/_crossinterp.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/interpreters/__pycache__/_queues.cpython-315.pyc +0 -0
- package/python/lib/python3.15/concurrent/interpreters/_queues.py +289 -0
- package/python/lib/python3.15/contextlib.py +859 -0
- package/python/lib/python3.15/copy.py +300 -0
- package/python/lib/python3.15/csv.py +536 -0
- package/python/lib/python3.15/ctypes/__init__.py +684 -0
- package/python/lib/python3.15/ctypes/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/__pycache__/_aix.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/__pycache__/_endian.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/__pycache__/_layout.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/__pycache__/util.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/__pycache__/wintypes.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/_layout.py +331 -0
- package/python/lib/python3.15/ctypes/macholib/__init__.py +15 -0
- package/python/lib/python3.15/ctypes/macholib/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/macholib/__pycache__/dyld.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/macholib/__pycache__/dylib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/macholib/__pycache__/framework.cpython-315.pyc +0 -0
- package/python/lib/python3.15/ctypes/util.py +503 -0
- package/python/lib/python3.15/curses/__init__.py +101 -0
- package/python/lib/python3.15/curses/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/curses/__pycache__/ascii.cpython-315.pyc +0 -0
- package/python/lib/python3.15/curses/__pycache__/has_key.cpython-315.pyc +0 -0
- package/python/lib/python3.15/curses/__pycache__/panel.cpython-315.pyc +0 -0
- package/python/lib/python3.15/curses/__pycache__/textpad.cpython-315.pyc +0 -0
- package/python/lib/python3.15/curses/has_key.py +192 -0
- package/python/lib/python3.15/dataclasses.py +1826 -0
- package/python/lib/python3.15/dbm/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/dbm/__pycache__/dumb.cpython-315.pyc +0 -0
- package/python/lib/python3.15/dbm/__pycache__/gnu.cpython-315.pyc +0 -0
- package/python/lib/python3.15/dbm/__pycache__/ndbm.cpython-315.pyc +0 -0
- package/python/lib/python3.15/dbm/__pycache__/sqlite3.cpython-315.pyc +0 -0
- package/python/lib/python3.15/dbm/dumb.py +346 -0
- package/python/lib/python3.15/dbm/sqlite3.py +148 -0
- package/python/lib/python3.15/decimal.py +109 -0
- package/python/lib/python3.15/difflib.py +2105 -0
- package/python/lib/python3.15/dis.py +1172 -0
- package/python/lib/python3.15/doctest.py +2998 -0
- package/python/lib/python3.15/email/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/_encoded_words.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/_header_value_parser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/_parseaddr.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/_policybase.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/base64mime.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/charset.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/contentmanager.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/encoders.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/errors.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/feedparser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/generator.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/header.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/headerregistry.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/iterators.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/message.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/parser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/policy.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/quoprimime.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/__pycache__/utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/_header_value_parser.py +3216 -0
- package/python/lib/python3.15/email/base64mime.py +114 -0
- package/python/lib/python3.15/email/charset.py +442 -0
- package/python/lib/python3.15/email/contentmanager.py +242 -0
- package/python/lib/python3.15/email/errors.py +117 -0
- package/python/lib/python3.15/email/headerregistry.py +616 -0
- package/python/lib/python3.15/email/mime/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/mime/__pycache__/application.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/mime/__pycache__/audio.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/mime/__pycache__/base.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/mime/__pycache__/image.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/mime/__pycache__/message.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/mime/__pycache__/multipart.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/mime/__pycache__/nonmultipart.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/mime/__pycache__/text.cpython-315.pyc +0 -0
- package/python/lib/python3.15/email/utils.py +493 -0
- package/python/lib/python3.15/encodings/__init__.py +178 -0
- package/python/lib/python3.15/encodings/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/_win_cp_codecs.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/aliases.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/ascii.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/base64_codec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/big5.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/big5hkscs.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/bz2_codec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/charmap.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp037.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1006.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1026.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1125.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1140.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1250.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1251.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1252.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1253.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1254.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1255.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1256.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1257.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp1258.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp273.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp424.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp437.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp500.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp720.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp737.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp775.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp850.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp852.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp855.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp856.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp857.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp858.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp860.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp861.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp862.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp863.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp864.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp865.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp866.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp869.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp874.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp875.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp932.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp949.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/cp950.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/euc_jis_2004.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/euc_jisx0213.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/euc_jp.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/euc_kr.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/gb18030.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/gb2312.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/gbk.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/hex_codec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/hp_roman8.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/hz.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/idna.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso2022_jp.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso2022_jp_1.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso2022_jp_2.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso2022_jp_2004.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso2022_jp_3.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso2022_jp_ext.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso2022_kr.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_1.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_10.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_11.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_13.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_14.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_15.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_16.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_2.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_3.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_4.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_5.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_6.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_7.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_8.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/iso8859_9.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/johab.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/koi8_r.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/koi8_t.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/koi8_u.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/kz1048.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/latin_1.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_arabic.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_croatian.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_cyrillic.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_farsi.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_greek.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_iceland.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_latin2.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_roman.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_romanian.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mac_turkish.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/mbcs.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/oem.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/palmos.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/ptcp154.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/punycode.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/quopri_codec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/raw_unicode_escape.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/rot_13.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/shift_jis.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/shift_jis_2004.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/shift_jisx0213.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/tis_620.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/undefined.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/unicode_escape.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_16.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_16_be.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_16_le.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_32.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_32_be.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_32_le.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_7.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_8.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/utf_8_sig.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/uu_codec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/__pycache__/zlib_codec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/encodings/aliases.py +627 -0
- package/python/lib/python3.15/encodings/idna.py +388 -0
- package/python/lib/python3.15/encodings/punycode.py +253 -0
- package/python/lib/python3.15/encodings/uu_codec.py +103 -0
- package/python/lib/python3.15/enum.py +2198 -0
- package/python/lib/python3.15/fractions.py +1078 -0
- package/python/lib/python3.15/ftplib.py +975 -0
- package/python/lib/python3.15/functools.py +1208 -0
- package/python/lib/python3.15/genericpath.py +220 -0
- package/python/lib/python3.15/getpass.py +450 -0
- package/python/lib/python3.15/gettext.py +661 -0
- package/python/lib/python3.15/glob.py +553 -0
- package/python/lib/python3.15/graphlib.py +309 -0
- package/python/lib/python3.15/gzip.py +754 -0
- package/python/lib/python3.15/hashlib.py +297 -0
- package/python/lib/python3.15/heapq.py +611 -0
- package/python/lib/python3.15/hmac.py +293 -0
- package/python/lib/python3.15/html/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/html/__pycache__/entities.cpython-315.pyc +0 -0
- package/python/lib/python3.15/html/__pycache__/parser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/http/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/http/__pycache__/client.cpython-315.pyc +0 -0
- package/python/lib/python3.15/http/__pycache__/cookiejar.cpython-315.pyc +0 -0
- package/python/lib/python3.15/http/__pycache__/cookies.cpython-315.pyc +0 -0
- package/python/lib/python3.15/http/__pycache__/server.cpython-315.pyc +0 -0
- package/python/lib/python3.15/http/client.py +1614 -0
- package/python/lib/python3.15/http/cookiejar.py +2138 -0
- package/python/lib/python3.15/http/cookies.py +652 -0
- package/python/lib/python3.15/http/server.py +1177 -0
- package/python/lib/python3.15/imaplib.py +2106 -0
- package/python/lib/python3.15/importlib/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/__pycache__/_abc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/__pycache__/_bootstrap.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/__pycache__/_bootstrap_external.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/__pycache__/abc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/__pycache__/machinery.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/__pycache__/readers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/__pycache__/simple.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/__pycache__/util.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/_abc.py +21 -0
- package/python/lib/python3.15/importlib/_bootstrap.py +1553 -0
- package/python/lib/python3.15/importlib/_bootstrap_external.py +1591 -0
- package/python/lib/python3.15/importlib/abc.py +251 -0
- package/python/lib/python3.15/importlib/machinery.py +51 -0
- package/python/lib/python3.15/importlib/metadata/__init__.py +1206 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/_adapters.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/_collections.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/_context.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/_functools.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/_itertools.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/_meta.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/_text.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/_typing.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/__pycache__/diagnose.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/metadata/_adapters.py +136 -0
- package/python/lib/python3.15/importlib/metadata/_collections.py +34 -0
- package/python/lib/python3.15/importlib/metadata/_context.py +118 -0
- package/python/lib/python3.15/importlib/metadata/_functools.py +136 -0
- package/python/lib/python3.15/importlib/metadata/_itertools.py +171 -0
- package/python/lib/python3.15/importlib/metadata/_meta.py +71 -0
- package/python/lib/python3.15/importlib/metadata/_typing.py +15 -0
- package/python/lib/python3.15/importlib/resources/__init__.py +40 -0
- package/python/lib/python3.15/importlib/resources/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/resources/__pycache__/_adapters.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/resources/__pycache__/_common.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/resources/__pycache__/_functional.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/resources/__pycache__/_itertools.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/resources/__pycache__/abc.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/resources/__pycache__/readers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/resources/__pycache__/simple.cpython-315.pyc +0 -0
- package/python/lib/python3.15/importlib/resources/_common.py +191 -0
- package/python/lib/python3.15/importlib/resources/_functional.py +84 -0
- package/python/lib/python3.15/importlib/resources/abc.py +189 -0
- package/python/lib/python3.15/importlib/resources/readers.py +202 -0
- package/python/lib/python3.15/importlib/resources/simple.py +106 -0
- package/python/lib/python3.15/inspect.py +3511 -0
- package/python/lib/python3.15/ipaddress.py +2431 -0
- package/python/lib/python3.15/json/__init__.py +395 -0
- package/python/lib/python3.15/json/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/json/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/json/__pycache__/decoder.cpython-315.pyc +0 -0
- package/python/lib/python3.15/json/__pycache__/encoder.cpython-315.pyc +0 -0
- package/python/lib/python3.15/json/__pycache__/scanner.cpython-315.pyc +0 -0
- package/python/lib/python3.15/json/__pycache__/tool.cpython-315.pyc +0 -0
- package/python/lib/python3.15/json/decoder.py +377 -0
- package/python/lib/python3.15/json/encoder.py +459 -0
- package/python/lib/python3.15/json/scanner.py +74 -0
- package/python/lib/python3.15/json/tool.py +123 -0
- package/python/lib/python3.15/keyword.py +65 -0
- package/python/lib/python3.15/lib-dynload/_dbm.cpython-315-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.15/linecache.py +339 -0
- package/python/lib/python3.15/locale.py +2007 -0
- package/python/lib/python3.15/logging/__init__.py +2369 -0
- package/python/lib/python3.15/logging/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/logging/__pycache__/config.cpython-315.pyc +0 -0
- package/python/lib/python3.15/logging/__pycache__/handlers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/logging/handlers.py +1667 -0
- package/python/lib/python3.15/mailbox.py +2225 -0
- package/python/lib/python3.15/mimetypes.py +768 -0
- package/python/lib/python3.15/modulefinder.py +680 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/connection.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/context.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/forkserver.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/heap.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/managers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/pool.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/popen_fork.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/popen_forkserver.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/popen_spawn_posix.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/popen_spawn_win32.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/process.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/queues.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/reduction.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/resource_sharer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/resource_tracker.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/shared_memory.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/sharedctypes.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/spawn.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/synchronize.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/__pycache__/util.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/connection.py +1240 -0
- package/python/lib/python3.15/multiprocessing/context.py +408 -0
- package/python/lib/python3.15/multiprocessing/dummy/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/dummy/__pycache__/connection.cpython-315.pyc +0 -0
- package/python/lib/python3.15/multiprocessing/forkserver.py +493 -0
- package/python/lib/python3.15/multiprocessing/heap.py +333 -0
- package/python/lib/python3.15/multiprocessing/resource_tracker.py +495 -0
- package/python/lib/python3.15/multiprocessing/sharedctypes.py +245 -0
- package/python/lib/python3.15/netrc.py +205 -0
- package/python/lib/python3.15/ntpath.py +896 -0
- package/python/lib/python3.15/opcode.py +135 -0
- package/python/lib/python3.15/optparse.py +1673 -0
- package/python/lib/python3.15/os.py +1217 -0
- package/python/lib/python3.15/pathlib/__init__.py +1508 -0
- package/python/lib/python3.15/pathlib/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/pathlib/__pycache__/_local.cpython-315.pyc +0 -0
- package/python/lib/python3.15/pathlib/__pycache__/_os.cpython-315.pyc +0 -0
- package/python/lib/python3.15/pathlib/__pycache__/types.cpython-315.pyc +0 -0
- package/python/lib/python3.15/pathlib/_os.py +303 -0
- package/python/lib/python3.15/pathlib/types.py +476 -0
- package/python/lib/python3.15/pdb.py +3899 -0
- package/python/lib/python3.15/pickle.py +1955 -0
- package/python/lib/python3.15/pickletools.py +2934 -0
- package/python/lib/python3.15/pkgutil.py +492 -0
- package/python/lib/python3.15/platform.py +1446 -0
- package/python/lib/python3.15/plistlib.py +949 -0
- package/python/lib/python3.15/poplib.py +479 -0
- package/python/lib/python3.15/posixpath.py +597 -0
- package/python/lib/python3.15/pprint.py +972 -0
- package/python/lib/python3.15/profile.py +623 -0
- package/python/lib/python3.15/profiling/__init__.py +13 -0
- package/python/lib/python3.15/profiling/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__init__.py +23 -0
- package/python/lib/python3.15/profiling/sampling/__main__.py +73 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/_child_monitor.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/_css_utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/_format_utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/_sync_coordinator.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/binary_collector.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/binary_reader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/cli.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/collector.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/constants.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/dump.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/errors.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/gecko_collector.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/heatmap_collector.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/jsonl_collector.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/module_utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/opcode_utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/pstats_collector.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/sample.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/stack_collector.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/__pycache__/string_table.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/_assets/python-logo-only.png +0 -0
- package/python/lib/python3.15/profiling/sampling/_assets/tachyon-logo.png +0 -0
- package/python/lib/python3.15/profiling/sampling/_child_monitor.py +279 -0
- package/python/lib/python3.15/profiling/sampling/_css_utils.py +22 -0
- package/python/lib/python3.15/profiling/sampling/_flamegraph_assets/flamegraph.css +1085 -0
- package/python/lib/python3.15/profiling/sampling/_flamegraph_assets/flamegraph.js +1528 -0
- package/python/lib/python3.15/profiling/sampling/_flamegraph_assets/flamegraph_template.html +464 -0
- package/python/lib/python3.15/profiling/sampling/_format_utils.py +5 -0
- package/python/lib/python3.15/profiling/sampling/_heatmap_assets/heatmap.css +1555 -0
- package/python/lib/python3.15/profiling/sampling/_heatmap_assets/heatmap.js +738 -0
- package/python/lib/python3.15/profiling/sampling/_heatmap_assets/heatmap_index.js +104 -0
- package/python/lib/python3.15/profiling/sampling/_heatmap_assets/heatmap_index_template.html +136 -0
- package/python/lib/python3.15/profiling/sampling/_heatmap_assets/heatmap_pyfile_template.html +131 -0
- package/python/lib/python3.15/profiling/sampling/_heatmap_assets/heatmap_shared.js +64 -0
- package/python/lib/python3.15/profiling/sampling/_shared_assets/base.css +514 -0
- package/python/lib/python3.15/profiling/sampling/_shared_assets/base.js +58 -0
- package/python/lib/python3.15/profiling/sampling/_sync_coordinator.py +261 -0
- package/python/lib/python3.15/profiling/sampling/_vendor/d3/7.8.5/d3.min.js +2 -0
- package/python/lib/python3.15/profiling/sampling/_vendor/d3-flame-graph/4.1.3/d3-flamegraph-tooltip.min.js +1 -0
- package/python/lib/python3.15/profiling/sampling/_vendor/d3-flame-graph/4.1.3/d3-flamegraph.css +46 -0
- package/python/lib/python3.15/profiling/sampling/_vendor/d3-flame-graph/4.1.3/d3-flamegraph.min.js +1 -0
- package/python/lib/python3.15/profiling/sampling/binary_collector.py +159 -0
- package/python/lib/python3.15/profiling/sampling/binary_reader.py +148 -0
- package/python/lib/python3.15/profiling/sampling/cli.py +1462 -0
- package/python/lib/python3.15/profiling/sampling/collector.py +292 -0
- package/python/lib/python3.15/profiling/sampling/constants.py +57 -0
- package/python/lib/python3.15/profiling/sampling/dump.py +295 -0
- package/python/lib/python3.15/profiling/sampling/errors.py +19 -0
- package/python/lib/python3.15/profiling/sampling/gecko_collector.py +1006 -0
- package/python/lib/python3.15/profiling/sampling/heatmap_collector.py +1145 -0
- package/python/lib/python3.15/profiling/sampling/jsonl_collector.py +268 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/__init__.py +200 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/__pycache__/collector.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/__pycache__/constants.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/__pycache__/display.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/__pycache__/trend_tracker.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/__pycache__/widgets.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/collector.py +1112 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/constants.py +65 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/display.py +240 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/trend_tracker.py +157 -0
- package/python/lib/python3.15/profiling/sampling/live_collector/widgets.py +1090 -0
- package/python/lib/python3.15/profiling/sampling/module_utils.py +102 -0
- package/python/lib/python3.15/profiling/sampling/opcode_utils.py +94 -0
- package/python/lib/python3.15/profiling/sampling/pstats_collector.py +429 -0
- package/python/lib/python3.15/profiling/sampling/sample.py +665 -0
- package/python/lib/python3.15/profiling/sampling/stack_collector.py +928 -0
- package/python/lib/python3.15/profiling/sampling/string_table.py +53 -0
- package/python/lib/python3.15/profiling/tracing/__init__.py +220 -0
- package/python/lib/python3.15/profiling/tracing/__main__.py +6 -0
- package/python/lib/python3.15/profiling/tracing/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/tracing/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/tracing/__pycache__/_utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/profiling/tracing/_utils.py +32 -0
- package/python/lib/python3.15/pstats.py +840 -0
- package/python/lib/python3.15/py_compile.py +214 -0
- package/python/lib/python3.15/pyclbr.py +313 -0
- package/python/lib/python3.15/pydoc.py +2843 -0
- package/python/lib/python3.15/random.py +1087 -0
- package/python/lib/python3.15/re/__init__.py +442 -0
- package/python/lib/python3.15/re/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/re/__pycache__/_casefix.cpython-315.pyc +0 -0
- package/python/lib/python3.15/re/__pycache__/_compiler.cpython-315.pyc +0 -0
- package/python/lib/python3.15/re/__pycache__/_constants.cpython-315.pyc +0 -0
- package/python/lib/python3.15/re/__pycache__/_parser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/re/_compiler.py +782 -0
- package/python/lib/python3.15/re/_parser.py +1065 -0
- package/python/lib/python3.15/rlcompleter.py +232 -0
- package/python/lib/python3.15/runpy.py +324 -0
- package/python/lib/python3.15/shelve.py +266 -0
- package/python/lib/python3.15/shutil.py +1663 -0
- package/python/lib/python3.15/site-packages/_yaml/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/_compat.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/_termui_impl.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/_textwrap.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/_utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/_winconsole.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/core.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/decorators.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/exceptions.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/formatting.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/globals.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/parser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/shell_completion.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/termui.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/testing.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/types.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/click/__pycache__/utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/__pycache__/__version__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/__pycache__/_main.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/css/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/css/__pycache__/beautifier.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/css/__pycache__/options.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/tests/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/tests/generated/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier/tests/generated/__pycache__/tests.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/cssbeautifier-2.0.3.dist-info/RECORD +51 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/_cli.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/api.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/const.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/github_output.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/helpers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/lint.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/output.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/reformat.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/sarif_output.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/server.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/settings.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/__pycache__/src.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/attribute_values.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/attributes.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/beautifier.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/class_attributes.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/compress.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/condense.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/css.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/endblocks.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/entities.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/expand.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/indent.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/js.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/load_tags.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/mako.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/formatter/__pycache__/tokenizer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/D058.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/D059.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H009.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H012.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H014.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H016.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H022.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H025.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H036.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H037.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H041.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H042.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H044.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H047.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H048.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H051.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H053.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H054.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/H057.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T001.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T002.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T003.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T027.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T038.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T039.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T041.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T042.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T043.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T044.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/T045.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint/rules/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/djlint-1.54.2.dist-info/METADATA +236 -0
- package/python/lib/python3.15/site-packages/djlint-1.54.2.dist-info/RECORD +73 -0
- package/python/lib/python3.15/site-packages/editorconfig/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/editorconfig/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/editorconfig/__pycache__/exceptions.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/editorconfig/__pycache__/fnmatch.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/editorconfig/__pycache__/handler.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/editorconfig/__pycache__/ini.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/editorconfig/__pycache__/version.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/editorconfig/__pycache__/versiontools.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/editorconfig-0.17.1.dist-info/RECORD +20 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/__pycache__/__version__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/cli/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/directives.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/inputscanner.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/options.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/output.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/pattern.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/templatablepattern.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/token.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/tokenizer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/tokenstream.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/core/__pycache__/whitespacepattern.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/javascript/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/javascript/__pycache__/acorn.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/javascript/__pycache__/beautifier.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/javascript/__pycache__/options.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/javascript/__pycache__/tokenizer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/tests/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/tests/__pycache__/testindentation.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/tests/generated/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/tests/generated/__pycache__/tests.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/__pycache__/evalbased.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/__pycache__/javascriptobfuscator.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/__pycache__/myobfuscate.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/__pycache__/packer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/__pycache__/urlencode.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/tests/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/tests/__pycache__/testjavascriptobfuscator.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/tests/__pycache__/testmyobfuscate.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/tests/__pycache__/testpacker.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier/unpackers/tests/__pycache__/testurlencode.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/jsbeautifier-2.0.3.dist-info/RECORD +42 -0
- package/python/lib/python3.15/site-packages/json5/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/json5/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/json5/__pycache__/host.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/json5/__pycache__/lib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/json5/__pycache__/parser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/json5/__pycache__/tool.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/json5/__pycache__/version.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/json5-0.17.3.dist-info/RECORD +17 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/_meta.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/_typing.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/_version.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/backend.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/gitignore.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/pathspec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/pattern.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/__pycache__/util.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/__pycache__/_utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/__pycache__/agg.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/hyperscan/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/hyperscan/__pycache__/_base.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/hyperscan/__pycache__/base.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/hyperscan/__pycache__/gitignore.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/hyperscan/__pycache__/pathspec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/re2/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/re2/__pycache__/_base.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/re2/__pycache__/base.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/re2/__pycache__/gitignore.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/re2/__pycache__/pathspec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/simple/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/simple/__pycache__/gitignore.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/_backends/simple/__pycache__/pathspec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/patterns/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/patterns/__pycache__/gitwildmatch.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/patterns/gitignore/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/patterns/gitignore/__pycache__/base.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/patterns/gitignore/__pycache__/basic.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pathspec/patterns/gitignore/__pycache__/spec.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/pyyaml-6.0.4.dist-info/METADATA +58 -0
- package/python/lib/python3.15/site-packages/pyyaml-6.0.4.dist-info/RECORD +26 -0
- package/python/lib/python3.15/site-packages/pyyaml-6.0.4.dist-info/WHEEL +7 -0
- package/python/lib/python3.15/site-packages/regex/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/regex/__pycache__/_main.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/regex/__pycache__/_regex_core.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/regex/_main.py +759 -0
- package/python/lib/python3.15/site-packages/regex/_regex.cpython-315-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.15/site-packages/regex/tests/__pycache__/test_regex.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/regex/tests/test_regex.py +4612 -0
- package/python/lib/python3.15/site-packages/regex-2026.11.19.dist-info/METADATA +1060 -0
- package/python/lib/python3.15/site-packages/regex-2026.11.19.dist-info/RECORD +12 -0
- package/python/lib/python3.15/site-packages/regex-2026.11.19.dist-info/WHEEL +7 -0
- package/python/lib/python3.15/site-packages/yaml/__init__.py +390 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/composer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/constructor.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/cyaml.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/dumper.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/emitter.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/error.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/events.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/loader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/nodes.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/parser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/reader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/representer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/resolver.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/scanner.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/serializer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/__pycache__/tokens.cpython-315.pyc +0 -0
- package/python/lib/python3.15/site-packages/yaml/_yaml.cpython-315-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.15/site-packages/yaml/constructor.py +751 -0
- package/python/lib/python3.15/site.py +1159 -0
- package/python/lib/python3.15/socket.py +1003 -0
- package/python/lib/python3.15/socketserver.py +869 -0
- package/python/lib/python3.15/sqlite3/__main__.py +156 -0
- package/python/lib/python3.15/sqlite3/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/sqlite3/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/sqlite3/__pycache__/_completer.cpython-315.pyc +0 -0
- package/python/lib/python3.15/sqlite3/__pycache__/dbapi2.cpython-315.pyc +0 -0
- package/python/lib/python3.15/sqlite3/__pycache__/dump.cpython-315.pyc +0 -0
- package/python/lib/python3.15/sqlite3/_completer.py +111 -0
- package/python/lib/python3.15/ssl.py +1600 -0
- package/python/lib/python3.15/stat.py +227 -0
- package/python/lib/python3.15/statistics.py +1880 -0
- package/python/lib/python3.15/string/__init__.py +323 -0
- package/python/lib/python3.15/string/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/string/__pycache__/templatelib.cpython-315.pyc +0 -0
- package/python/lib/python3.15/stringprep.py +463 -0
- package/python/lib/python3.15/subprocess.py +2509 -0
- package/python/lib/python3.15/symtable.py +452 -0
- package/python/lib/python3.15/sysconfig/__init__.py +797 -0
- package/python/lib/python3.15/sysconfig/__main__.py +250 -0
- package/python/lib/python3.15/sysconfig/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/sysconfig/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/tabnanny.py +345 -0
- package/python/lib/python3.15/tarfile.py +3259 -0
- package/python/lib/python3.15/tempfile.py +1057 -0
- package/python/lib/python3.15/threading.py +1780 -0
- package/python/lib/python3.15/timeit.py +431 -0
- package/python/lib/python3.15/tokenize.py +644 -0
- package/python/lib/python3.15/tomllib/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/tomllib/__pycache__/_parser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/tomllib/__pycache__/_re.cpython-315.pyc +0 -0
- package/python/lib/python3.15/tomllib/__pycache__/_types.cpython-315.pyc +0 -0
- package/python/lib/python3.15/tomllib/_parser.py +776 -0
- package/python/lib/python3.15/tomllib/_re.py +119 -0
- package/python/lib/python3.15/trace.py +749 -0
- package/python/lib/python3.15/traceback.py +2090 -0
- package/python/lib/python3.15/types.py +355 -0
- package/python/lib/python3.15/typing.py +3949 -0
- package/python/lib/python3.15/unittest/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/_log.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/async_case.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/case.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/loader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/main.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/mock.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/result.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/runner.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/signals.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/suite.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/__pycache__/util.cpython-315.pyc +0 -0
- package/python/lib/python3.15/unittest/_log.py +87 -0
- package/python/lib/python3.15/unittest/case.py +1652 -0
- package/python/lib/python3.15/unittest/main.py +280 -0
- package/python/lib/python3.15/unittest/mock.py +3212 -0
- package/python/lib/python3.15/unittest/runner.py +312 -0
- package/python/lib/python3.15/unittest/suite.py +391 -0
- package/python/lib/python3.15/unittest/util.py +187 -0
- package/python/lib/python3.15/urllib/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/urllib/__pycache__/error.cpython-315.pyc +0 -0
- package/python/lib/python3.15/urllib/__pycache__/parse.cpython-315.pyc +0 -0
- package/python/lib/python3.15/urllib/__pycache__/request.cpython-315.pyc +0 -0
- package/python/lib/python3.15/urllib/__pycache__/response.cpython-315.pyc +0 -0
- package/python/lib/python3.15/urllib/__pycache__/robotparser.cpython-315.pyc +0 -0
- package/python/lib/python3.15/urllib/error.py +74 -0
- package/python/lib/python3.15/urllib/parse.py +1407 -0
- package/python/lib/python3.15/urllib/request.py +2177 -0
- package/python/lib/python3.15/uuid.py +1013 -0
- package/python/lib/python3.15/venv/__init__.py +695 -0
- package/python/lib/python3.15/venv/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/venv/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/wave.py +704 -0
- package/python/lib/python3.15/weakref.py +576 -0
- package/python/lib/python3.15/webbrowser.py +841 -0
- package/python/lib/python3.15/wsgiref/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/wsgiref/__pycache__/handlers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/wsgiref/__pycache__/headers.cpython-315.pyc +0 -0
- package/python/lib/python3.15/wsgiref/__pycache__/simple_server.cpython-315.pyc +0 -0
- package/python/lib/python3.15/wsgiref/__pycache__/types.cpython-315.pyc +0 -0
- package/python/lib/python3.15/wsgiref/__pycache__/util.cpython-315.pyc +0 -0
- package/python/lib/python3.15/wsgiref/__pycache__/validate.cpython-315.pyc +0 -0
- package/python/lib/python3.15/wsgiref/handlers.py +576 -0
- package/python/lib/python3.15/wsgiref/simple_server.py +169 -0
- package/python/lib/python3.15/xml/__init__.py +21 -0
- package/python/lib/python3.15/xml/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/__pycache__/utils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/dom/__pycache__/NodeFilter.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/dom/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/dom/__pycache__/domreg.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/dom/__pycache__/expatbuilder.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/dom/__pycache__/minicompat.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/dom/__pycache__/minidom.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/dom/__pycache__/pulldom.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/dom/__pycache__/xmlbuilder.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/etree/ElementTree.py +2111 -0
- package/python/lib/python3.15/xml/etree/__pycache__/ElementInclude.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/etree/__pycache__/ElementPath.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/etree/__pycache__/ElementTree.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/etree/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/etree/__pycache__/cElementTree.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/parsers/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/parsers/__pycache__/expat.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/sax/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/sax/__pycache__/_exceptions.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/sax/__pycache__/expatreader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/sax/__pycache__/handler.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/sax/__pycache__/saxutils.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/sax/__pycache__/xmlreader.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xml/sax/expatreader.py +462 -0
- package/python/lib/python3.15/xml/sax/handler.py +394 -0
- package/python/lib/python3.15/xml/utils.py +37 -0
- package/python/lib/python3.15/xmlrpc/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xmlrpc/__pycache__/client.cpython-315.pyc +0 -0
- package/python/lib/python3.15/xmlrpc/__pycache__/server.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zipapp.py +231 -0
- package/python/lib/python3.15/zipfile/__init__.py +2444 -0
- package/python/lib/python3.15/zipfile/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zipfile/__pycache__/__main__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zipfile/_path/__init__.py +456 -0
- package/python/lib/python3.15/zipfile/_path/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zipfile/_path/__pycache__/_functools.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zipfile/_path/__pycache__/glob.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zipfile/_path/_functools.py +31 -0
- package/python/lib/python3.15/zipimport.py +849 -0
- package/python/lib/python3.15/zoneinfo/__pycache__/__init__.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zoneinfo/__pycache__/_common.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zoneinfo/__pycache__/_tzpath.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zoneinfo/__pycache__/_zoneinfo.cpython-315.pyc +0 -0
- package/python/lib/python3.15/zoneinfo/_tzpath.py +193 -0
- package/python/lib/python3.14/__phello__/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__phello__/__pycache__/spam.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/__future__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/__hello__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_aix_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_android_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_apple_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_ast_unparse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_collections_abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_colorize.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_compat_pickle.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_ios_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_markupbase.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_opcode_metadata.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_osx_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_py_abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_py_warnings.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_pydatetime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_pydecimal.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_pyio.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_pylong.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_sitebuiltins.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_strptime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_sysconfigdata__linux_s390x-linux-gnu.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_threading_local.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_weakrefset.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/annotationlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/antigravity.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/argparse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ast.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/base64.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/bdb.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/bisect.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/bz2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/cProfile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/calendar.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/cmd.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/code.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/codecs.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/codeop.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/colorsys.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/compileall.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/configparser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/contextlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/contextvars.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/copy.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/copyreg.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/csv.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/dataclasses.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/datetime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/decimal.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/difflib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/dis.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/doctest.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/enum.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/filecmp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/fileinput.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/fnmatch.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/fractions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ftplib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/functools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/genericpath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/getopt.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/getpass.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/gettext.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/glob.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/graphlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/gzip.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/hashlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/heapq.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/hmac.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/imaplib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/inspect.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/io.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ipaddress.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/keyword.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/linecache.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/locale.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/lzma.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/mailbox.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/mimetypes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/modulefinder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/netrc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ntpath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/nturl2path.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/numbers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/opcode.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/operator.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/optparse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/os.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pdb.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pickle.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pickletools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pkgutil.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/platform.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/plistlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/poplib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/posixpath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pprint.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/profile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pstats.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pty.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/py_compile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pyclbr.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pydoc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/queue.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/quopri.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/random.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/reprlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/rlcompleter.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/runpy.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/sched.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/secrets.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/selectors.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/shelve.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/shlex.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/shutil.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/signal.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/site.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/smtplib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/socket.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/socketserver.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/sre_compile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/sre_constants.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/sre_parse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ssl.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/stat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/statistics.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/stringprep.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/struct.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/subprocess.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/symtable.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tabnanny.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tarfile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tempfile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/textwrap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/this.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/threading.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/timeit.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/token.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tokenize.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/trace.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/traceback.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tracemalloc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tty.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/typing.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/uuid.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/warnings.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/wave.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/weakref.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/webbrowser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/zipapp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/zipimport.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_ast_unparse.py +0 -1161
- package/python/lib/python3.14/_collections_abc.py +0 -1172
- package/python/lib/python3.14/_colorize.py +0 -355
- package/python/lib/python3.14/_compat_pickle.py +0 -251
- package/python/lib/python3.14/_opcode_metadata.py +0 -371
- package/python/lib/python3.14/_osx_support.py +0 -579
- package/python/lib/python3.14/_py_warnings.py +0 -869
- package/python/lib/python3.14/_pydatetime.py +0 -2734
- package/python/lib/python3.14/_pydecimal.py +0 -6503
- package/python/lib/python3.14/_pyio.py +0 -2764
- package/python/lib/python3.14/_pyrepl/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/_module_completer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/_threading_handler.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/base_eventqueue.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/commands.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/completing_reader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/console.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/fancy_termios.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/historical_reader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/input.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/keymap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/main.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/pager.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/reader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/readline.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/simple_interact.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/terminfo.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/trace.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/unix_console.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/unix_eventqueue.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/windows_console.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/windows_eventqueue.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/_module_completer.py +0 -426
- package/python/lib/python3.14/_pyrepl/commands.py +0 -505
- package/python/lib/python3.14/_pyrepl/completing_reader.py +0 -299
- package/python/lib/python3.14/_pyrepl/console.py +0 -229
- package/python/lib/python3.14/_pyrepl/historical_reader.py +0 -424
- package/python/lib/python3.14/_pyrepl/input.py +0 -114
- package/python/lib/python3.14/_pyrepl/pager.py +0 -175
- package/python/lib/python3.14/_pyrepl/reader.py +0 -773
- package/python/lib/python3.14/_pyrepl/readline.py +0 -621
- package/python/lib/python3.14/_pyrepl/simple_interact.py +0 -186
- package/python/lib/python3.14/_pyrepl/trace.py +0 -34
- package/python/lib/python3.14/_pyrepl/types.py +0 -10
- package/python/lib/python3.14/_pyrepl/unix_console.py +0 -860
- package/python/lib/python3.14/_pyrepl/utils.py +0 -391
- package/python/lib/python3.14/_pyrepl/windows_console.py +0 -735
- package/python/lib/python3.14/_sitebuiltins.py +0 -91
- package/python/lib/python3.14/_strptime.py +0 -822
- package/python/lib/python3.14/_sysconfig_vars__linux_s390x-linux-gnu.json +0 -1166
- package/python/lib/python3.14/_sysconfigdata__linux_s390x-linux-gnu.py +0 -1152
- package/python/lib/python3.14/_threading_local.py +0 -120
- package/python/lib/python3.14/annotationlib.py +0 -1205
- package/python/lib/python3.14/argparse.py +0 -2789
- package/python/lib/python3.14/ast.py +0 -680
- package/python/lib/python3.14/asyncio/__main__.py +0 -248
- package/python/lib/python3.14/asyncio/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/base_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/base_futures.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/base_subprocess.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/base_tasks.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/constants.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/coroutines.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/format_helpers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/futures.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/graph.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/locks.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/log.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/mixins.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/proactor_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/protocols.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/queues.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/runners.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/selector_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/sslproto.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/staggered.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/streams.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/subprocess.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/taskgroups.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/tasks.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/threads.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/timeouts.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/tools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/transports.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/trsock.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/unix_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/windows_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/windows_utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/base_events.py +0 -2089
- package/python/lib/python3.14/asyncio/futures.py +0 -481
- package/python/lib/python3.14/asyncio/proactor_events.py +0 -923
- package/python/lib/python3.14/asyncio/selector_events.py +0 -1337
- package/python/lib/python3.14/asyncio/staggered.py +0 -179
- package/python/lib/python3.14/asyncio/streams.py +0 -804
- package/python/lib/python3.14/asyncio/taskgroups.py +0 -280
- package/python/lib/python3.14/asyncio/tasks.py +0 -1145
- package/python/lib/python3.14/asyncio/tools.py +0 -278
- package/python/lib/python3.14/asyncio/unix_events.py +0 -1031
- package/python/lib/python3.14/asyncio/windows_events.py +0 -906
- package/python/lib/python3.14/base64.py +0 -625
- package/python/lib/python3.14/bdb.py +0 -1214
- package/python/lib/python3.14/build-details.json +0 -58
- package/python/lib/python3.14/cProfile.py +0 -207
- package/python/lib/python3.14/calendar.py +0 -926
- package/python/lib/python3.14/code.py +0 -396
- package/python/lib/python3.14/codeop.py +0 -154
- package/python/lib/python3.14/collections/__init__.py +0 -1612
- package/python/lib/python3.14/collections/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compileall.py +0 -472
- package/python/lib/python3.14/compression/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/__pycache__/bz2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/__pycache__/gzip.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/__pycache__/lzma.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/__pycache__/zlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/_common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/_common/__pycache__/_streams.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/zstd/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/zstd/__pycache__/_zstdfile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__init__.py +0 -65
- package/python/lib/python3.14/concurrent/futures/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/_base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/interpreter.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/process.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/thread.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/_base.py +0 -680
- package/python/lib/python3.14/concurrent/futures/process.py +0 -1047
- package/python/lib/python3.14/concurrent/interpreters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/interpreters/__pycache__/_crossinterp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/interpreters/__pycache__/_queues.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/interpreters/_queues.py +0 -290
- package/python/lib/python3.14/contextlib.py +0 -814
- package/python/lib/python3.14/copy.py +0 -286
- package/python/lib/python3.14/csv.py +0 -527
- package/python/lib/python3.14/ctypes/__init__.py +0 -686
- package/python/lib/python3.14/ctypes/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/_aix.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/_endian.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/_layout.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/wintypes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/_layout.py +0 -330
- package/python/lib/python3.14/ctypes/macholib/__init__.py +0 -9
- package/python/lib/python3.14/ctypes/macholib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/macholib/__pycache__/dyld.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/macholib/__pycache__/dylib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/macholib/__pycache__/framework.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/util.py +0 -502
- package/python/lib/python3.14/curses/__init__.py +0 -101
- package/python/lib/python3.14/curses/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/__pycache__/ascii.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/__pycache__/has_key.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/__pycache__/panel.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/__pycache__/textpad.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/has_key.py +0 -192
- package/python/lib/python3.14/dataclasses.py +0 -1813
- package/python/lib/python3.14/dbm/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/__pycache__/dumb.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/__pycache__/gnu.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/__pycache__/ndbm.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/__pycache__/sqlite3.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/dumb.py +0 -319
- package/python/lib/python3.14/dbm/sqlite3.py +0 -144
- package/python/lib/python3.14/decimal.py +0 -109
- package/python/lib/python3.14/difflib.py +0 -2066
- package/python/lib/python3.14/dis.py +0 -1157
- package/python/lib/python3.14/doctest.py +0 -2922
- package/python/lib/python3.14/email/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/_encoded_words.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/_header_value_parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/_parseaddr.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/_policybase.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/base64mime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/charset.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/contentmanager.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/encoders.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/errors.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/feedparser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/generator.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/header.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/headerregistry.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/iterators.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/message.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/policy.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/quoprimime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/_header_value_parser.py +0 -3164
- package/python/lib/python3.14/email/base64mime.py +0 -115
- package/python/lib/python3.14/email/charset.py +0 -396
- package/python/lib/python3.14/email/contentmanager.py +0 -254
- package/python/lib/python3.14/email/errors.py +0 -117
- package/python/lib/python3.14/email/headerregistry.py +0 -618
- package/python/lib/python3.14/email/mime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/application.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/audio.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/image.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/message.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/multipart.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/nonmultipart.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/text.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/utils.py +0 -489
- package/python/lib/python3.14/encodings/__init__.py +0 -182
- package/python/lib/python3.14/encodings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/_win_cp_codecs.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/aliases.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/ascii.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/base64_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/big5.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/big5hkscs.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/bz2_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/charmap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp037.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1006.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1026.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1125.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1140.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1250.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1251.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1252.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1253.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1254.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1255.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1256.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1257.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1258.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp273.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp424.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp437.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp500.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp720.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp737.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp775.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp850.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp852.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp855.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp856.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp857.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp858.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp860.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp861.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp862.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp863.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp864.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp865.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp866.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp869.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp874.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp875.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp932.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp949.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp950.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/euc_jis_2004.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/euc_jisx0213.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/euc_jp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/euc_kr.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/gb18030.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/gb2312.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/gbk.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/hex_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/hp_roman8.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/hz.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/idna.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_1.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_2004.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_3.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_ext.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_kr.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_1.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_10.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_11.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_13.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_14.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_15.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_16.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_3.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_4.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_5.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_6.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_7.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_8.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_9.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/johab.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/koi8_r.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/koi8_t.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/koi8_u.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/kz1048.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/latin_1.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_arabic.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_croatian.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_cyrillic.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_farsi.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_greek.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_iceland.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_latin2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_roman.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_romanian.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_turkish.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mbcs.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/oem.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/palmos.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/ptcp154.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/punycode.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/quopri_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/raw_unicode_escape.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/rot_13.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/shift_jis.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/shift_jis_2004.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/shift_jisx0213.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/tis_620.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/undefined.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/unicode_escape.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_16.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_16_be.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_16_le.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_32.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_32_be.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_32_le.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_7.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_8.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_8_sig.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/uu_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/zlib_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/aliases.py +0 -568
- package/python/lib/python3.14/encodings/idna.py +0 -387
- package/python/lib/python3.14/encodings/punycode.py +0 -253
- package/python/lib/python3.14/encodings/uu_codec.py +0 -103
- package/python/lib/python3.14/enum.py +0 -2169
- package/python/lib/python3.14/fractions.py +0 -1078
- package/python/lib/python3.14/ftplib.py +0 -975
- package/python/lib/python3.14/functools.py +0 -1165
- package/python/lib/python3.14/genericpath.py +0 -200
- package/python/lib/python3.14/getpass.py +0 -256
- package/python/lib/python3.14/gettext.py +0 -660
- package/python/lib/python3.14/glob.py +0 -574
- package/python/lib/python3.14/graphlib.py +0 -254
- package/python/lib/python3.14/gzip.py +0 -724
- package/python/lib/python3.14/hashlib.py +0 -255
- package/python/lib/python3.14/heapq.py +0 -611
- package/python/lib/python3.14/hmac.py +0 -279
- package/python/lib/python3.14/html/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/html/__pycache__/entities.cpython-314.pyc +0 -0
- package/python/lib/python3.14/html/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/client.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/cookiejar.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/cookies.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/server.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/client.py +0 -1598
- package/python/lib/python3.14/http/cookiejar.py +0 -2135
- package/python/lib/python3.14/http/cookies.py +0 -637
- package/python/lib/python3.14/http/server.py +0 -1445
- package/python/lib/python3.14/imaplib.py +0 -2090
- package/python/lib/python3.14/importlib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/_abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/_bootstrap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/_bootstrap_external.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/machinery.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/readers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/simple.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/_abc.py +0 -39
- package/python/lib/python3.14/importlib/_bootstrap.py +0 -1570
- package/python/lib/python3.14/importlib/_bootstrap_external.py +0 -1566
- package/python/lib/python3.14/importlib/abc.py +0 -234
- package/python/lib/python3.14/importlib/machinery.py +0 -50
- package/python/lib/python3.14/importlib/metadata/__init__.py +0 -1093
- package/python/lib/python3.14/importlib/metadata/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_adapters.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_collections.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_functools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_itertools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_meta.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_text.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/diagnose.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/_adapters.py +0 -89
- package/python/lib/python3.14/importlib/metadata/_collections.py +0 -30
- package/python/lib/python3.14/importlib/metadata/_functools.py +0 -104
- package/python/lib/python3.14/importlib/metadata/_itertools.py +0 -73
- package/python/lib/python3.14/importlib/metadata/_meta.py +0 -67
- package/python/lib/python3.14/importlib/resources/__init__.py +0 -43
- package/python/lib/python3.14/importlib/resources/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/_adapters.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/_common.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/_functional.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/_itertools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/readers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/simple.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/_common.py +0 -211
- package/python/lib/python3.14/importlib/resources/_functional.py +0 -81
- package/python/lib/python3.14/importlib/resources/abc.py +0 -173
- package/python/lib/python3.14/importlib/resources/readers.py +0 -203
- package/python/lib/python3.14/importlib/resources/simple.py +0 -106
- package/python/lib/python3.14/inspect.py +0 -3425
- package/python/lib/python3.14/ipaddress.py +0 -2421
- package/python/lib/python3.14/json/__init__.py +0 -365
- package/python/lib/python3.14/json/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/decoder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/encoder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/scanner.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/tool.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/decoder.py +0 -364
- package/python/lib/python3.14/json/encoder.py +0 -461
- package/python/lib/python3.14/json/scanner.py +0 -73
- package/python/lib/python3.14/json/tool.py +0 -122
- package/python/lib/python3.14/keyword.py +0 -64
- package/python/lib/python3.14/lib-dynload/_dbm.cpython-314-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.14/linecache.py +0 -302
- package/python/lib/python3.14/locale.py +0 -1992
- package/python/lib/python3.14/logging/__init__.py +0 -2335
- package/python/lib/python3.14/logging/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/logging/__pycache__/config.cpython-314.pyc +0 -0
- package/python/lib/python3.14/logging/__pycache__/handlers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/logging/handlers.py +0 -1654
- package/python/lib/python3.14/mailbox.py +0 -2220
- package/python/lib/python3.14/mimetypes.py +0 -755
- package/python/lib/python3.14/modulefinder.py +0 -671
- package/python/lib/python3.14/multiprocessing/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/connection.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/context.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/forkserver.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/heap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/managers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/pool.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/popen_fork.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/popen_forkserver.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/popen_spawn_posix.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/popen_spawn_win32.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/process.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/queues.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/reduction.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/resource_sharer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/resource_tracker.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/shared_memory.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/sharedctypes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/spawn.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/synchronize.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/connection.py +0 -1233
- package/python/lib/python3.14/multiprocessing/context.py +0 -405
- package/python/lib/python3.14/multiprocessing/dummy/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/dummy/__pycache__/connection.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/forkserver.py +0 -429
- package/python/lib/python3.14/multiprocessing/heap.py +0 -337
- package/python/lib/python3.14/multiprocessing/resource_tracker.py +0 -495
- package/python/lib/python3.14/multiprocessing/sharedctypes.py +0 -240
- package/python/lib/python3.14/netrc.py +0 -200
- package/python/lib/python3.14/ntpath.py +0 -889
- package/python/lib/python3.14/opcode.py +0 -122
- package/python/lib/python3.14/optparse.py +0 -1664
- package/python/lib/python3.14/os.py +0 -1191
- package/python/lib/python3.14/pathlib/__init__.py +0 -1307
- package/python/lib/python3.14/pathlib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/pathlib/__pycache__/_local.cpython-314.pyc +0 -0
- package/python/lib/python3.14/pathlib/__pycache__/_os.cpython-314.pyc +0 -0
- package/python/lib/python3.14/pathlib/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/pathlib/_os.py +0 -530
- package/python/lib/python3.14/pathlib/types.py +0 -430
- package/python/lib/python3.14/pdb.py +0 -3682
- package/python/lib/python3.14/pickle.py +0 -1925
- package/python/lib/python3.14/pickletools.py +0 -2887
- package/python/lib/python3.14/pkgutil.py +0 -474
- package/python/lib/python3.14/platform.py +0 -1515
- package/python/lib/python3.14/plistlib.py +0 -956
- package/python/lib/python3.14/poplib.py +0 -477
- package/python/lib/python3.14/posixpath.py +0 -592
- package/python/lib/python3.14/pprint.py +0 -675
- package/python/lib/python3.14/profile.py +0 -615
- package/python/lib/python3.14/pstats.py +0 -777
- package/python/lib/python3.14/py_compile.py +0 -212
- package/python/lib/python3.14/pyclbr.py +0 -314
- package/python/lib/python3.14/pydoc.py +0 -2890
- package/python/lib/python3.14/random.py +0 -1087
- package/python/lib/python3.14/re/__init__.py +0 -428
- package/python/lib/python3.14/re/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/__pycache__/_casefix.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/__pycache__/_compiler.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/__pycache__/_constants.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/__pycache__/_parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/_compiler.py +0 -782
- package/python/lib/python3.14/re/_parser.py +0 -1066
- package/python/lib/python3.14/rlcompleter.py +0 -222
- package/python/lib/python3.14/runpy.py +0 -326
- package/python/lib/python3.14/shelve.py +0 -250
- package/python/lib/python3.14/shutil.py +0 -1660
- package/python/lib/python3.14/site-packages/_yaml/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_compat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_termui_impl.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_textwrap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_winconsole.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/core.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/decorators.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/formatting.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/globals.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/shell_completion.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/termui.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/testing.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/__version__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/_main.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/beautifier.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/options.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__pycache__/tests.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/RECORD +0 -51
- package/python/lib/python3.14/site-packages/djlint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/_cli.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/api.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/const.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/github_output.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/helpers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/lint.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/output.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/reformat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/sarif_output.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/server.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/settings.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/src.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/attribute_values.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/attributes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/beautifier.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/class_attributes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/compress.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/condense.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/css.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/endblocks.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/entities.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/expand.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/indent.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/js.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/load_tags.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/mako.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/tokenizer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/D058.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/D059.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H009.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H012.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H014.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H016.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H022.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H025.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H036.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H037.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H041.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H042.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H044.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H047.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H048.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H051.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H053.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H054.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H057.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T001.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T002.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T003.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T027.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T038.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T039.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T041.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T042.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T043.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T044.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T045.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/METADATA +0 -236
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/RECORD +0 -73
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/fnmatch.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/handler.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/ini.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/version.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/versiontools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/RECORD +0 -20
- package/python/lib/python3.14/site-packages/jsbeautifier/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/__pycache__/__version__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/cli/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/directives.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/inputscanner.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/options.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/output.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/pattern.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/templatablepattern.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/token.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/tokenizer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/tokenstream.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/whitespacepattern.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/acorn.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/beautifier.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/options.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/tokenizer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/__pycache__/testindentation.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__pycache__/tests.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/evalbased.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/javascriptobfuscator.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/myobfuscate.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/packer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/urlencode.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testjavascriptobfuscator.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testmyobfuscate.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testpacker.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testurlencode.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/RECORD +0 -42
- package/python/lib/python3.14/site-packages/json5/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/host.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/lib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/tool.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/version.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/RECORD +0 -17
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/_meta.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/_typing.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/_version.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/backend.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/gitignore.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/pathspec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/pattern.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/agg.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/_base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/gitignore.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/pathspec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/_base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/gitignore.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/pathspec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/gitignore.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/pathspec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/__pycache__/gitwildmatch.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/basic.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/spec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/METADATA +0 -59
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/RECORD +0 -26
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/WHEEL +0 -7
- package/python/lib/python3.14/site-packages/regex/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/regex/__pycache__/_main.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/regex/__pycache__/_regex_core.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/regex/_main.py +0 -759
- package/python/lib/python3.14/site-packages/regex/_regex.cpython-314-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.14/site-packages/regex/tests/__pycache__/test_regex.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/regex/tests/test_regex.py +0 -4557
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/METADATA +0 -1060
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/RECORD +0 -12
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/WHEEL +0 -7
- package/python/lib/python3.14/site-packages/yaml/__init__.py +0 -390
- package/python/lib/python3.14/site-packages/yaml/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/composer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/constructor.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/cyaml.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/dumper.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/emitter.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/error.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/loader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/nodes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/reader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/representer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/resolver.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/scanner.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/serializer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/tokens.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/_yaml.cpython-314-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.14/site-packages/yaml/constructor.py +0 -748
- package/python/lib/python3.14/site.py +0 -779
- package/python/lib/python3.14/socket.py +0 -994
- package/python/lib/python3.14/socketserver.py +0 -863
- package/python/lib/python3.14/sqlite3/__main__.py +0 -139
- package/python/lib/python3.14/sqlite3/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sqlite3/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sqlite3/__pycache__/dbapi2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sqlite3/__pycache__/dump.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sre_compile.py +0 -7
- package/python/lib/python3.14/sre_constants.py +0 -7
- package/python/lib/python3.14/sre_parse.py +0 -7
- package/python/lib/python3.14/ssl.py +0 -1552
- package/python/lib/python3.14/stat.py +0 -212
- package/python/lib/python3.14/statistics.py +0 -1879
- package/python/lib/python3.14/string/__init__.py +0 -332
- package/python/lib/python3.14/string/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/string/__pycache__/templatelib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/stringprep.py +0 -456
- package/python/lib/python3.14/subprocess.py +0 -2257
- package/python/lib/python3.14/symtable.py +0 -451
- package/python/lib/python3.14/sysconfig/__init__.py +0 -798
- package/python/lib/python3.14/sysconfig/__main__.py +0 -276
- package/python/lib/python3.14/sysconfig/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sysconfig/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tabnanny.py +0 -338
- package/python/lib/python3.14/tarfile.py +0 -3228
- package/python/lib/python3.14/tempfile.py +0 -1057
- package/python/lib/python3.14/threading.py +0 -1643
- package/python/lib/python3.14/timeit.py +0 -378
- package/python/lib/python3.14/tokenize.py +0 -598
- package/python/lib/python3.14/tomllib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tomllib/__pycache__/_parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tomllib/__pycache__/_re.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tomllib/__pycache__/_types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tomllib/_parser.py +0 -765
- package/python/lib/python3.14/tomllib/_re.py +0 -113
- package/python/lib/python3.14/trace.py +0 -751
- package/python/lib/python3.14/traceback.py +0 -1751
- package/python/lib/python3.14/types.py +0 -345
- package/python/lib/python3.14/typing.py +0 -3866
- package/python/lib/python3.14/unittest/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/_log.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/async_case.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/case.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/loader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/main.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/mock.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/result.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/runner.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/signals.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/suite.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/_log.py +0 -86
- package/python/lib/python3.14/unittest/case.py +0 -1628
- package/python/lib/python3.14/unittest/main.py +0 -280
- package/python/lib/python3.14/unittest/mock.py +0 -3208
- package/python/lib/python3.14/unittest/runner.py +0 -313
- package/python/lib/python3.14/unittest/suite.py +0 -379
- package/python/lib/python3.14/unittest/util.py +0 -170
- package/python/lib/python3.14/urllib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/error.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/parse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/request.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/response.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/robotparser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/error.py +0 -74
- package/python/lib/python3.14/urllib/parse.py +0 -1289
- package/python/lib/python3.14/urllib/request.py +0 -2175
- package/python/lib/python3.14/uuid.py +0 -1013
- package/python/lib/python3.14/venv/__init__.py +0 -700
- package/python/lib/python3.14/venv/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/venv/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wave.py +0 -665
- package/python/lib/python3.14/weakref.py +0 -574
- package/python/lib/python3.14/webbrowser.py +0 -763
- package/python/lib/python3.14/wsgiref/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/handlers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/headers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/simple_server.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/validate.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/handlers.py +0 -575
- package/python/lib/python3.14/wsgiref/simple_server.py +0 -161
- package/python/lib/python3.14/xml/__init__.py +0 -20
- package/python/lib/python3.14/xml/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/NodeFilter.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/domreg.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/expatbuilder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/minicompat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/minidom.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/pulldom.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/xmlbuilder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/ElementTree.py +0 -2093
- package/python/lib/python3.14/xml/etree/__pycache__/ElementInclude.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/__pycache__/ElementPath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/__pycache__/ElementTree.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/__pycache__/cElementTree.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/parsers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/parsers/__pycache__/expat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/_exceptions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/expatreader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/handler.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/saxutils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/xmlreader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/expatreader.py +0 -454
- package/python/lib/python3.14/xml/sax/handler.py +0 -387
- package/python/lib/python3.14/xmlrpc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xmlrpc/__pycache__/client.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xmlrpc/__pycache__/server.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipapp.py +0 -231
- package/python/lib/python3.14/zipfile/__init__.py +0 -2488
- package/python/lib/python3.14/zipfile/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipfile/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipfile/_path/__init__.py +0 -455
- package/python/lib/python3.14/zipfile/_path/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipfile/_path/__pycache__/glob.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipimport.py +0 -827
- package/python/lib/python3.14/zoneinfo/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zoneinfo/__pycache__/_common.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zoneinfo/__pycache__/_tzpath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zoneinfo/__pycache__/_zoneinfo.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zoneinfo/_tzpath.py +0 -189
- /package/python/lib/{python3.14 → python3.15}/LICENSE.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/__future__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/__hello__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/__phello__/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/__phello__/spam.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_aix_support.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_android_support.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_apple_support.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_ios_support.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_markupbase.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_py_abc.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pylong.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/__main__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/_threading_handler.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/base_eventqueue.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/fancy_termios.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/keymap.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/main.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/mypy.ini +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/terminfo.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/unix_eventqueue.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_pyrepl/windows_eventqueue.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/_weakrefset.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/abc.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/antigravity.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/base_futures.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/base_subprocess.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/base_tasks.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/constants.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/coroutines.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/events.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/exceptions.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/format_helpers.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/graph.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/locks.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/log.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/mixins.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/protocols.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/queues.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/runners.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/sslproto.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/subprocess.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/threads.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/timeouts.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/transports.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/trsock.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/asyncio/windows_utils.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/bisect.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/bz2.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/cmd.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/codecs.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/colorsys.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/_common/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/_common/_streams.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/bz2.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/gzip.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/lzma.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/zlib.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/zstd/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/compression/zstd/_zstdfile.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/concurrent/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/concurrent/futures/interpreter.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/concurrent/futures/thread.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/concurrent/interpreters/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/concurrent/interpreters/_crossinterp.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/configparser.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/contextvars.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/copyreg.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/_aix.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/_endian.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/macholib/README.ctypes +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/macholib/dyld.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/macholib/dylib.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/macholib/fetch_macholib +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/macholib/fetch_macholib.bat +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/macholib/framework.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/ctypes/wintypes.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/curses/ascii.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/curses/panel.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/curses/textpad.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/datetime.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/dbm/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/dbm/gnu.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/dbm/ndbm.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/_encoded_words.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/_parseaddr.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/_policybase.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/architecture.rst +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/encoders.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/feedparser.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/generator.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/header.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/iterators.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/message.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/application.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/audio.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/base.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/image.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/message.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/multipart.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/nonmultipart.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/mime/text.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/parser.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/policy.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/email/quoprimime.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/_win_cp_codecs.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/ascii.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/base64_codec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/big5.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/big5hkscs.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/bz2_codec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/charmap.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp037.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1006.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1026.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1125.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1140.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1250.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1251.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1252.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1253.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1254.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1255.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1256.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1257.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp1258.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp273.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp424.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp437.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp500.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp720.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp737.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp775.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp850.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp852.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp855.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp856.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp857.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp858.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp860.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp861.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp862.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp863.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp864.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp865.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp866.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp869.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp874.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp875.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp932.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp949.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/cp950.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/euc_jis_2004.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/euc_jisx0213.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/euc_jp.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/euc_kr.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/gb18030.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/gb2312.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/gbk.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/hex_codec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/hp_roman8.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/hz.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso2022_jp.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso2022_jp_1.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso2022_jp_2.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso2022_jp_2004.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso2022_jp_3.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso2022_jp_ext.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso2022_kr.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_1.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_10.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_11.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_13.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_14.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_15.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_16.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_2.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_3.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_4.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_5.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_6.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_7.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_8.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/iso8859_9.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/johab.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/koi8_r.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/koi8_t.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/koi8_u.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/kz1048.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/latin_1.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_arabic.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_croatian.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_cyrillic.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_farsi.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_greek.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_iceland.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_latin2.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_roman.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_romanian.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mac_turkish.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/mbcs.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/oem.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/palmos.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/ptcp154.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/quopri_codec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/raw_unicode_escape.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/rot_13.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/shift_jis.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/shift_jis_2004.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/shift_jisx0213.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/tis_620.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/undefined.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/unicode_escape.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_16.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_16_be.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_16_le.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_32.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_32_be.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_32_le.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_7.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_8.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/utf_8_sig.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/encodings/zlib_codec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/filecmp.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/fileinput.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/fnmatch.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/getopt.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/html/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/html/entities.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/html/parser.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/http/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/importlib/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/importlib/metadata/_text.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/importlib/metadata/diagnose.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/importlib/readers.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/importlib/resources/_adapters.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/importlib/resources/_itertools.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/importlib/simple.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/importlib/util.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/io.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/json/__main__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/lib-dynload/.empty +0 -0
- /package/python/lib/{python3.14 → python3.15}/logging/config.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/lzma.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/dummy/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/dummy/connection.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/managers.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/pool.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/popen_fork.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/popen_forkserver.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/popen_spawn_posix.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/popen_spawn_win32.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/process.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/queues.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/reduction.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/resource_sharer.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/shared_memory.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/spawn.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/synchronize.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/multiprocessing/util.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/nturl2path.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/numbers.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/operator.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/pathlib/_local.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/pty.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/queue.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/quopri.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/re/_casefix.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/re/_constants.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/reprlib.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/sched.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/secrets.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/selectors.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/shlex.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/signal.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/_yaml/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/_compat.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/_termui_impl.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/_textwrap.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/_utils.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/_winconsole.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/core.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/decorators.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/exceptions.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/formatting.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/globals.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/parser.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/py.typed +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/shell_completion.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/termui.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/testing.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/types.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click/utils.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click-8.5.1.dist-info/INSTALLER +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click-8.5.1.dist-info/METADATA +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click-8.5.1.dist-info/RECORD +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click-8.5.1.dist-info/REQUESTED +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click-8.5.1.dist-info/WHEEL +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/click-8.5.1.dist-info/licenses/LICENSE.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/__version__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/_main.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/css/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/css/beautifier.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/css/options.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/tests/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/tests/generated/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier/tests/generated/tests.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier-2.0.3.dist-info/INSTALLER +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier-2.0.3.dist-info/METADATA +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier-2.0.3.dist-info/REQUESTED +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier-2.0.3.dist-info/WHEEL +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier-2.0.3.dist-info/entry_points.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/cssbeautifier-2.0.3.dist-info/top_level.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/__main__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/_cli.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/api.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/const.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/attribute_values.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/attributes.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/beautifier.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/class_attributes.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/compress.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/condense.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/css.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/endblocks.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/entities.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/expand.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/indent.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/js.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/load_tags.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/mako.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/formatter/tokenizer.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/github_output.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/helpers.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/lint.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/output.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/py.typed +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/reformat.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/D058.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/D059.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H009.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H012.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H014.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H016.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H022.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H025.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H036.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H037.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H041.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H042.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H044.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H047.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H048.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H051.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H053.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H054.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/H057.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T001.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T002.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T003.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T027.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T038.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T039.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T041.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T042.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T043.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T044.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/T045.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/rules.yaml +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/sarif_output.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/server.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/settings.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/src.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/djlint/types.pyi +0 -0
- /package/python/lib/{python3.14/site-packages/djlint-1.54.0.dist-info → python3.15/site-packages/djlint-1.54.2.dist-info}/INSTALLER +0 -0
- /package/python/lib/{python3.14/site-packages/djlint-1.54.0.dist-info → python3.15/site-packages/djlint-1.54.2.dist-info}/REQUESTED +0 -0
- /package/python/lib/{python3.14/site-packages/djlint-1.54.0.dist-info → python3.15/site-packages/djlint-1.54.2.dist-info}/WHEEL +0 -0
- /package/python/lib/{python3.14/site-packages/djlint-1.54.0.dist-info → python3.15/site-packages/djlint-1.54.2.dist-info}/entry_points.txt +0 -0
- /package/python/lib/{python3.14/site-packages/djlint-1.54.0.dist-info → python3.15/site-packages/djlint-1.54.2.dist-info}/licenses/LICENSE +0 -0
- /package/python/lib/{python3.14/site-packages/djlint-1.54.0.dist-info → python3.15/site-packages/djlint-1.54.2.dist-info}/licenses/LICENSE-THIRD-PARTY +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/__main__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/exceptions.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/fnmatch.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/handler.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/ini.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/py.typed +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/version.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig/versiontools.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/INSTALLER +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/METADATA +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/REQUESTED +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/WHEEL +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/entry_points.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/licenses/COPYING +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/licenses/LICENSE.BSD +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/licenses/LICENSE.PSF +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/editorconfig-0.17.1.dist-info/top_level.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/__version__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/cli/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/directives.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/inputscanner.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/options.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/output.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/pattern.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/templatablepattern.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/token.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/tokenizer.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/tokenstream.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/core/whitespacepattern.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/javascript/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/javascript/acorn.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/javascript/beautifier.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/javascript/options.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/javascript/tokenizer.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/tests/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/tests/generated/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/tests/generated/tests.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/tests/testindentation.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/evalbased.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/javascriptobfuscator.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/myobfuscate.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/packer.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/tests/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/tests/testjavascriptobfuscator.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/tests/testmyobfuscate.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/tests/testpacker.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/tests/testurlencode.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier/unpackers/urlencode.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier-2.0.3.dist-info/INSTALLER +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier-2.0.3.dist-info/METADATA +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier-2.0.3.dist-info/REQUESTED +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier-2.0.3.dist-info/WHEEL +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier-2.0.3.dist-info/entry_points.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/jsbeautifier-2.0.3.dist-info/top_level.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5/__main__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5/host.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5/lib.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5/parser.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5/py.typed +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5/tool.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5/version.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5-0.17.3.dist-info/INSTALLER +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5-0.17.3.dist-info/METADATA +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5-0.17.3.dist-info/REQUESTED +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5-0.17.3.dist-info/WHEEL +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5-0.17.3.dist-info/entry_points.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5-0.17.3.dist-info/licenses/LICENSE +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/json5-0.17.3.dist-info/top_level.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/_utils.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/agg.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/hyperscan/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/hyperscan/_base.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/hyperscan/base.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/hyperscan/gitignore.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/hyperscan/pathspec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/re2/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/re2/_base.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/re2/base.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/re2/gitignore.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/re2/pathspec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/simple/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/simple/gitignore.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_backends/simple/pathspec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_meta.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_typing.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/_version.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/backend.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/gitignore.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/pathspec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/pattern.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/patterns/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/patterns/gitignore/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/patterns/gitignore/base.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/patterns/gitignore/basic.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/patterns/gitignore/spec.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/patterns/gitwildmatch.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/py.typed +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec/util.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec-1.1.1.dist-info/INSTALLER +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec-1.1.1.dist-info/METADATA +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec-1.1.1.dist-info/RECORD +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec-1.1.1.dist-info/REQUESTED +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec-1.1.1.dist-info/WHEEL +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/pathspec-1.1.1.dist-info/licenses/LICENSE +0 -0
- /package/python/lib/{python3.14/site-packages/pyyaml-6.0.3.dist-info → python3.15/site-packages/pyyaml-6.0.4.dist-info}/INSTALLER +0 -0
- /package/python/lib/{python3.14/site-packages/pyyaml-6.0.3.dist-info → python3.15/site-packages/pyyaml-6.0.4.dist-info}/REQUESTED +0 -0
- /package/python/lib/{python3.14/site-packages/pyyaml-6.0.3.dist-info → python3.15/site-packages/pyyaml-6.0.4.dist-info}/licenses/LICENSE +0 -0
- /package/python/lib/{python3.14/site-packages/pyyaml-6.0.3.dist-info → python3.15/site-packages/pyyaml-6.0.4.dist-info}/top_level.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/regex/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/regex/_regex_core.py +0 -0
- /package/python/lib/{python3.14/site-packages/regex-2026.11.9.dist-info → python3.15/site-packages/regex-2026.11.19.dist-info}/INSTALLER +0 -0
- /package/python/lib/{python3.14/site-packages/regex-2026.11.9.dist-info → python3.15/site-packages/regex-2026.11.19.dist-info}/REQUESTED +0 -0
- /package/python/lib/{python3.14/site-packages/regex-2026.11.9.dist-info → python3.15/site-packages/regex-2026.11.19.dist-info}/licenses/LICENSE.txt +0 -0
- /package/python/lib/{python3.14/site-packages/regex-2026.11.9.dist-info → python3.15/site-packages/regex-2026.11.19.dist-info}/top_level.txt +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/composer.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/cyaml.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/dumper.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/emitter.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/error.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/events.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/loader.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/nodes.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/parser.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/reader.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/representer.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/resolver.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/scanner.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/serializer.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/site-packages/yaml/tokens.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/smtplib.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/sqlite3/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/sqlite3/dbapi2.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/sqlite3/dump.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/string/templatelib.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/struct.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/textwrap.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/this.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/token.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/tomllib/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/tomllib/_types.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/tomllib/mypy.ini +0 -0
- /package/python/lib/{python3.14 → python3.15}/tracemalloc.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/tty.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/unittest/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/unittest/__main__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/unittest/async_case.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/unittest/loader.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/unittest/result.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/unittest/signals.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/urllib/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/urllib/response.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/urllib/robotparser.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/venv/__main__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/venv/scripts/common/Activate.ps1 +0 -0
- /package/python/lib/{python3.14 → python3.15}/venv/scripts/common/activate +0 -0
- /package/python/lib/{python3.14 → python3.15}/venv/scripts/common/activate.fish +0 -0
- /package/python/lib/{python3.14 → python3.15}/venv/scripts/posix/activate.csh +0 -0
- /package/python/lib/{python3.14 → python3.15}/warnings.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/wsgiref/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/wsgiref/headers.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/wsgiref/types.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/wsgiref/util.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/wsgiref/validate.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/dom/NodeFilter.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/dom/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/dom/domreg.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/dom/expatbuilder.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/dom/minicompat.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/dom/minidom.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/dom/pulldom.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/dom/xmlbuilder.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/etree/ElementInclude.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/etree/ElementPath.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/etree/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/etree/cElementTree.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/parsers/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/parsers/expat.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/sax/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/sax/_exceptions.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/sax/saxutils.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xml/sax/xmlreader.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xmlrpc/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xmlrpc/client.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/xmlrpc/server.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/zipfile/__main__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/zipfile/_path/glob.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/zoneinfo/__init__.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/zoneinfo/_common.py +0 -0
- /package/python/lib/{python3.14 → python3.15}/zoneinfo/_zoneinfo.py +0 -0
|
@@ -0,0 +1,2779 @@
|
|
|
1
|
+
"""Pure Python implementation of the datetime module."""
|
|
2
|
+
|
|
3
|
+
__all__ = ("date", "datetime", "time", "timedelta", "timezone", "tzinfo",
|
|
4
|
+
"MINYEAR", "MAXYEAR", "UTC")
|
|
5
|
+
|
|
6
|
+
__name__ = "datetime"
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import time as _time
|
|
10
|
+
import math as _math
|
|
11
|
+
import sys
|
|
12
|
+
from operator import index as _index
|
|
13
|
+
|
|
14
|
+
def _cmp(x, y):
|
|
15
|
+
return 0 if x == y else 1 if x > y else -1
|
|
16
|
+
|
|
17
|
+
def _get_class_module(self):
|
|
18
|
+
module_name = self.__class__.__module__
|
|
19
|
+
if module_name == 'datetime':
|
|
20
|
+
return 'datetime.'
|
|
21
|
+
else:
|
|
22
|
+
return ''
|
|
23
|
+
|
|
24
|
+
MINYEAR = 1
|
|
25
|
+
MAXYEAR = 9999
|
|
26
|
+
_MAXORDINAL = 3652059 # date.max.toordinal()
|
|
27
|
+
|
|
28
|
+
# Utility functions, adapted from Python's Demo/classes/Dates.py, which
|
|
29
|
+
# also assumes the current Gregorian calendar indefinitely extended in
|
|
30
|
+
# both directions. Difference: Dates.py calls January 1 of year 0 day
|
|
31
|
+
# number 1. The code here calls January 1 of year 1 day number 1. This is
|
|
32
|
+
# to match the definition of the "proleptic Gregorian" calendar in Dershowitz
|
|
33
|
+
# and Reingold's "Calendrical Calculations", where it's the base calendar
|
|
34
|
+
# for all computations. See the book for algorithms for converting between
|
|
35
|
+
# proleptic Gregorian ordinals and many other calendar systems.
|
|
36
|
+
|
|
37
|
+
# -1 is a placeholder for indexing purposes.
|
|
38
|
+
_DAYS_IN_MONTH = [-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
|
|
39
|
+
|
|
40
|
+
_DAYS_BEFORE_MONTH = [-1] # -1 is a placeholder for indexing purposes.
|
|
41
|
+
dbm = 0
|
|
42
|
+
for dim in _DAYS_IN_MONTH[1:]:
|
|
43
|
+
_DAYS_BEFORE_MONTH.append(dbm)
|
|
44
|
+
dbm += dim
|
|
45
|
+
del dbm, dim
|
|
46
|
+
|
|
47
|
+
def _is_leap(year):
|
|
48
|
+
"year -> 1 if leap year, else 0."
|
|
49
|
+
return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
|
|
50
|
+
|
|
51
|
+
def _days_before_year(year):
|
|
52
|
+
"year -> number of days before January 1st of year."
|
|
53
|
+
y = year - 1
|
|
54
|
+
return y*365 + y//4 - y//100 + y//400
|
|
55
|
+
|
|
56
|
+
def _days_in_month(year, month):
|
|
57
|
+
"year, month -> number of days in that month in that year."
|
|
58
|
+
assert 1 <= month <= 12, f"month must be in 1..12, not {month}"
|
|
59
|
+
if month == 2 and _is_leap(year):
|
|
60
|
+
return 29
|
|
61
|
+
return _DAYS_IN_MONTH[month]
|
|
62
|
+
|
|
63
|
+
def _days_before_month(year, month):
|
|
64
|
+
"year, month -> number of days in year preceding first day of month."
|
|
65
|
+
assert 1 <= month <= 12, f"month must be in 1..12, not {month}"
|
|
66
|
+
return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year))
|
|
67
|
+
|
|
68
|
+
def _ymd2ord(year, month, day):
|
|
69
|
+
"year, month, day -> ordinal, considering 01-Jan-0001 as day 1."
|
|
70
|
+
assert 1 <= month <= 12, f"month must be in 1..12, not {month}"
|
|
71
|
+
dim = _days_in_month(year, month)
|
|
72
|
+
assert 1 <= day <= dim, f"day must be in 1..{dim}, not {day}"
|
|
73
|
+
return (_days_before_year(year) +
|
|
74
|
+
_days_before_month(year, month) +
|
|
75
|
+
day)
|
|
76
|
+
|
|
77
|
+
_DI400Y = _days_before_year(401) # number of days in 400 years
|
|
78
|
+
_DI100Y = _days_before_year(101) # " " " " 100 "
|
|
79
|
+
_DI4Y = _days_before_year(5) # " " " " 4 "
|
|
80
|
+
|
|
81
|
+
# A 4-year cycle has an extra leap day over what we'd get from pasting
|
|
82
|
+
# together 4 single years.
|
|
83
|
+
assert _DI4Y == 4 * 365 + 1
|
|
84
|
+
|
|
85
|
+
# Similarly, a 400-year cycle has an extra leap day over what we'd get from
|
|
86
|
+
# pasting together 4 100-year cycles.
|
|
87
|
+
assert _DI400Y == 4 * _DI100Y + 1
|
|
88
|
+
|
|
89
|
+
# OTOH, a 100-year cycle has one fewer leap day than we'd get from
|
|
90
|
+
# pasting together 25 4-year cycles.
|
|
91
|
+
assert _DI100Y == 25 * _DI4Y - 1
|
|
92
|
+
|
|
93
|
+
def _ord2ymd(n):
|
|
94
|
+
"ordinal -> (year, month, day), considering 01-Jan-0001 as day 1."
|
|
95
|
+
|
|
96
|
+
# n is a 1-based index, starting at 1-Jan-1. The pattern of leap years
|
|
97
|
+
# repeats exactly every 400 years. The basic strategy is to find the
|
|
98
|
+
# closest 400-year boundary at or before n, then work with the offset
|
|
99
|
+
# from that boundary to n. Life is much clearer if we subtract 1 from
|
|
100
|
+
# n first -- then the values of n at 400-year boundaries are exactly
|
|
101
|
+
# those divisible by _DI400Y:
|
|
102
|
+
#
|
|
103
|
+
# D M Y n n-1
|
|
104
|
+
# -- --- ---- ---------- ----------------
|
|
105
|
+
# 31 Dec -400 -_DI400Y -_DI400Y -1
|
|
106
|
+
# 1 Jan -399 -_DI400Y +1 -_DI400Y 400-year boundary
|
|
107
|
+
# ...
|
|
108
|
+
# 30 Dec 000 -1 -2
|
|
109
|
+
# 31 Dec 000 0 -1
|
|
110
|
+
# 1 Jan 001 1 0 400-year boundary
|
|
111
|
+
# 2 Jan 001 2 1
|
|
112
|
+
# 3 Jan 001 3 2
|
|
113
|
+
# ...
|
|
114
|
+
# 31 Dec 400 _DI400Y _DI400Y -1
|
|
115
|
+
# 1 Jan 401 _DI400Y +1 _DI400Y 400-year boundary
|
|
116
|
+
n -= 1
|
|
117
|
+
n400, n = divmod(n, _DI400Y)
|
|
118
|
+
year = n400 * 400 + 1 # ..., -399, 1, 401, ...
|
|
119
|
+
|
|
120
|
+
# Now n is the (non-negative) offset, in days, from January 1 of year, to
|
|
121
|
+
# the desired date. Now compute how many 100-year cycles precede n.
|
|
122
|
+
# Note that it's possible for n100 to equal 4! In that case 4 full
|
|
123
|
+
# 100-year cycles precede the desired day, which implies the desired
|
|
124
|
+
# day is December 31 at the end of a 400-year cycle.
|
|
125
|
+
n100, n = divmod(n, _DI100Y)
|
|
126
|
+
|
|
127
|
+
# Now compute how many 4-year cycles precede it.
|
|
128
|
+
n4, n = divmod(n, _DI4Y)
|
|
129
|
+
|
|
130
|
+
# And now how many single years. Again n1 can be 4, and again meaning
|
|
131
|
+
# that the desired day is December 31 at the end of the 4-year cycle.
|
|
132
|
+
n1, n = divmod(n, 365)
|
|
133
|
+
|
|
134
|
+
year += n100 * 100 + n4 * 4 + n1
|
|
135
|
+
if n1 == 4 or n100 == 4:
|
|
136
|
+
assert n == 0
|
|
137
|
+
return year-1, 12, 31
|
|
138
|
+
|
|
139
|
+
# Now the year is correct, and n is the offset from January 1. We find
|
|
140
|
+
# the month via an estimate that's either exact or one too large.
|
|
141
|
+
leapyear = n1 == 3 and (n4 != 24 or n100 == 3)
|
|
142
|
+
assert leapyear == _is_leap(year)
|
|
143
|
+
month = (n + 50) >> 5
|
|
144
|
+
preceding = _DAYS_BEFORE_MONTH[month] + (month > 2 and leapyear)
|
|
145
|
+
if preceding > n: # estimate is too large
|
|
146
|
+
month -= 1
|
|
147
|
+
preceding -= _DAYS_IN_MONTH[month] + (month == 2 and leapyear)
|
|
148
|
+
n -= preceding
|
|
149
|
+
assert 0 <= n < _days_in_month(year, month)
|
|
150
|
+
|
|
151
|
+
# Now the year and month are correct, and n is the offset from the
|
|
152
|
+
# start of that month: we're done!
|
|
153
|
+
return year, month, n+1
|
|
154
|
+
|
|
155
|
+
# Month and day names. For localized versions, see the calendar module.
|
|
156
|
+
_MONTHNAMES = [None, "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
|
157
|
+
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
|
|
158
|
+
_DAYNAMES = [None, "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
def _build_struct_time(y, m, d, hh, mm, ss, dstflag):
|
|
162
|
+
wday = (_ymd2ord(y, m, d) + 6) % 7
|
|
163
|
+
dnum = _days_before_month(y, m) + d
|
|
164
|
+
return _time.struct_time((y, m, d, hh, mm, ss, wday, dnum, dstflag))
|
|
165
|
+
|
|
166
|
+
def _format_time(hh, mm, ss, us, timespec='auto'):
|
|
167
|
+
specs = {
|
|
168
|
+
'hours': '{:02d}',
|
|
169
|
+
'minutes': '{:02d}:{:02d}',
|
|
170
|
+
'seconds': '{:02d}:{:02d}:{:02d}',
|
|
171
|
+
'milliseconds': '{:02d}:{:02d}:{:02d}.{:03d}',
|
|
172
|
+
'microseconds': '{:02d}:{:02d}:{:02d}.{:06d}'
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
if timespec == 'auto':
|
|
176
|
+
# Skip trailing microseconds when us==0.
|
|
177
|
+
timespec = 'microseconds' if us else 'seconds'
|
|
178
|
+
elif timespec == 'milliseconds':
|
|
179
|
+
us //= 1000
|
|
180
|
+
try:
|
|
181
|
+
fmt = specs[timespec]
|
|
182
|
+
except KeyError:
|
|
183
|
+
raise ValueError('Unknown timespec value')
|
|
184
|
+
else:
|
|
185
|
+
return fmt.format(hh, mm, ss, us)
|
|
186
|
+
|
|
187
|
+
def _format_offset(off, sep=':'):
|
|
188
|
+
s = ''
|
|
189
|
+
if off is not None:
|
|
190
|
+
if off.days < 0:
|
|
191
|
+
sign = "-"
|
|
192
|
+
off = -off
|
|
193
|
+
else:
|
|
194
|
+
sign = "+"
|
|
195
|
+
hh, mm = divmod(off, timedelta(hours=1))
|
|
196
|
+
mm, ss = divmod(mm, timedelta(minutes=1))
|
|
197
|
+
s += "%s%02d%s%02d" % (sign, hh, sep, mm)
|
|
198
|
+
if ss or ss.microseconds:
|
|
199
|
+
s += "%s%02d" % (sep, ss.seconds)
|
|
200
|
+
|
|
201
|
+
if ss.microseconds:
|
|
202
|
+
s += '.%06d' % ss.microseconds
|
|
203
|
+
return s
|
|
204
|
+
|
|
205
|
+
_normalize_century = None
|
|
206
|
+
def _need_normalize_century():
|
|
207
|
+
global _normalize_century
|
|
208
|
+
if _normalize_century is None:
|
|
209
|
+
try:
|
|
210
|
+
_normalize_century = (
|
|
211
|
+
_time.strftime("%Y", (99, 1, 1, 0, 0, 0, 0, 1, 0)) != "0099")
|
|
212
|
+
except ValueError:
|
|
213
|
+
_normalize_century = True
|
|
214
|
+
return _normalize_century
|
|
215
|
+
|
|
216
|
+
# Correctly substitute for %z and %Z escapes in strftime formats.
|
|
217
|
+
def _wrap_strftime(object, format, timetuple):
|
|
218
|
+
# Don't call utcoffset() or tzname() unless actually needed.
|
|
219
|
+
freplace = None # the string to use for %f
|
|
220
|
+
zreplace = None # the string to use for %z
|
|
221
|
+
colonzreplace = None # the string to use for %:z
|
|
222
|
+
Zreplace = None # the string to use for %Z
|
|
223
|
+
|
|
224
|
+
# Scan format for %z, %:z and %Z escapes, replacing as needed.
|
|
225
|
+
newformat = []
|
|
226
|
+
push = newformat.append
|
|
227
|
+
i, n = 0, len(format)
|
|
228
|
+
while i < n:
|
|
229
|
+
ch = format[i]
|
|
230
|
+
i += 1
|
|
231
|
+
if ch == '%':
|
|
232
|
+
if i < n:
|
|
233
|
+
ch = format[i]
|
|
234
|
+
i += 1
|
|
235
|
+
if ch == 'f':
|
|
236
|
+
if freplace is None:
|
|
237
|
+
freplace = '%06d' % getattr(object,
|
|
238
|
+
'microsecond', 0)
|
|
239
|
+
newformat.append(freplace)
|
|
240
|
+
elif ch == 'z':
|
|
241
|
+
if zreplace is None:
|
|
242
|
+
if hasattr(object, "utcoffset"):
|
|
243
|
+
zreplace = _format_offset(object.utcoffset(), sep="")
|
|
244
|
+
else:
|
|
245
|
+
zreplace = ""
|
|
246
|
+
assert '%' not in zreplace
|
|
247
|
+
newformat.append(zreplace)
|
|
248
|
+
elif ch == ':':
|
|
249
|
+
if i < n:
|
|
250
|
+
ch2 = format[i]
|
|
251
|
+
i += 1
|
|
252
|
+
if ch2 == 'z':
|
|
253
|
+
if colonzreplace is None:
|
|
254
|
+
if hasattr(object, "utcoffset"):
|
|
255
|
+
colonzreplace = _format_offset(object.utcoffset(), sep=":")
|
|
256
|
+
else:
|
|
257
|
+
colonzreplace = ""
|
|
258
|
+
assert '%' not in colonzreplace
|
|
259
|
+
newformat.append(colonzreplace)
|
|
260
|
+
else:
|
|
261
|
+
push('%')
|
|
262
|
+
push(ch)
|
|
263
|
+
push(ch2)
|
|
264
|
+
elif ch == 'Z':
|
|
265
|
+
if Zreplace is None:
|
|
266
|
+
Zreplace = ""
|
|
267
|
+
if hasattr(object, "tzname"):
|
|
268
|
+
s = object.tzname()
|
|
269
|
+
if s is not None:
|
|
270
|
+
# strftime is going to have at this: escape %
|
|
271
|
+
Zreplace = s.replace('%', '%%')
|
|
272
|
+
newformat.append(Zreplace)
|
|
273
|
+
# Note that datetime(1000, 1, 1).strftime('%G') == '1000' so
|
|
274
|
+
# year 1000 for %G can go on the fast path.
|
|
275
|
+
elif (ch in 'YGFC' and timetuple[0] < 1000 and
|
|
276
|
+
_need_normalize_century()):
|
|
277
|
+
if ch == 'G':
|
|
278
|
+
year = int(_time.strftime("%G", timetuple))
|
|
279
|
+
else:
|
|
280
|
+
year = timetuple[0]
|
|
281
|
+
if ch == 'C':
|
|
282
|
+
push('{:02}'.format(year // 100))
|
|
283
|
+
else:
|
|
284
|
+
push('{:04}'.format(year))
|
|
285
|
+
if ch == 'F':
|
|
286
|
+
push('-{:02}-{:02}'.format(*timetuple[1:3]))
|
|
287
|
+
else:
|
|
288
|
+
push('%')
|
|
289
|
+
push(ch)
|
|
290
|
+
else:
|
|
291
|
+
push('%')
|
|
292
|
+
else:
|
|
293
|
+
push(ch)
|
|
294
|
+
newformat = "".join(newformat)
|
|
295
|
+
return _time.strftime(newformat, timetuple)
|
|
296
|
+
|
|
297
|
+
# Helpers for parsing the result of isoformat()
|
|
298
|
+
def _is_ascii_digit(c):
|
|
299
|
+
return c in "0123456789"
|
|
300
|
+
|
|
301
|
+
def _find_isoformat_datetime_separator(dtstr):
|
|
302
|
+
# See the comment in _datetimemodule.c:_find_isoformat_datetime_separator
|
|
303
|
+
len_dtstr = len(dtstr)
|
|
304
|
+
if len_dtstr == 7:
|
|
305
|
+
return 7
|
|
306
|
+
|
|
307
|
+
assert len_dtstr > 7
|
|
308
|
+
date_separator = "-"
|
|
309
|
+
week_indicator = "W"
|
|
310
|
+
|
|
311
|
+
if dtstr[4] == date_separator:
|
|
312
|
+
if dtstr[5] == week_indicator:
|
|
313
|
+
if len_dtstr < 8:
|
|
314
|
+
raise ValueError("Invalid ISO string")
|
|
315
|
+
if len_dtstr > 8 and dtstr[8] == date_separator:
|
|
316
|
+
if len_dtstr == 9:
|
|
317
|
+
raise ValueError("Invalid ISO string")
|
|
318
|
+
if len_dtstr > 10 and _is_ascii_digit(dtstr[10]):
|
|
319
|
+
# This is as far as we need to resolve the ambiguity for
|
|
320
|
+
# the moment - if we have YYYY-Www-##, the separator is
|
|
321
|
+
# either a hyphen at 8 or a number at 10.
|
|
322
|
+
#
|
|
323
|
+
# We'll assume it's a hyphen at 8 because it's way more
|
|
324
|
+
# likely that someone will use a hyphen as a separator than
|
|
325
|
+
# a number, but at this point it's really best effort
|
|
326
|
+
# because this is an extension of the spec anyway.
|
|
327
|
+
# TODO(pganssle): Document this
|
|
328
|
+
return 8
|
|
329
|
+
return 10
|
|
330
|
+
else:
|
|
331
|
+
# YYYY-Www (8)
|
|
332
|
+
return 8
|
|
333
|
+
else:
|
|
334
|
+
# YYYY-MM-DD (10)
|
|
335
|
+
return 10
|
|
336
|
+
else:
|
|
337
|
+
if dtstr[4] == week_indicator:
|
|
338
|
+
# YYYYWww (7) or YYYYWwwd (8)
|
|
339
|
+
idx = 7
|
|
340
|
+
while idx < len_dtstr:
|
|
341
|
+
if not _is_ascii_digit(dtstr[idx]):
|
|
342
|
+
break
|
|
343
|
+
idx += 1
|
|
344
|
+
|
|
345
|
+
if idx < 9:
|
|
346
|
+
return idx
|
|
347
|
+
|
|
348
|
+
if idx % 2 == 0:
|
|
349
|
+
# If the index of the last number is even, it's YYYYWwwd
|
|
350
|
+
return 7
|
|
351
|
+
else:
|
|
352
|
+
return 8
|
|
353
|
+
else:
|
|
354
|
+
# YYYYMMDD (8)
|
|
355
|
+
return 8
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
def _read_isoformat_component(s, n):
|
|
359
|
+
# The caller has verified the string is ASCII, so isdigit() matches only
|
|
360
|
+
# the ASCII digits accepted by the C parser.
|
|
361
|
+
if len(s) != n or not s.isdigit():
|
|
362
|
+
raise ValueError("Invalid isoformat string")
|
|
363
|
+
return int(s)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
def _parse_isoformat_date(dtstr):
|
|
367
|
+
# It is assumed that this is an ASCII-only string of lengths 7, 8 or 10,
|
|
368
|
+
# see the comment on Modules/_datetimemodule.c:_find_isoformat_datetime_separator
|
|
369
|
+
if len(dtstr) not in (7, 8, 10):
|
|
370
|
+
raise ValueError("Invalid isoformat string")
|
|
371
|
+
if not dtstr.isascii():
|
|
372
|
+
raise ValueError("Invalid isoformat string")
|
|
373
|
+
|
|
374
|
+
year = _read_isoformat_component(dtstr[0:4], 4)
|
|
375
|
+
has_sep = dtstr[4] == '-'
|
|
376
|
+
|
|
377
|
+
pos = 4 + has_sep
|
|
378
|
+
if dtstr[pos:pos + 1] == "W":
|
|
379
|
+
# YYYY-?Www-?D?
|
|
380
|
+
pos += 1
|
|
381
|
+
weekno = _read_isoformat_component(dtstr[pos:pos + 2], 2)
|
|
382
|
+
pos += 2
|
|
383
|
+
|
|
384
|
+
dayno = 1
|
|
385
|
+
if len(dtstr) > pos:
|
|
386
|
+
if (dtstr[pos:pos + 1] == '-') != has_sep:
|
|
387
|
+
raise ValueError("Inconsistent use of dash separator")
|
|
388
|
+
|
|
389
|
+
pos += has_sep
|
|
390
|
+
|
|
391
|
+
dayno = _read_isoformat_component(dtstr[pos:pos + 1], 1)
|
|
392
|
+
|
|
393
|
+
return list(_isoweek_to_gregorian(year, weekno, dayno))
|
|
394
|
+
else:
|
|
395
|
+
month = _read_isoformat_component(dtstr[pos:pos + 2], 2)
|
|
396
|
+
pos += 2
|
|
397
|
+
if (dtstr[pos:pos + 1] == "-") != has_sep:
|
|
398
|
+
raise ValueError("Inconsistent use of dash separator")
|
|
399
|
+
|
|
400
|
+
pos += has_sep
|
|
401
|
+
day = _read_isoformat_component(dtstr[pos:pos + 2], 2)
|
|
402
|
+
|
|
403
|
+
return [year, month, day]
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
_FRACTION_CORRECTION = [100000, 10000, 1000, 100, 10]
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
def _parse_hh_mm_ss_ff(tstr):
|
|
410
|
+
# Parses things of the form HH[:?MM[:?SS[{.,}fff[fff]]]]
|
|
411
|
+
len_str = len(tstr)
|
|
412
|
+
|
|
413
|
+
time_comps = [0, 0, 0, 0]
|
|
414
|
+
pos = 0
|
|
415
|
+
for comp in range(0, 3):
|
|
416
|
+
time_comps[comp] = _read_isoformat_component(tstr[pos:pos+2], 2)
|
|
417
|
+
|
|
418
|
+
pos += 2
|
|
419
|
+
next_char = tstr[pos:pos+1]
|
|
420
|
+
|
|
421
|
+
if comp == 0:
|
|
422
|
+
has_sep = next_char == ':'
|
|
423
|
+
|
|
424
|
+
if not next_char or comp >= 2:
|
|
425
|
+
break
|
|
426
|
+
|
|
427
|
+
if has_sep and next_char != ':':
|
|
428
|
+
raise ValueError("Invalid time separator: %c" % next_char)
|
|
429
|
+
|
|
430
|
+
pos += has_sep
|
|
431
|
+
|
|
432
|
+
if pos < len_str:
|
|
433
|
+
if tstr[pos] not in '.,':
|
|
434
|
+
raise ValueError("Invalid microsecond separator")
|
|
435
|
+
else:
|
|
436
|
+
pos += 1
|
|
437
|
+
if not tstr[pos:].isdigit():
|
|
438
|
+
raise ValueError("Non-digit values in fraction")
|
|
439
|
+
|
|
440
|
+
len_remainder = len_str - pos
|
|
441
|
+
|
|
442
|
+
if len_remainder >= 6:
|
|
443
|
+
to_parse = 6
|
|
444
|
+
else:
|
|
445
|
+
to_parse = len_remainder
|
|
446
|
+
|
|
447
|
+
time_comps[3] = int(tstr[pos:(pos+to_parse)])
|
|
448
|
+
if to_parse < 6:
|
|
449
|
+
time_comps[3] *= _FRACTION_CORRECTION[to_parse-1]
|
|
450
|
+
|
|
451
|
+
return time_comps
|
|
452
|
+
|
|
453
|
+
def _parse_isoformat_time(tstr):
|
|
454
|
+
# Format supported is HH[:MM[:SS[.fff[fff]]]][+HH:MM[:SS[.ffffff]]]
|
|
455
|
+
len_str = len(tstr)
|
|
456
|
+
if len_str < 2:
|
|
457
|
+
raise ValueError("Isoformat time too short")
|
|
458
|
+
if not tstr.isascii():
|
|
459
|
+
raise ValueError("Invalid isoformat string")
|
|
460
|
+
|
|
461
|
+
# This is equivalent to re.search('[+-Z]', tstr), but faster
|
|
462
|
+
tz_pos = (tstr.find('-') + 1 or tstr.find('+') + 1 or tstr.find('Z') + 1)
|
|
463
|
+
timestr = tstr[:tz_pos-1] if tz_pos > 0 else tstr
|
|
464
|
+
|
|
465
|
+
time_comps = _parse_hh_mm_ss_ff(timestr)
|
|
466
|
+
|
|
467
|
+
hour, minute, second, microsecond = time_comps
|
|
468
|
+
became_next_day = False
|
|
469
|
+
error_from_components = False
|
|
470
|
+
error_from_tz = None
|
|
471
|
+
if (hour == 24):
|
|
472
|
+
if all(time_comp == 0 for time_comp in time_comps[1:]):
|
|
473
|
+
hour = 0
|
|
474
|
+
time_comps[0] = hour
|
|
475
|
+
became_next_day = True
|
|
476
|
+
else:
|
|
477
|
+
error_from_components = True
|
|
478
|
+
|
|
479
|
+
tzi = None
|
|
480
|
+
if tz_pos == len_str and tstr[-1] == 'Z':
|
|
481
|
+
tzi = timezone.utc
|
|
482
|
+
elif tz_pos > 0:
|
|
483
|
+
tzstr = tstr[tz_pos:]
|
|
484
|
+
|
|
485
|
+
# Valid time zone strings are:
|
|
486
|
+
# HH len: 2
|
|
487
|
+
# HHMM len: 4
|
|
488
|
+
# HH:MM len: 5
|
|
489
|
+
# HHMMSS len: 6
|
|
490
|
+
# HHMMSS.f+ len: 7+
|
|
491
|
+
# HH:MM:SS len: 8
|
|
492
|
+
# HH:MM:SS.f+ len: 10+
|
|
493
|
+
|
|
494
|
+
if len(tzstr) in (0, 1, 3) or tstr[tz_pos-1] == 'Z':
|
|
495
|
+
raise ValueError("Malformed time zone string")
|
|
496
|
+
|
|
497
|
+
tz_comps = _parse_hh_mm_ss_ff(tzstr)
|
|
498
|
+
|
|
499
|
+
if all(x == 0 for x in tz_comps):
|
|
500
|
+
tzi = timezone.utc
|
|
501
|
+
else:
|
|
502
|
+
tzsign = -1 if tstr[tz_pos - 1] == '-' else 1
|
|
503
|
+
|
|
504
|
+
try:
|
|
505
|
+
# This function is intended to validate datetimes, but because
|
|
506
|
+
# we restrict time zones to ±24h, it serves here as well.
|
|
507
|
+
_check_time_fields(hour=tz_comps[0], minute=tz_comps[1],
|
|
508
|
+
second=tz_comps[2], microsecond=tz_comps[3],
|
|
509
|
+
fold=0)
|
|
510
|
+
except ValueError as e:
|
|
511
|
+
error_from_tz = e
|
|
512
|
+
else:
|
|
513
|
+
td = timedelta(hours=tz_comps[0], minutes=tz_comps[1],
|
|
514
|
+
seconds=tz_comps[2], microseconds=tz_comps[3])
|
|
515
|
+
tzi = timezone(tzsign * td)
|
|
516
|
+
|
|
517
|
+
time_comps.append(tzi)
|
|
518
|
+
|
|
519
|
+
return time_comps, became_next_day, error_from_components, error_from_tz
|
|
520
|
+
|
|
521
|
+
# tuple[int, int, int] -> tuple[int, int, int] version of date.fromisocalendar
|
|
522
|
+
def _isoweek_to_gregorian(year, week, day):
|
|
523
|
+
# Year is bounded this way because 9999-12-31 is (9999, 52, 5)
|
|
524
|
+
if not MINYEAR <= year <= MAXYEAR:
|
|
525
|
+
raise ValueError(f"year must be in {MINYEAR}..{MAXYEAR}, not {year}")
|
|
526
|
+
|
|
527
|
+
if not 0 < week < 53:
|
|
528
|
+
out_of_range = True
|
|
529
|
+
|
|
530
|
+
if week == 53:
|
|
531
|
+
# ISO years have 53 weeks in them on years starting with a
|
|
532
|
+
# Thursday and leap years starting on a Wednesday
|
|
533
|
+
first_weekday = _ymd2ord(year, 1, 1) % 7
|
|
534
|
+
if (first_weekday == 4 or (first_weekday == 3 and
|
|
535
|
+
_is_leap(year))):
|
|
536
|
+
out_of_range = False
|
|
537
|
+
|
|
538
|
+
if out_of_range:
|
|
539
|
+
raise ValueError(f"Invalid week: {week}")
|
|
540
|
+
|
|
541
|
+
if not 0 < day < 8:
|
|
542
|
+
raise ValueError(f"Invalid weekday: {day} (range is [1, 7])")
|
|
543
|
+
|
|
544
|
+
# Now compute the offset from (Y, 1, 1) in days:
|
|
545
|
+
day_offset = (week - 1) * 7 + (day - 1)
|
|
546
|
+
|
|
547
|
+
# Calculate the ordinal day for monday, week 1
|
|
548
|
+
day_1 = _isoweek1monday(year)
|
|
549
|
+
ord_day = day_1 + day_offset
|
|
550
|
+
|
|
551
|
+
return _ord2ymd(ord_day)
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
# Just raise TypeError if the arg isn't None or a string.
|
|
555
|
+
def _check_tzname(name):
|
|
556
|
+
if name is not None and not isinstance(name, str):
|
|
557
|
+
raise TypeError("tzinfo.tzname() must return None or string, "
|
|
558
|
+
f"not {type(name).__name__!r}")
|
|
559
|
+
|
|
560
|
+
# name is the offset-producing method, "utcoffset" or "dst".
|
|
561
|
+
# offset is what it returned.
|
|
562
|
+
# If offset isn't None or timedelta, raises TypeError.
|
|
563
|
+
# If offset is None, returns None.
|
|
564
|
+
# Else offset is checked for being in range.
|
|
565
|
+
# If it is, its integer value is returned. Else ValueError is raised.
|
|
566
|
+
def _check_utc_offset(name, offset):
|
|
567
|
+
assert name in ("utcoffset", "dst")
|
|
568
|
+
if offset is None:
|
|
569
|
+
return
|
|
570
|
+
if not isinstance(offset, timedelta):
|
|
571
|
+
raise TypeError(f"tzinfo.{name}() must return None "
|
|
572
|
+
f"or timedelta, not {type(offset).__name__!r}")
|
|
573
|
+
if not -timedelta(1) < offset < timedelta(1):
|
|
574
|
+
raise ValueError("offset must be a timedelta "
|
|
575
|
+
"strictly between -timedelta(hours=24) and "
|
|
576
|
+
f"timedelta(hours=24), not {offset!r}")
|
|
577
|
+
|
|
578
|
+
def _check_date_fields(year, month, day):
|
|
579
|
+
year = _index(year)
|
|
580
|
+
month = _index(month)
|
|
581
|
+
day = _index(day)
|
|
582
|
+
if not MINYEAR <= year <= MAXYEAR:
|
|
583
|
+
raise ValueError(f"year must be in {MINYEAR}..{MAXYEAR}, not {year}")
|
|
584
|
+
if not 1 <= month <= 12:
|
|
585
|
+
raise ValueError(f"month must be in 1..12, not {month}")
|
|
586
|
+
dim = _days_in_month(year, month)
|
|
587
|
+
if not 1 <= day <= dim:
|
|
588
|
+
raise ValueError(f"day {day} must be in range 1..{dim} for month {month} in year {year}")
|
|
589
|
+
return year, month, day
|
|
590
|
+
|
|
591
|
+
def _check_time_fields(hour, minute, second, microsecond, fold):
|
|
592
|
+
hour = _index(hour)
|
|
593
|
+
minute = _index(minute)
|
|
594
|
+
second = _index(second)
|
|
595
|
+
microsecond = _index(microsecond)
|
|
596
|
+
if not 0 <= hour <= 23:
|
|
597
|
+
raise ValueError(f"hour must be in 0..23, not {hour}")
|
|
598
|
+
if not 0 <= minute <= 59:
|
|
599
|
+
raise ValueError(f"minute must be in 0..59, not {minute}")
|
|
600
|
+
if not 0 <= second <= 59:
|
|
601
|
+
raise ValueError(f"second must be in 0..59, not {second}")
|
|
602
|
+
if not 0 <= microsecond <= 999999:
|
|
603
|
+
raise ValueError(f"microsecond must be in 0..999999, not {microsecond}")
|
|
604
|
+
if fold not in (0, 1):
|
|
605
|
+
raise ValueError(f"fold must be either 0 or 1, not {fold}")
|
|
606
|
+
return hour, minute, second, microsecond, fold
|
|
607
|
+
|
|
608
|
+
def _check_tzinfo_arg(tz):
|
|
609
|
+
if tz is not None and not isinstance(tz, tzinfo):
|
|
610
|
+
raise TypeError(
|
|
611
|
+
"tzinfo argument must be None or of a tzinfo subclass, "
|
|
612
|
+
f"not {type(tz).__name__!r}"
|
|
613
|
+
)
|
|
614
|
+
|
|
615
|
+
def _divide_and_round(a, b):
|
|
616
|
+
"""divide a by b and round result to the nearest integer
|
|
617
|
+
|
|
618
|
+
When the ratio is exactly half-way between two integers,
|
|
619
|
+
the even integer is returned.
|
|
620
|
+
"""
|
|
621
|
+
# Based on the reference implementation for divmod_near
|
|
622
|
+
# in Objects/longobject.c.
|
|
623
|
+
q, r = divmod(a, b)
|
|
624
|
+
# round up if either r / b > 0.5, or r / b == 0.5 and q is odd.
|
|
625
|
+
# The expression r / b > 0.5 is equivalent to 2 * r > b if b is
|
|
626
|
+
# positive, 2 * r < b if b negative.
|
|
627
|
+
r *= 2
|
|
628
|
+
greater_than_half = r > b if b > 0 else r < b
|
|
629
|
+
if greater_than_half or r == b and q % 2 == 1:
|
|
630
|
+
q += 1
|
|
631
|
+
|
|
632
|
+
return q
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
class timedelta:
|
|
636
|
+
"""Represent the difference between two datetime objects.
|
|
637
|
+
|
|
638
|
+
Supported operators:
|
|
639
|
+
|
|
640
|
+
- add, subtract timedelta
|
|
641
|
+
- unary plus, minus, abs
|
|
642
|
+
- compare to timedelta
|
|
643
|
+
- multiply, divide by int
|
|
644
|
+
|
|
645
|
+
In addition, datetime supports subtraction of two datetime objects
|
|
646
|
+
returning a timedelta, and addition or subtraction of a datetime
|
|
647
|
+
and a timedelta giving a datetime.
|
|
648
|
+
|
|
649
|
+
Representation: (days, seconds, microseconds).
|
|
650
|
+
"""
|
|
651
|
+
# The representation of (days, seconds, microseconds) was chosen
|
|
652
|
+
# arbitrarily; the exact rationale originally specified in the docstring
|
|
653
|
+
# was "Because I felt like it."
|
|
654
|
+
|
|
655
|
+
__slots__ = '_days', '_seconds', '_microseconds', '_hashcode'
|
|
656
|
+
|
|
657
|
+
def __new__(cls, days=0, seconds=0, microseconds=0,
|
|
658
|
+
milliseconds=0, minutes=0, hours=0, weeks=0):
|
|
659
|
+
# Doing this efficiently and accurately in C is going to be difficult
|
|
660
|
+
# and error-prone, due to ubiquitous overflow possibilities, and that
|
|
661
|
+
# C double doesn't have enough bits of precision to represent
|
|
662
|
+
# microseconds over 10K years faithfully. The code here tries to make
|
|
663
|
+
# explicit where go-fast assumptions can be relied on, in order to
|
|
664
|
+
# guide the C implementation; it's way more convoluted than speed-
|
|
665
|
+
# ignoring auto-overflow-to-long idiomatic Python could be.
|
|
666
|
+
|
|
667
|
+
for name, value in (
|
|
668
|
+
("days", days),
|
|
669
|
+
("seconds", seconds),
|
|
670
|
+
("microseconds", microseconds),
|
|
671
|
+
("milliseconds", milliseconds),
|
|
672
|
+
("minutes", minutes),
|
|
673
|
+
("hours", hours),
|
|
674
|
+
("weeks", weeks)
|
|
675
|
+
):
|
|
676
|
+
if not isinstance(value, (int, float)):
|
|
677
|
+
raise TypeError(
|
|
678
|
+
f"unsupported type for timedelta {name} component: {type(value).__name__}"
|
|
679
|
+
)
|
|
680
|
+
|
|
681
|
+
# Final values, all integer.
|
|
682
|
+
# s and us fit in 32-bit signed ints; d isn't bounded.
|
|
683
|
+
d = s = us = 0
|
|
684
|
+
|
|
685
|
+
# Normalize everything to days, seconds, microseconds.
|
|
686
|
+
days += weeks*7
|
|
687
|
+
seconds += minutes*60 + hours*3600
|
|
688
|
+
microseconds += milliseconds*1000
|
|
689
|
+
|
|
690
|
+
# Get rid of all fractions, and normalize s and us.
|
|
691
|
+
# Take a deep breath <wink>.
|
|
692
|
+
if isinstance(days, float):
|
|
693
|
+
dayfrac, days = _math.modf(days)
|
|
694
|
+
daysecondsfrac, daysecondswhole = _math.modf(dayfrac * (24.*3600.))
|
|
695
|
+
assert daysecondswhole == int(daysecondswhole) # can't overflow
|
|
696
|
+
s = int(daysecondswhole)
|
|
697
|
+
assert days == int(days)
|
|
698
|
+
d = int(days)
|
|
699
|
+
else:
|
|
700
|
+
daysecondsfrac = 0.0
|
|
701
|
+
d = days
|
|
702
|
+
assert isinstance(daysecondsfrac, float)
|
|
703
|
+
assert abs(daysecondsfrac) <= 1.0
|
|
704
|
+
assert isinstance(d, int)
|
|
705
|
+
assert abs(s) <= 24 * 3600
|
|
706
|
+
# days isn't referenced again before redefinition
|
|
707
|
+
|
|
708
|
+
if isinstance(seconds, float):
|
|
709
|
+
secondsfrac, seconds = _math.modf(seconds)
|
|
710
|
+
assert seconds == int(seconds)
|
|
711
|
+
seconds = int(seconds)
|
|
712
|
+
secondsfrac += daysecondsfrac
|
|
713
|
+
assert abs(secondsfrac) <= 2.0
|
|
714
|
+
else:
|
|
715
|
+
secondsfrac = daysecondsfrac
|
|
716
|
+
# daysecondsfrac isn't referenced again
|
|
717
|
+
assert isinstance(secondsfrac, float)
|
|
718
|
+
assert abs(secondsfrac) <= 2.0
|
|
719
|
+
|
|
720
|
+
assert isinstance(seconds, int)
|
|
721
|
+
days, seconds = divmod(seconds, 24*3600)
|
|
722
|
+
d += days
|
|
723
|
+
s += int(seconds) # can't overflow
|
|
724
|
+
assert isinstance(s, int)
|
|
725
|
+
assert abs(s) <= 2 * 24 * 3600
|
|
726
|
+
# seconds isn't referenced again before redefinition
|
|
727
|
+
|
|
728
|
+
usdouble = secondsfrac * 1e6
|
|
729
|
+
assert abs(usdouble) < 2.1e6 # exact value not critical
|
|
730
|
+
# secondsfrac isn't referenced again
|
|
731
|
+
|
|
732
|
+
if isinstance(microseconds, float):
|
|
733
|
+
microseconds = round(microseconds + usdouble)
|
|
734
|
+
seconds, microseconds = divmod(microseconds, 1000000)
|
|
735
|
+
days, seconds = divmod(seconds, 24*3600)
|
|
736
|
+
d += days
|
|
737
|
+
s += seconds
|
|
738
|
+
else:
|
|
739
|
+
microseconds = int(microseconds)
|
|
740
|
+
seconds, microseconds = divmod(microseconds, 1000000)
|
|
741
|
+
days, seconds = divmod(seconds, 24*3600)
|
|
742
|
+
d += days
|
|
743
|
+
s += seconds
|
|
744
|
+
microseconds = round(microseconds + usdouble)
|
|
745
|
+
assert isinstance(s, int)
|
|
746
|
+
assert isinstance(microseconds, int)
|
|
747
|
+
assert abs(s) <= 3 * 24 * 3600
|
|
748
|
+
assert abs(microseconds) < 3.1e6
|
|
749
|
+
|
|
750
|
+
# Just a little bit of carrying possible for microseconds and seconds.
|
|
751
|
+
seconds, us = divmod(microseconds, 1000000)
|
|
752
|
+
s += seconds
|
|
753
|
+
days, s = divmod(s, 24*3600)
|
|
754
|
+
d += days
|
|
755
|
+
|
|
756
|
+
assert isinstance(d, int)
|
|
757
|
+
assert isinstance(s, int) and 0 <= s < 24*3600
|
|
758
|
+
assert isinstance(us, int) and 0 <= us < 1000000
|
|
759
|
+
|
|
760
|
+
if abs(d) > 999999999:
|
|
761
|
+
raise OverflowError("timedelta # of days is too large: %d" % d)
|
|
762
|
+
|
|
763
|
+
self = object.__new__(cls)
|
|
764
|
+
self._days = d
|
|
765
|
+
self._seconds = s
|
|
766
|
+
self._microseconds = us
|
|
767
|
+
self._hashcode = -1
|
|
768
|
+
return self
|
|
769
|
+
|
|
770
|
+
def __repr__(self):
|
|
771
|
+
args = []
|
|
772
|
+
if self._days:
|
|
773
|
+
args.append("days=%d" % self._days)
|
|
774
|
+
if self._seconds:
|
|
775
|
+
args.append("seconds=%d" % self._seconds)
|
|
776
|
+
if self._microseconds:
|
|
777
|
+
args.append("microseconds=%d" % self._microseconds)
|
|
778
|
+
if not args:
|
|
779
|
+
args.append('0')
|
|
780
|
+
return "%s%s(%s)" % (_get_class_module(self),
|
|
781
|
+
self.__class__.__qualname__,
|
|
782
|
+
', '.join(args))
|
|
783
|
+
|
|
784
|
+
def __str__(self):
|
|
785
|
+
mm, ss = divmod(self._seconds, 60)
|
|
786
|
+
hh, mm = divmod(mm, 60)
|
|
787
|
+
s = "%d:%02d:%02d" % (hh, mm, ss)
|
|
788
|
+
if self._days:
|
|
789
|
+
def plural(n):
|
|
790
|
+
return n, abs(n) != 1 and "s" or ""
|
|
791
|
+
s = ("%d day%s, " % plural(self._days)) + s
|
|
792
|
+
if self._microseconds:
|
|
793
|
+
s = s + ".%06d" % self._microseconds
|
|
794
|
+
return s
|
|
795
|
+
|
|
796
|
+
def total_seconds(self):
|
|
797
|
+
"""Total seconds in the duration."""
|
|
798
|
+
return ((self.days * 86400 + self.seconds) * 10**6 +
|
|
799
|
+
self.microseconds) / 10**6
|
|
800
|
+
|
|
801
|
+
# Read-only field accessors
|
|
802
|
+
@property
|
|
803
|
+
def days(self):
|
|
804
|
+
"""days"""
|
|
805
|
+
return self._days
|
|
806
|
+
|
|
807
|
+
@property
|
|
808
|
+
def seconds(self):
|
|
809
|
+
"""seconds"""
|
|
810
|
+
return self._seconds
|
|
811
|
+
|
|
812
|
+
@property
|
|
813
|
+
def microseconds(self):
|
|
814
|
+
"""microseconds"""
|
|
815
|
+
return self._microseconds
|
|
816
|
+
|
|
817
|
+
def __add__(self, other):
|
|
818
|
+
if isinstance(other, timedelta):
|
|
819
|
+
# for CPython compatibility, we cannot use
|
|
820
|
+
# our __class__ here, but need a real timedelta
|
|
821
|
+
return timedelta(self._days + other._days,
|
|
822
|
+
self._seconds + other._seconds,
|
|
823
|
+
self._microseconds + other._microseconds)
|
|
824
|
+
return NotImplemented
|
|
825
|
+
|
|
826
|
+
__radd__ = __add__
|
|
827
|
+
|
|
828
|
+
def __sub__(self, other):
|
|
829
|
+
if isinstance(other, timedelta):
|
|
830
|
+
# for CPython compatibility, we cannot use
|
|
831
|
+
# our __class__ here, but need a real timedelta
|
|
832
|
+
return timedelta(self._days - other._days,
|
|
833
|
+
self._seconds - other._seconds,
|
|
834
|
+
self._microseconds - other._microseconds)
|
|
835
|
+
return NotImplemented
|
|
836
|
+
|
|
837
|
+
def __rsub__(self, other):
|
|
838
|
+
if isinstance(other, timedelta):
|
|
839
|
+
return -self + other
|
|
840
|
+
return NotImplemented
|
|
841
|
+
|
|
842
|
+
def __neg__(self):
|
|
843
|
+
# for CPython compatibility, we cannot use
|
|
844
|
+
# our __class__ here, but need a real timedelta
|
|
845
|
+
return timedelta(-self._days,
|
|
846
|
+
-self._seconds,
|
|
847
|
+
-self._microseconds)
|
|
848
|
+
|
|
849
|
+
def __pos__(self):
|
|
850
|
+
return self
|
|
851
|
+
|
|
852
|
+
def __abs__(self):
|
|
853
|
+
if self._days < 0:
|
|
854
|
+
return -self
|
|
855
|
+
else:
|
|
856
|
+
return self
|
|
857
|
+
|
|
858
|
+
def __mul__(self, other):
|
|
859
|
+
if isinstance(other, int):
|
|
860
|
+
# for CPython compatibility, we cannot use
|
|
861
|
+
# our __class__ here, but need a real timedelta
|
|
862
|
+
return timedelta(self._days * other,
|
|
863
|
+
self._seconds * other,
|
|
864
|
+
self._microseconds * other)
|
|
865
|
+
if isinstance(other, float):
|
|
866
|
+
usec = self._to_microseconds()
|
|
867
|
+
a, b = other.as_integer_ratio()
|
|
868
|
+
return timedelta(0, 0, _divide_and_round(usec * a, b))
|
|
869
|
+
return NotImplemented
|
|
870
|
+
|
|
871
|
+
__rmul__ = __mul__
|
|
872
|
+
|
|
873
|
+
def _to_microseconds(self):
|
|
874
|
+
return ((self._days * (24*3600) + self._seconds) * 1000000 +
|
|
875
|
+
self._microseconds)
|
|
876
|
+
|
|
877
|
+
def __floordiv__(self, other):
|
|
878
|
+
if not isinstance(other, (int, timedelta)):
|
|
879
|
+
return NotImplemented
|
|
880
|
+
usec = self._to_microseconds()
|
|
881
|
+
if isinstance(other, timedelta):
|
|
882
|
+
return usec // other._to_microseconds()
|
|
883
|
+
if isinstance(other, int):
|
|
884
|
+
return timedelta(0, 0, usec // other)
|
|
885
|
+
|
|
886
|
+
def __truediv__(self, other):
|
|
887
|
+
if not isinstance(other, (int, float, timedelta)):
|
|
888
|
+
return NotImplemented
|
|
889
|
+
usec = self._to_microseconds()
|
|
890
|
+
if isinstance(other, timedelta):
|
|
891
|
+
return usec / other._to_microseconds()
|
|
892
|
+
if isinstance(other, int):
|
|
893
|
+
return timedelta(0, 0, _divide_and_round(usec, other))
|
|
894
|
+
if isinstance(other, float):
|
|
895
|
+
a, b = other.as_integer_ratio()
|
|
896
|
+
return timedelta(0, 0, _divide_and_round(b * usec, a))
|
|
897
|
+
|
|
898
|
+
def __mod__(self, other):
|
|
899
|
+
if isinstance(other, timedelta):
|
|
900
|
+
r = self._to_microseconds() % other._to_microseconds()
|
|
901
|
+
return timedelta(0, 0, r)
|
|
902
|
+
return NotImplemented
|
|
903
|
+
|
|
904
|
+
def __divmod__(self, other):
|
|
905
|
+
if isinstance(other, timedelta):
|
|
906
|
+
q, r = divmod(self._to_microseconds(),
|
|
907
|
+
other._to_microseconds())
|
|
908
|
+
return q, timedelta(0, 0, r)
|
|
909
|
+
return NotImplemented
|
|
910
|
+
|
|
911
|
+
# Comparisons of timedelta objects with other.
|
|
912
|
+
|
|
913
|
+
def __eq__(self, other):
|
|
914
|
+
if isinstance(other, timedelta):
|
|
915
|
+
return self._cmp(other) == 0
|
|
916
|
+
else:
|
|
917
|
+
return NotImplemented
|
|
918
|
+
|
|
919
|
+
def __le__(self, other):
|
|
920
|
+
if isinstance(other, timedelta):
|
|
921
|
+
return self._cmp(other) <= 0
|
|
922
|
+
else:
|
|
923
|
+
return NotImplemented
|
|
924
|
+
|
|
925
|
+
def __lt__(self, other):
|
|
926
|
+
if isinstance(other, timedelta):
|
|
927
|
+
return self._cmp(other) < 0
|
|
928
|
+
else:
|
|
929
|
+
return NotImplemented
|
|
930
|
+
|
|
931
|
+
def __ge__(self, other):
|
|
932
|
+
if isinstance(other, timedelta):
|
|
933
|
+
return self._cmp(other) >= 0
|
|
934
|
+
else:
|
|
935
|
+
return NotImplemented
|
|
936
|
+
|
|
937
|
+
def __gt__(self, other):
|
|
938
|
+
if isinstance(other, timedelta):
|
|
939
|
+
return self._cmp(other) > 0
|
|
940
|
+
else:
|
|
941
|
+
return NotImplemented
|
|
942
|
+
|
|
943
|
+
def _cmp(self, other):
|
|
944
|
+
assert isinstance(other, timedelta)
|
|
945
|
+
return _cmp(self._getstate(), other._getstate())
|
|
946
|
+
|
|
947
|
+
def __hash__(self):
|
|
948
|
+
if self._hashcode == -1:
|
|
949
|
+
self._hashcode = hash(self._getstate())
|
|
950
|
+
return self._hashcode
|
|
951
|
+
|
|
952
|
+
def __bool__(self):
|
|
953
|
+
return (self._days != 0 or
|
|
954
|
+
self._seconds != 0 or
|
|
955
|
+
self._microseconds != 0)
|
|
956
|
+
|
|
957
|
+
# Pickle support.
|
|
958
|
+
|
|
959
|
+
def _getstate(self):
|
|
960
|
+
return (self._days, self._seconds, self._microseconds)
|
|
961
|
+
|
|
962
|
+
def __reduce__(self):
|
|
963
|
+
return (self.__class__, self._getstate())
|
|
964
|
+
|
|
965
|
+
timedelta.min = timedelta(-999999999)
|
|
966
|
+
timedelta.max = timedelta(days=999999999, hours=23, minutes=59, seconds=59,
|
|
967
|
+
microseconds=999999)
|
|
968
|
+
timedelta.resolution = timedelta(microseconds=1)
|
|
969
|
+
|
|
970
|
+
class date:
|
|
971
|
+
"""Concrete date type.
|
|
972
|
+
|
|
973
|
+
Constructors:
|
|
974
|
+
|
|
975
|
+
__new__()
|
|
976
|
+
fromtimestamp()
|
|
977
|
+
today()
|
|
978
|
+
fromordinal()
|
|
979
|
+
strptime()
|
|
980
|
+
|
|
981
|
+
Operators:
|
|
982
|
+
|
|
983
|
+
__repr__, __str__
|
|
984
|
+
__eq__, __le__, __lt__, __ge__, __gt__, __hash__
|
|
985
|
+
__add__, __radd__, __sub__ (add/radd only with timedelta arg)
|
|
986
|
+
|
|
987
|
+
Methods:
|
|
988
|
+
|
|
989
|
+
timetuple()
|
|
990
|
+
toordinal()
|
|
991
|
+
weekday()
|
|
992
|
+
isoweekday(), isocalendar(), isoformat()
|
|
993
|
+
ctime()
|
|
994
|
+
strftime()
|
|
995
|
+
|
|
996
|
+
Properties (readonly):
|
|
997
|
+
year, month, day
|
|
998
|
+
"""
|
|
999
|
+
__slots__ = '_year', '_month', '_day', '_hashcode'
|
|
1000
|
+
|
|
1001
|
+
def __new__(cls, year, month=None, day=None):
|
|
1002
|
+
"""Constructor.
|
|
1003
|
+
|
|
1004
|
+
Arguments:
|
|
1005
|
+
|
|
1006
|
+
year, month, day (required, base 1)
|
|
1007
|
+
"""
|
|
1008
|
+
if (month is None and
|
|
1009
|
+
isinstance(year, (bytes, str)) and len(year) == 4 and
|
|
1010
|
+
1 <= ord(year[2:3]) <= 12):
|
|
1011
|
+
# Pickle support
|
|
1012
|
+
if isinstance(year, str):
|
|
1013
|
+
try:
|
|
1014
|
+
year = year.encode('latin1')
|
|
1015
|
+
except UnicodeEncodeError:
|
|
1016
|
+
# More informative error message.
|
|
1017
|
+
raise ValueError(
|
|
1018
|
+
"Failed to encode latin1 string when unpickling "
|
|
1019
|
+
"a date object. "
|
|
1020
|
+
"pickle.load(data, encoding='latin1') is assumed.")
|
|
1021
|
+
self = object.__new__(cls)
|
|
1022
|
+
self.__setstate(year)
|
|
1023
|
+
self._hashcode = -1
|
|
1024
|
+
return self
|
|
1025
|
+
year, month, day = _check_date_fields(year, month, day)
|
|
1026
|
+
self = object.__new__(cls)
|
|
1027
|
+
self._year = year
|
|
1028
|
+
self._month = month
|
|
1029
|
+
self._day = day
|
|
1030
|
+
self._hashcode = -1
|
|
1031
|
+
return self
|
|
1032
|
+
|
|
1033
|
+
# Additional constructors
|
|
1034
|
+
|
|
1035
|
+
@classmethod
|
|
1036
|
+
def fromtimestamp(cls, t):
|
|
1037
|
+
"Construct a date from a POSIX timestamp (like time.time())."
|
|
1038
|
+
if t is None:
|
|
1039
|
+
raise TypeError("'NoneType' object cannot be interpreted as an integer")
|
|
1040
|
+
y, m, d, hh, mm, ss, weekday, jday, dst = _time.localtime(t)
|
|
1041
|
+
return cls(y, m, d)
|
|
1042
|
+
|
|
1043
|
+
@classmethod
|
|
1044
|
+
def today(cls):
|
|
1045
|
+
"Construct a date from time.time()."
|
|
1046
|
+
t = _time.time()
|
|
1047
|
+
return cls.fromtimestamp(t)
|
|
1048
|
+
|
|
1049
|
+
@classmethod
|
|
1050
|
+
def fromordinal(cls, n):
|
|
1051
|
+
"""Construct a date from a proleptic Gregorian ordinal.
|
|
1052
|
+
|
|
1053
|
+
January 1 of year 1 is day 1. Only the year, month and day are
|
|
1054
|
+
non-zero in the result.
|
|
1055
|
+
"""
|
|
1056
|
+
y, m, d = _ord2ymd(n)
|
|
1057
|
+
return cls(y, m, d)
|
|
1058
|
+
|
|
1059
|
+
@classmethod
|
|
1060
|
+
def fromisoformat(cls, date_string):
|
|
1061
|
+
"""Construct a date from a string in ISO 8601 format."""
|
|
1062
|
+
|
|
1063
|
+
if not isinstance(date_string, str):
|
|
1064
|
+
raise TypeError('Argument must be a str')
|
|
1065
|
+
|
|
1066
|
+
if not date_string.isascii():
|
|
1067
|
+
raise ValueError('Argument must be an ASCII str')
|
|
1068
|
+
|
|
1069
|
+
if len(date_string) not in (7, 8, 10):
|
|
1070
|
+
raise ValueError(f'Invalid isoformat string: {date_string!r}')
|
|
1071
|
+
|
|
1072
|
+
try:
|
|
1073
|
+
return cls(*_parse_isoformat_date(date_string))
|
|
1074
|
+
except Exception:
|
|
1075
|
+
raise ValueError(f'Invalid isoformat string: {date_string!r}')
|
|
1076
|
+
|
|
1077
|
+
@classmethod
|
|
1078
|
+
def fromisocalendar(cls, year, week, day):
|
|
1079
|
+
"""Construct a date from the ISO year, week number and weekday.
|
|
1080
|
+
|
|
1081
|
+
This is the inverse of the date.isocalendar() function"""
|
|
1082
|
+
return cls(*_isoweek_to_gregorian(year, week, day))
|
|
1083
|
+
|
|
1084
|
+
@classmethod
|
|
1085
|
+
def strptime(cls, date_string, format):
|
|
1086
|
+
"""Parse string according to the given date format (like time.strptime()).
|
|
1087
|
+
|
|
1088
|
+
For a list of supported format codes, see the documentation:
|
|
1089
|
+
https://docs.python.org/3/library/datetime.html#format-codes
|
|
1090
|
+
"""
|
|
1091
|
+
import _strptime
|
|
1092
|
+
return _strptime._strptime_datetime_date(cls, date_string, format)
|
|
1093
|
+
|
|
1094
|
+
# Conversions to string
|
|
1095
|
+
|
|
1096
|
+
def __repr__(self):
|
|
1097
|
+
"""Convert to formal string, for repr().
|
|
1098
|
+
|
|
1099
|
+
>>> d = date(2010, 1, 1)
|
|
1100
|
+
>>> repr(d)
|
|
1101
|
+
'datetime.date(2010, 1, 1)'
|
|
1102
|
+
"""
|
|
1103
|
+
return "%s%s(%d, %d, %d)" % (_get_class_module(self),
|
|
1104
|
+
self.__class__.__qualname__,
|
|
1105
|
+
self._year,
|
|
1106
|
+
self._month,
|
|
1107
|
+
self._day)
|
|
1108
|
+
# XXX These shouldn't depend on time.localtime(), because that
|
|
1109
|
+
# clips the usable dates to [1970 .. 2038). At least ctime() is
|
|
1110
|
+
# easily done without using strftime() -- that's better too because
|
|
1111
|
+
# strftime("%c", ...) is locale specific.
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
def ctime(self):
|
|
1115
|
+
"Return ctime() style string."
|
|
1116
|
+
weekday = self.toordinal() % 7 or 7
|
|
1117
|
+
return "%s %s %2d 00:00:00 %04d" % (
|
|
1118
|
+
_DAYNAMES[weekday],
|
|
1119
|
+
_MONTHNAMES[self._month],
|
|
1120
|
+
self._day, self._year)
|
|
1121
|
+
|
|
1122
|
+
def strftime(self, format):
|
|
1123
|
+
"""
|
|
1124
|
+
Format using strftime().
|
|
1125
|
+
|
|
1126
|
+
Example: "%d/%m/%Y, %H:%M:%S"
|
|
1127
|
+
For a list of supported format codes, see the documentation:
|
|
1128
|
+
https://docs.python.org/3/library/datetime.html#format-codes
|
|
1129
|
+
"""
|
|
1130
|
+
return _wrap_strftime(self, format, self.timetuple())
|
|
1131
|
+
|
|
1132
|
+
def __format__(self, fmt):
|
|
1133
|
+
if not isinstance(fmt, str):
|
|
1134
|
+
raise TypeError("must be str, not %s" % type(fmt).__name__)
|
|
1135
|
+
if len(fmt) != 0:
|
|
1136
|
+
return self.strftime(fmt)
|
|
1137
|
+
return str(self)
|
|
1138
|
+
|
|
1139
|
+
def isoformat(self):
|
|
1140
|
+
"""Return the date formatted according to ISO.
|
|
1141
|
+
|
|
1142
|
+
This is 'YYYY-MM-DD'.
|
|
1143
|
+
|
|
1144
|
+
References:
|
|
1145
|
+
- https://www.w3.org/TR/NOTE-datetime
|
|
1146
|
+
- https://www.cl.cam.ac.uk/~mgk25/iso-time.html
|
|
1147
|
+
"""
|
|
1148
|
+
return "%04d-%02d-%02d" % (self._year, self._month, self._day)
|
|
1149
|
+
|
|
1150
|
+
__str__ = isoformat
|
|
1151
|
+
|
|
1152
|
+
# Read-only field accessors
|
|
1153
|
+
@property
|
|
1154
|
+
def year(self):
|
|
1155
|
+
"""year (1-9999)"""
|
|
1156
|
+
return self._year
|
|
1157
|
+
|
|
1158
|
+
@property
|
|
1159
|
+
def month(self):
|
|
1160
|
+
"""month (1-12)"""
|
|
1161
|
+
return self._month
|
|
1162
|
+
|
|
1163
|
+
@property
|
|
1164
|
+
def day(self):
|
|
1165
|
+
"""day (1-31)"""
|
|
1166
|
+
return self._day
|
|
1167
|
+
|
|
1168
|
+
# Standard conversions, __eq__, __le__, __lt__, __ge__, __gt__,
|
|
1169
|
+
# __hash__ (and helpers)
|
|
1170
|
+
|
|
1171
|
+
def timetuple(self):
|
|
1172
|
+
"Return local time tuple compatible with time.localtime()."
|
|
1173
|
+
return _build_struct_time(self._year, self._month, self._day,
|
|
1174
|
+
0, 0, 0, -1)
|
|
1175
|
+
|
|
1176
|
+
def toordinal(self):
|
|
1177
|
+
"""Return proleptic Gregorian ordinal for the year, month and day.
|
|
1178
|
+
|
|
1179
|
+
January 1 of year 1 is day 1. Only the year, month and day values
|
|
1180
|
+
contribute to the result.
|
|
1181
|
+
"""
|
|
1182
|
+
return _ymd2ord(self._year, self._month, self._day)
|
|
1183
|
+
|
|
1184
|
+
def replace(self, year=None, month=None, day=None):
|
|
1185
|
+
"""Return a new date with new values for the specified fields."""
|
|
1186
|
+
if year is None:
|
|
1187
|
+
year = self._year
|
|
1188
|
+
if month is None:
|
|
1189
|
+
month = self._month
|
|
1190
|
+
if day is None:
|
|
1191
|
+
day = self._day
|
|
1192
|
+
return type(self)(year, month, day)
|
|
1193
|
+
|
|
1194
|
+
__replace__ = replace
|
|
1195
|
+
|
|
1196
|
+
# Comparisons of date objects with other.
|
|
1197
|
+
|
|
1198
|
+
def __eq__(self, other):
|
|
1199
|
+
if isinstance(other, date) and not isinstance(other, datetime):
|
|
1200
|
+
return self._cmp(other) == 0
|
|
1201
|
+
return NotImplemented
|
|
1202
|
+
|
|
1203
|
+
def __le__(self, other):
|
|
1204
|
+
if isinstance(other, date) and not isinstance(other, datetime):
|
|
1205
|
+
return self._cmp(other) <= 0
|
|
1206
|
+
return NotImplemented
|
|
1207
|
+
|
|
1208
|
+
def __lt__(self, other):
|
|
1209
|
+
if isinstance(other, date) and not isinstance(other, datetime):
|
|
1210
|
+
return self._cmp(other) < 0
|
|
1211
|
+
return NotImplemented
|
|
1212
|
+
|
|
1213
|
+
def __ge__(self, other):
|
|
1214
|
+
if isinstance(other, date) and not isinstance(other, datetime):
|
|
1215
|
+
return self._cmp(other) >= 0
|
|
1216
|
+
return NotImplemented
|
|
1217
|
+
|
|
1218
|
+
def __gt__(self, other):
|
|
1219
|
+
if isinstance(other, date) and not isinstance(other, datetime):
|
|
1220
|
+
return self._cmp(other) > 0
|
|
1221
|
+
return NotImplemented
|
|
1222
|
+
|
|
1223
|
+
def _cmp(self, other):
|
|
1224
|
+
assert isinstance(other, date)
|
|
1225
|
+
assert not isinstance(other, datetime)
|
|
1226
|
+
y, m, d = self._year, self._month, self._day
|
|
1227
|
+
y2, m2, d2 = other._year, other._month, other._day
|
|
1228
|
+
return _cmp((y, m, d), (y2, m2, d2))
|
|
1229
|
+
|
|
1230
|
+
def __hash__(self):
|
|
1231
|
+
"Hash."
|
|
1232
|
+
if self._hashcode == -1:
|
|
1233
|
+
self._hashcode = hash(self._getstate())
|
|
1234
|
+
return self._hashcode
|
|
1235
|
+
|
|
1236
|
+
# Computations
|
|
1237
|
+
|
|
1238
|
+
def __add__(self, other):
|
|
1239
|
+
"Add a date to a timedelta."
|
|
1240
|
+
if isinstance(other, timedelta):
|
|
1241
|
+
o = self.toordinal() + other.days
|
|
1242
|
+
if 0 < o <= _MAXORDINAL:
|
|
1243
|
+
return type(self).fromordinal(o)
|
|
1244
|
+
raise OverflowError("result out of range")
|
|
1245
|
+
return NotImplemented
|
|
1246
|
+
|
|
1247
|
+
__radd__ = __add__
|
|
1248
|
+
|
|
1249
|
+
def __sub__(self, other):
|
|
1250
|
+
"""Subtract two dates, or a date and a timedelta."""
|
|
1251
|
+
if isinstance(other, timedelta):
|
|
1252
|
+
return self + timedelta(-other.days)
|
|
1253
|
+
if isinstance(other, date):
|
|
1254
|
+
days1 = self.toordinal()
|
|
1255
|
+
days2 = other.toordinal()
|
|
1256
|
+
return timedelta(days1 - days2)
|
|
1257
|
+
return NotImplemented
|
|
1258
|
+
|
|
1259
|
+
def weekday(self):
|
|
1260
|
+
"Return day of the week, where Monday == 0 ... Sunday == 6."
|
|
1261
|
+
return (self.toordinal() + 6) % 7
|
|
1262
|
+
|
|
1263
|
+
# Day-of-the-week and week-of-the-year, according to ISO
|
|
1264
|
+
|
|
1265
|
+
def isoweekday(self):
|
|
1266
|
+
"Return day of the week, where Monday == 1 ... Sunday == 7."
|
|
1267
|
+
# 1-Jan-0001 is a Monday
|
|
1268
|
+
return self.toordinal() % 7 or 7
|
|
1269
|
+
|
|
1270
|
+
def isocalendar(self):
|
|
1271
|
+
"""Return a named tuple containing ISO year, week number, and weekday.
|
|
1272
|
+
|
|
1273
|
+
The first ISO week of the year is the (Mon-Sun) week
|
|
1274
|
+
containing the year's first Thursday; everything else derives
|
|
1275
|
+
from that.
|
|
1276
|
+
|
|
1277
|
+
The first week is 1; Monday is 1 ... Sunday is 7.
|
|
1278
|
+
|
|
1279
|
+
ISO calendar algorithm taken from
|
|
1280
|
+
https://www.phys.uu.nl/~vgent/calendar/isocalendar.htm
|
|
1281
|
+
(used with permission)
|
|
1282
|
+
"""
|
|
1283
|
+
year = self._year
|
|
1284
|
+
week1monday = _isoweek1monday(year)
|
|
1285
|
+
today = _ymd2ord(self._year, self._month, self._day)
|
|
1286
|
+
# Internally, week and day have origin 0
|
|
1287
|
+
week, day = divmod(today - week1monday, 7)
|
|
1288
|
+
if week < 0:
|
|
1289
|
+
year -= 1
|
|
1290
|
+
week1monday = _isoweek1monday(year)
|
|
1291
|
+
week, day = divmod(today - week1monday, 7)
|
|
1292
|
+
elif week >= 52:
|
|
1293
|
+
if today >= _isoweek1monday(year+1):
|
|
1294
|
+
year += 1
|
|
1295
|
+
week = 0
|
|
1296
|
+
return _IsoCalendarDate(year, week+1, day+1)
|
|
1297
|
+
|
|
1298
|
+
# Pickle support.
|
|
1299
|
+
|
|
1300
|
+
def _getstate(self):
|
|
1301
|
+
yhi, ylo = divmod(self._year, 256)
|
|
1302
|
+
return bytes([yhi, ylo, self._month, self._day]),
|
|
1303
|
+
|
|
1304
|
+
def __setstate(self, string):
|
|
1305
|
+
yhi, ylo, self._month, self._day = string
|
|
1306
|
+
self._year = yhi * 256 + ylo
|
|
1307
|
+
|
|
1308
|
+
def __reduce__(self):
|
|
1309
|
+
return (self.__class__, self._getstate())
|
|
1310
|
+
|
|
1311
|
+
_date_class = date # so functions w/ args named "date" can get at the class
|
|
1312
|
+
|
|
1313
|
+
date.min = date(1, 1, 1)
|
|
1314
|
+
date.max = date(9999, 12, 31)
|
|
1315
|
+
date.resolution = timedelta(days=1)
|
|
1316
|
+
|
|
1317
|
+
|
|
1318
|
+
class tzinfo:
|
|
1319
|
+
"""Abstract base class for time zone info objects.
|
|
1320
|
+
|
|
1321
|
+
Subclasses must override the tzname(), utcoffset() and dst() methods.
|
|
1322
|
+
"""
|
|
1323
|
+
__slots__ = ()
|
|
1324
|
+
|
|
1325
|
+
def tzname(self, dt):
|
|
1326
|
+
"datetime -> string name of time zone."
|
|
1327
|
+
raise NotImplementedError("tzinfo subclass must override tzname()")
|
|
1328
|
+
|
|
1329
|
+
def utcoffset(self, dt):
|
|
1330
|
+
"datetime -> timedelta, positive for east of UTC, negative for west of UTC"
|
|
1331
|
+
raise NotImplementedError("tzinfo subclass must override utcoffset()")
|
|
1332
|
+
|
|
1333
|
+
def dst(self, dt):
|
|
1334
|
+
"""datetime -> DST offset as timedelta, positive for east of UTC.
|
|
1335
|
+
|
|
1336
|
+
Return 0 if DST not in effect. utcoffset() must include the DST
|
|
1337
|
+
offset.
|
|
1338
|
+
"""
|
|
1339
|
+
raise NotImplementedError("tzinfo subclass must override dst()")
|
|
1340
|
+
|
|
1341
|
+
def fromutc(self, dt):
|
|
1342
|
+
"datetime in UTC -> datetime in local time."
|
|
1343
|
+
|
|
1344
|
+
if not isinstance(dt, datetime):
|
|
1345
|
+
raise TypeError("fromutc() requires a datetime argument")
|
|
1346
|
+
if dt.tzinfo is not self:
|
|
1347
|
+
raise ValueError("dt.tzinfo is not self")
|
|
1348
|
+
|
|
1349
|
+
dtoff = dt.utcoffset()
|
|
1350
|
+
if dtoff is None:
|
|
1351
|
+
raise ValueError("fromutc() requires a non-None utcoffset() "
|
|
1352
|
+
"result")
|
|
1353
|
+
|
|
1354
|
+
# See the long comment block at the end of this file for an
|
|
1355
|
+
# explanation of this algorithm.
|
|
1356
|
+
dtdst = dt.dst()
|
|
1357
|
+
if dtdst is None:
|
|
1358
|
+
raise ValueError("fromutc() requires a non-None dst() result")
|
|
1359
|
+
delta = dtoff - dtdst
|
|
1360
|
+
if delta:
|
|
1361
|
+
dt += delta
|
|
1362
|
+
dtdst = dt.dst()
|
|
1363
|
+
if dtdst is None:
|
|
1364
|
+
raise ValueError("fromutc(): dt.dst gave inconsistent "
|
|
1365
|
+
"results; cannot convert")
|
|
1366
|
+
return dt + dtdst
|
|
1367
|
+
|
|
1368
|
+
# Pickle support.
|
|
1369
|
+
|
|
1370
|
+
def __reduce__(self):
|
|
1371
|
+
getinitargs = getattr(self, "__getinitargs__", None)
|
|
1372
|
+
if getinitargs:
|
|
1373
|
+
args = getinitargs()
|
|
1374
|
+
else:
|
|
1375
|
+
args = ()
|
|
1376
|
+
return (self.__class__, args, self.__getstate__())
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
class IsoCalendarDate(tuple):
|
|
1380
|
+
|
|
1381
|
+
def __new__(cls, year, week, weekday, /):
|
|
1382
|
+
return super().__new__(cls, (year, week, weekday))
|
|
1383
|
+
|
|
1384
|
+
@property
|
|
1385
|
+
def year(self):
|
|
1386
|
+
return self[0]
|
|
1387
|
+
|
|
1388
|
+
@property
|
|
1389
|
+
def week(self):
|
|
1390
|
+
return self[1]
|
|
1391
|
+
|
|
1392
|
+
@property
|
|
1393
|
+
def weekday(self):
|
|
1394
|
+
return self[2]
|
|
1395
|
+
|
|
1396
|
+
def __reduce__(self):
|
|
1397
|
+
# This code is intended to pickle the object without making the
|
|
1398
|
+
# class public. See https://bugs.python.org/msg352381
|
|
1399
|
+
return (tuple, (tuple(self),))
|
|
1400
|
+
|
|
1401
|
+
def __repr__(self):
|
|
1402
|
+
return (f'{self.__class__.__name__}'
|
|
1403
|
+
f'(year={self[0]}, week={self[1]}, weekday={self[2]})')
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
_IsoCalendarDate = IsoCalendarDate
|
|
1407
|
+
del IsoCalendarDate
|
|
1408
|
+
_tzinfo_class = tzinfo
|
|
1409
|
+
|
|
1410
|
+
class time:
|
|
1411
|
+
"""Time with time zone.
|
|
1412
|
+
|
|
1413
|
+
Constructors:
|
|
1414
|
+
|
|
1415
|
+
__new__()
|
|
1416
|
+
strptime()
|
|
1417
|
+
|
|
1418
|
+
Operators:
|
|
1419
|
+
|
|
1420
|
+
__repr__, __str__
|
|
1421
|
+
__eq__, __le__, __lt__, __ge__, __gt__, __hash__
|
|
1422
|
+
|
|
1423
|
+
Methods:
|
|
1424
|
+
|
|
1425
|
+
strftime()
|
|
1426
|
+
isoformat()
|
|
1427
|
+
utcoffset()
|
|
1428
|
+
tzname()
|
|
1429
|
+
dst()
|
|
1430
|
+
|
|
1431
|
+
Properties (readonly):
|
|
1432
|
+
hour, minute, second, microsecond, tzinfo, fold
|
|
1433
|
+
"""
|
|
1434
|
+
__slots__ = '_hour', '_minute', '_second', '_microsecond', '_tzinfo', '_hashcode', '_fold'
|
|
1435
|
+
|
|
1436
|
+
def __new__(cls, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0):
|
|
1437
|
+
"""Constructor.
|
|
1438
|
+
|
|
1439
|
+
Arguments:
|
|
1440
|
+
|
|
1441
|
+
hour, minute (required)
|
|
1442
|
+
second, microsecond (default to zero)
|
|
1443
|
+
tzinfo (default to None)
|
|
1444
|
+
fold (keyword only, default to zero)
|
|
1445
|
+
"""
|
|
1446
|
+
if (isinstance(hour, (bytes, str)) and len(hour) == 6 and
|
|
1447
|
+
ord(hour[0:1])&0x7F < 24):
|
|
1448
|
+
# Pickle support
|
|
1449
|
+
if isinstance(hour, str):
|
|
1450
|
+
try:
|
|
1451
|
+
hour = hour.encode('latin1')
|
|
1452
|
+
except UnicodeEncodeError:
|
|
1453
|
+
# More informative error message.
|
|
1454
|
+
raise ValueError(
|
|
1455
|
+
"Failed to encode latin1 string when unpickling "
|
|
1456
|
+
"a time object. "
|
|
1457
|
+
"pickle.load(data, encoding='latin1') is assumed.")
|
|
1458
|
+
self = object.__new__(cls)
|
|
1459
|
+
self.__setstate(hour, minute or None)
|
|
1460
|
+
self._hashcode = -1
|
|
1461
|
+
return self
|
|
1462
|
+
hour, minute, second, microsecond, fold = _check_time_fields(
|
|
1463
|
+
hour, minute, second, microsecond, fold)
|
|
1464
|
+
_check_tzinfo_arg(tzinfo)
|
|
1465
|
+
self = object.__new__(cls)
|
|
1466
|
+
self._hour = hour
|
|
1467
|
+
self._minute = minute
|
|
1468
|
+
self._second = second
|
|
1469
|
+
self._microsecond = microsecond
|
|
1470
|
+
self._tzinfo = tzinfo
|
|
1471
|
+
self._hashcode = -1
|
|
1472
|
+
self._fold = fold
|
|
1473
|
+
return self
|
|
1474
|
+
|
|
1475
|
+
@classmethod
|
|
1476
|
+
|
|
1477
|
+
def strptime(cls, date_string, format):
|
|
1478
|
+
"""Parse string according to the given time format (like time.strptime()).
|
|
1479
|
+
|
|
1480
|
+
For a list of supported format codes, see the documentation:
|
|
1481
|
+
https://docs.python.org/3/library/datetime.html#format-codes
|
|
1482
|
+
"""
|
|
1483
|
+
import _strptime
|
|
1484
|
+
return _strptime._strptime_datetime_time(cls, date_string, format)
|
|
1485
|
+
|
|
1486
|
+
# Read-only field accessors
|
|
1487
|
+
@property
|
|
1488
|
+
def hour(self):
|
|
1489
|
+
"""hour (0-23)"""
|
|
1490
|
+
return self._hour
|
|
1491
|
+
|
|
1492
|
+
@property
|
|
1493
|
+
def minute(self):
|
|
1494
|
+
"""minute (0-59)"""
|
|
1495
|
+
return self._minute
|
|
1496
|
+
|
|
1497
|
+
@property
|
|
1498
|
+
def second(self):
|
|
1499
|
+
"""second (0-59)"""
|
|
1500
|
+
return self._second
|
|
1501
|
+
|
|
1502
|
+
@property
|
|
1503
|
+
def microsecond(self):
|
|
1504
|
+
"""microsecond (0-999999)"""
|
|
1505
|
+
return self._microsecond
|
|
1506
|
+
|
|
1507
|
+
@property
|
|
1508
|
+
def tzinfo(self):
|
|
1509
|
+
"""timezone info object"""
|
|
1510
|
+
return self._tzinfo
|
|
1511
|
+
|
|
1512
|
+
@property
|
|
1513
|
+
def fold(self):
|
|
1514
|
+
return self._fold
|
|
1515
|
+
|
|
1516
|
+
# Standard conversions, __hash__ (and helpers)
|
|
1517
|
+
|
|
1518
|
+
# Comparisons of time objects with other.
|
|
1519
|
+
|
|
1520
|
+
def __eq__(self, other):
|
|
1521
|
+
if isinstance(other, time):
|
|
1522
|
+
return self._cmp(other, allow_mixed=True) == 0
|
|
1523
|
+
else:
|
|
1524
|
+
return NotImplemented
|
|
1525
|
+
|
|
1526
|
+
def __le__(self, other):
|
|
1527
|
+
if isinstance(other, time):
|
|
1528
|
+
return self._cmp(other) <= 0
|
|
1529
|
+
else:
|
|
1530
|
+
return NotImplemented
|
|
1531
|
+
|
|
1532
|
+
def __lt__(self, other):
|
|
1533
|
+
if isinstance(other, time):
|
|
1534
|
+
return self._cmp(other) < 0
|
|
1535
|
+
else:
|
|
1536
|
+
return NotImplemented
|
|
1537
|
+
|
|
1538
|
+
def __ge__(self, other):
|
|
1539
|
+
if isinstance(other, time):
|
|
1540
|
+
return self._cmp(other) >= 0
|
|
1541
|
+
else:
|
|
1542
|
+
return NotImplemented
|
|
1543
|
+
|
|
1544
|
+
def __gt__(self, other):
|
|
1545
|
+
if isinstance(other, time):
|
|
1546
|
+
return self._cmp(other) > 0
|
|
1547
|
+
else:
|
|
1548
|
+
return NotImplemented
|
|
1549
|
+
|
|
1550
|
+
def _cmp(self, other, allow_mixed=False):
|
|
1551
|
+
assert isinstance(other, time)
|
|
1552
|
+
mytz = self._tzinfo
|
|
1553
|
+
ottz = other._tzinfo
|
|
1554
|
+
myoff = otoff = None
|
|
1555
|
+
|
|
1556
|
+
if mytz is ottz:
|
|
1557
|
+
base_compare = True
|
|
1558
|
+
else:
|
|
1559
|
+
myoff = self.utcoffset()
|
|
1560
|
+
otoff = other.utcoffset()
|
|
1561
|
+
base_compare = myoff == otoff
|
|
1562
|
+
|
|
1563
|
+
if base_compare:
|
|
1564
|
+
return _cmp((self._hour, self._minute, self._second,
|
|
1565
|
+
self._microsecond),
|
|
1566
|
+
(other._hour, other._minute, other._second,
|
|
1567
|
+
other._microsecond))
|
|
1568
|
+
if myoff is None or otoff is None:
|
|
1569
|
+
if allow_mixed:
|
|
1570
|
+
return 2 # arbitrary non-zero value
|
|
1571
|
+
else:
|
|
1572
|
+
raise TypeError("cannot compare naive and aware times")
|
|
1573
|
+
myhhmm = self._hour * 60 + self._minute - myoff//timedelta(minutes=1)
|
|
1574
|
+
othhmm = other._hour * 60 + other._minute - otoff//timedelta(minutes=1)
|
|
1575
|
+
return _cmp((myhhmm, self._second, self._microsecond),
|
|
1576
|
+
(othhmm, other._second, other._microsecond))
|
|
1577
|
+
|
|
1578
|
+
def __hash__(self):
|
|
1579
|
+
"""Hash."""
|
|
1580
|
+
if self._hashcode == -1:
|
|
1581
|
+
if self.fold:
|
|
1582
|
+
t = self.replace(fold=0)
|
|
1583
|
+
else:
|
|
1584
|
+
t = self
|
|
1585
|
+
tzoff = t.utcoffset()
|
|
1586
|
+
if not tzoff: # zero or None
|
|
1587
|
+
self._hashcode = hash(t._getstate()[0])
|
|
1588
|
+
else:
|
|
1589
|
+
h, m = divmod(timedelta(hours=self.hour, minutes=self.minute) - tzoff,
|
|
1590
|
+
timedelta(hours=1))
|
|
1591
|
+
assert not m % timedelta(minutes=1), "whole minute"
|
|
1592
|
+
m //= timedelta(minutes=1)
|
|
1593
|
+
if 0 <= h < 24:
|
|
1594
|
+
self._hashcode = hash(time(h, m, self.second, self.microsecond))
|
|
1595
|
+
else:
|
|
1596
|
+
self._hashcode = hash((h, m, self.second, self.microsecond))
|
|
1597
|
+
return self._hashcode
|
|
1598
|
+
|
|
1599
|
+
# Conversion to string
|
|
1600
|
+
|
|
1601
|
+
def _tzstr(self):
|
|
1602
|
+
"""Return formatted timezone offset (+xx:xx) or an empty string."""
|
|
1603
|
+
off = self.utcoffset()
|
|
1604
|
+
return _format_offset(off)
|
|
1605
|
+
|
|
1606
|
+
def __repr__(self):
|
|
1607
|
+
"""Convert to formal string, for repr()."""
|
|
1608
|
+
if self._microsecond != 0:
|
|
1609
|
+
s = ", %d, %d" % (self._second, self._microsecond)
|
|
1610
|
+
elif self._second != 0:
|
|
1611
|
+
s = ", %d" % self._second
|
|
1612
|
+
else:
|
|
1613
|
+
s = ""
|
|
1614
|
+
s = "%s%s(%d, %d%s)" % (_get_class_module(self),
|
|
1615
|
+
self.__class__.__qualname__,
|
|
1616
|
+
self._hour, self._minute, s)
|
|
1617
|
+
if self._tzinfo is not None:
|
|
1618
|
+
assert s[-1:] == ")"
|
|
1619
|
+
s = s[:-1] + ", tzinfo=%r" % self._tzinfo + ")"
|
|
1620
|
+
if self._fold:
|
|
1621
|
+
assert s[-1:] == ")"
|
|
1622
|
+
s = s[:-1] + ", fold=1)"
|
|
1623
|
+
return s
|
|
1624
|
+
|
|
1625
|
+
def isoformat(self, timespec='auto'):
|
|
1626
|
+
"""Return the time formatted according to ISO.
|
|
1627
|
+
|
|
1628
|
+
The full format is 'HH:MM:SS.mmmmmm+zz:zz'. By default, the fractional
|
|
1629
|
+
part is omitted if self.microsecond == 0.
|
|
1630
|
+
|
|
1631
|
+
The optional argument timespec specifies the number of additional
|
|
1632
|
+
terms of the time to include. Valid options are 'auto', 'hours',
|
|
1633
|
+
'minutes', 'seconds', 'milliseconds' and 'microseconds'.
|
|
1634
|
+
"""
|
|
1635
|
+
s = _format_time(self._hour, self._minute, self._second,
|
|
1636
|
+
self._microsecond, timespec)
|
|
1637
|
+
tz = self._tzstr()
|
|
1638
|
+
if tz:
|
|
1639
|
+
s += tz
|
|
1640
|
+
return s
|
|
1641
|
+
|
|
1642
|
+
__str__ = isoformat
|
|
1643
|
+
|
|
1644
|
+
@classmethod
|
|
1645
|
+
def fromisoformat(cls, time_string):
|
|
1646
|
+
"""Construct a time from a string in one of the ISO 8601 formats."""
|
|
1647
|
+
if not isinstance(time_string, str):
|
|
1648
|
+
raise TypeError('fromisoformat: argument must be str')
|
|
1649
|
+
|
|
1650
|
+
# The spec actually requires that time-only ISO 8601 strings start with
|
|
1651
|
+
# T, but the extended format allows this to be omitted as long as there
|
|
1652
|
+
# is no ambiguity with date strings.
|
|
1653
|
+
time_string = time_string.removeprefix('T')
|
|
1654
|
+
|
|
1655
|
+
try:
|
|
1656
|
+
time_components, _, error_from_components, error_from_tz = (
|
|
1657
|
+
_parse_isoformat_time(time_string)
|
|
1658
|
+
)
|
|
1659
|
+
except ValueError:
|
|
1660
|
+
raise ValueError(
|
|
1661
|
+
f'Invalid isoformat string: {time_string!r}') from None
|
|
1662
|
+
else:
|
|
1663
|
+
if error_from_tz:
|
|
1664
|
+
raise error_from_tz
|
|
1665
|
+
if error_from_components:
|
|
1666
|
+
raise ValueError(
|
|
1667
|
+
"Minute, second, and microsecond must be 0 when hour is 24"
|
|
1668
|
+
)
|
|
1669
|
+
|
|
1670
|
+
return cls(*time_components)
|
|
1671
|
+
|
|
1672
|
+
def strftime(self, format):
|
|
1673
|
+
"""Format using strftime(). The date part of the timestamp passed
|
|
1674
|
+
to underlying strftime should not be used.
|
|
1675
|
+
|
|
1676
|
+
For a list of supported format codes, see the documentation:
|
|
1677
|
+
https://docs.python.org/3/library/datetime.html#format-codes
|
|
1678
|
+
"""
|
|
1679
|
+
# The year must be >= 1000 else Python's strftime implementation
|
|
1680
|
+
# can raise a bogus exception.
|
|
1681
|
+
timetuple = (1900, 1, 1,
|
|
1682
|
+
self._hour, self._minute, self._second,
|
|
1683
|
+
0, 1, -1)
|
|
1684
|
+
return _wrap_strftime(self, format, timetuple)
|
|
1685
|
+
|
|
1686
|
+
def __format__(self, fmt):
|
|
1687
|
+
if not isinstance(fmt, str):
|
|
1688
|
+
raise TypeError("must be str, not %s" % type(fmt).__name__)
|
|
1689
|
+
if len(fmt) != 0:
|
|
1690
|
+
return self.strftime(fmt)
|
|
1691
|
+
return str(self)
|
|
1692
|
+
|
|
1693
|
+
# Timezone functions
|
|
1694
|
+
|
|
1695
|
+
def utcoffset(self):
|
|
1696
|
+
"""Return the timezone offset as timedelta, positive east of UTC
|
|
1697
|
+
(negative west of UTC)."""
|
|
1698
|
+
if self._tzinfo is None:
|
|
1699
|
+
return None
|
|
1700
|
+
offset = self._tzinfo.utcoffset(None)
|
|
1701
|
+
_check_utc_offset("utcoffset", offset)
|
|
1702
|
+
return offset
|
|
1703
|
+
|
|
1704
|
+
def tzname(self):
|
|
1705
|
+
"""Return the timezone name.
|
|
1706
|
+
|
|
1707
|
+
Note that the name is 100% informational -- there's no requirement that
|
|
1708
|
+
it mean anything in particular. For example, "GMT", "UTC", "-500",
|
|
1709
|
+
"-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.
|
|
1710
|
+
"""
|
|
1711
|
+
if self._tzinfo is None:
|
|
1712
|
+
return None
|
|
1713
|
+
name = self._tzinfo.tzname(None)
|
|
1714
|
+
_check_tzname(name)
|
|
1715
|
+
return name
|
|
1716
|
+
|
|
1717
|
+
def dst(self):
|
|
1718
|
+
"""Return 0 if DST is not in effect, or the DST offset (as timedelta
|
|
1719
|
+
positive eastward) if DST is in effect.
|
|
1720
|
+
|
|
1721
|
+
This is purely informational; the DST offset has already been added to
|
|
1722
|
+
the UTC offset returned by utcoffset() if applicable, so there's no
|
|
1723
|
+
need to consult dst() unless you're interested in displaying the DST
|
|
1724
|
+
info.
|
|
1725
|
+
"""
|
|
1726
|
+
if self._tzinfo is None:
|
|
1727
|
+
return None
|
|
1728
|
+
offset = self._tzinfo.dst(None)
|
|
1729
|
+
_check_utc_offset("dst", offset)
|
|
1730
|
+
return offset
|
|
1731
|
+
|
|
1732
|
+
def replace(self, hour=None, minute=None, second=None, microsecond=None,
|
|
1733
|
+
tzinfo=True, *, fold=None):
|
|
1734
|
+
"""Return a new time with new values for the specified fields."""
|
|
1735
|
+
if hour is None:
|
|
1736
|
+
hour = self.hour
|
|
1737
|
+
if minute is None:
|
|
1738
|
+
minute = self.minute
|
|
1739
|
+
if second is None:
|
|
1740
|
+
second = self.second
|
|
1741
|
+
if microsecond is None:
|
|
1742
|
+
microsecond = self.microsecond
|
|
1743
|
+
if tzinfo is True:
|
|
1744
|
+
tzinfo = self.tzinfo
|
|
1745
|
+
if fold is None:
|
|
1746
|
+
fold = self._fold
|
|
1747
|
+
return type(self)(hour, minute, second, microsecond, tzinfo, fold=fold)
|
|
1748
|
+
|
|
1749
|
+
__replace__ = replace
|
|
1750
|
+
|
|
1751
|
+
# Pickle support.
|
|
1752
|
+
|
|
1753
|
+
def _getstate(self, protocol=3):
|
|
1754
|
+
us2, us3 = divmod(self._microsecond, 256)
|
|
1755
|
+
us1, us2 = divmod(us2, 256)
|
|
1756
|
+
h = self._hour
|
|
1757
|
+
if self._fold and protocol > 3:
|
|
1758
|
+
h += 128
|
|
1759
|
+
basestate = bytes([h, self._minute, self._second,
|
|
1760
|
+
us1, us2, us3])
|
|
1761
|
+
if self._tzinfo is None:
|
|
1762
|
+
return (basestate,)
|
|
1763
|
+
else:
|
|
1764
|
+
return (basestate, self._tzinfo)
|
|
1765
|
+
|
|
1766
|
+
def __setstate(self, string, tzinfo):
|
|
1767
|
+
if tzinfo is not None and not isinstance(tzinfo, _tzinfo_class):
|
|
1768
|
+
raise TypeError("bad tzinfo state arg")
|
|
1769
|
+
h, self._minute, self._second, us1, us2, us3 = string
|
|
1770
|
+
if h > 127:
|
|
1771
|
+
self._fold = 1
|
|
1772
|
+
self._hour = h - 128
|
|
1773
|
+
else:
|
|
1774
|
+
self._fold = 0
|
|
1775
|
+
self._hour = h
|
|
1776
|
+
self._microsecond = (((us1 << 8) | us2) << 8) | us3
|
|
1777
|
+
self._tzinfo = tzinfo
|
|
1778
|
+
|
|
1779
|
+
def __reduce_ex__(self, protocol):
|
|
1780
|
+
return (self.__class__, self._getstate(protocol))
|
|
1781
|
+
|
|
1782
|
+
def __reduce__(self):
|
|
1783
|
+
return self.__reduce_ex__(2)
|
|
1784
|
+
|
|
1785
|
+
_time_class = time # so functions w/ args named "time" can get at the class
|
|
1786
|
+
|
|
1787
|
+
time.min = time(0, 0, 0)
|
|
1788
|
+
time.max = time(23, 59, 59, 999999)
|
|
1789
|
+
time.resolution = timedelta(microseconds=1)
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
class datetime(date):
|
|
1793
|
+
"""A combination of a date and a time.
|
|
1794
|
+
|
|
1795
|
+
The year, month and day arguments are required. tzinfo may be None, or an
|
|
1796
|
+
instance of a tzinfo subclass. The remaining arguments may be ints.
|
|
1797
|
+
"""
|
|
1798
|
+
__slots__ = time.__slots__
|
|
1799
|
+
|
|
1800
|
+
def __new__(cls, year, month=None, day=None, hour=0, minute=0, second=0,
|
|
1801
|
+
microsecond=0, tzinfo=None, *, fold=0):
|
|
1802
|
+
if (isinstance(year, (bytes, str)) and len(year) == 10 and
|
|
1803
|
+
1 <= ord(year[2:3])&0x7F <= 12):
|
|
1804
|
+
# Pickle support
|
|
1805
|
+
if isinstance(year, str):
|
|
1806
|
+
try:
|
|
1807
|
+
year = bytes(year, 'latin1')
|
|
1808
|
+
except UnicodeEncodeError:
|
|
1809
|
+
# More informative error message.
|
|
1810
|
+
raise ValueError(
|
|
1811
|
+
"Failed to encode latin1 string when unpickling "
|
|
1812
|
+
"a datetime object. "
|
|
1813
|
+
"pickle.load(data, encoding='latin1') is assumed.")
|
|
1814
|
+
self = object.__new__(cls)
|
|
1815
|
+
self.__setstate(year, month)
|
|
1816
|
+
self._hashcode = -1
|
|
1817
|
+
return self
|
|
1818
|
+
year, month, day = _check_date_fields(year, month, day)
|
|
1819
|
+
hour, minute, second, microsecond, fold = _check_time_fields(
|
|
1820
|
+
hour, minute, second, microsecond, fold)
|
|
1821
|
+
_check_tzinfo_arg(tzinfo)
|
|
1822
|
+
self = object.__new__(cls)
|
|
1823
|
+
self._year = year
|
|
1824
|
+
self._month = month
|
|
1825
|
+
self._day = day
|
|
1826
|
+
self._hour = hour
|
|
1827
|
+
self._minute = minute
|
|
1828
|
+
self._second = second
|
|
1829
|
+
self._microsecond = microsecond
|
|
1830
|
+
self._tzinfo = tzinfo
|
|
1831
|
+
self._hashcode = -1
|
|
1832
|
+
self._fold = fold
|
|
1833
|
+
return self
|
|
1834
|
+
|
|
1835
|
+
# Read-only field accessors
|
|
1836
|
+
@property
|
|
1837
|
+
def hour(self):
|
|
1838
|
+
"""hour (0-23)"""
|
|
1839
|
+
return self._hour
|
|
1840
|
+
|
|
1841
|
+
@property
|
|
1842
|
+
def minute(self):
|
|
1843
|
+
"""minute (0-59)"""
|
|
1844
|
+
return self._minute
|
|
1845
|
+
|
|
1846
|
+
@property
|
|
1847
|
+
def second(self):
|
|
1848
|
+
"""second (0-59)"""
|
|
1849
|
+
return self._second
|
|
1850
|
+
|
|
1851
|
+
@property
|
|
1852
|
+
def microsecond(self):
|
|
1853
|
+
"""microsecond (0-999999)"""
|
|
1854
|
+
return self._microsecond
|
|
1855
|
+
|
|
1856
|
+
@property
|
|
1857
|
+
def tzinfo(self):
|
|
1858
|
+
"""timezone info object"""
|
|
1859
|
+
return self._tzinfo
|
|
1860
|
+
|
|
1861
|
+
@property
|
|
1862
|
+
def fold(self):
|
|
1863
|
+
return self._fold
|
|
1864
|
+
|
|
1865
|
+
@classmethod
|
|
1866
|
+
def _fromtimestamp(cls, t, utc, tz):
|
|
1867
|
+
"""Construct a datetime from a POSIX timestamp (like time.time()).
|
|
1868
|
+
|
|
1869
|
+
A timezone info object may be passed in as well.
|
|
1870
|
+
"""
|
|
1871
|
+
frac, t = _math.modf(t)
|
|
1872
|
+
us = round(frac * 1e6)
|
|
1873
|
+
if us >= 1000000:
|
|
1874
|
+
t += 1
|
|
1875
|
+
us -= 1000000
|
|
1876
|
+
elif us < 0:
|
|
1877
|
+
t -= 1
|
|
1878
|
+
us += 1000000
|
|
1879
|
+
|
|
1880
|
+
converter = _time.gmtime if utc else _time.localtime
|
|
1881
|
+
y, m, d, hh, mm, ss, weekday, jday, dst = converter(t)
|
|
1882
|
+
ss = min(ss, 59) # clamp out leap seconds if the platform has them
|
|
1883
|
+
result = cls(y, m, d, hh, mm, ss, us, tz)
|
|
1884
|
+
if tz is None and not utc:
|
|
1885
|
+
# As of version 2015f max fold in IANA database is
|
|
1886
|
+
# 23 hours at 1969-09-30 13:00:00 in Kwajalein.
|
|
1887
|
+
# Let's probe 24 hours in the past to detect a transition:
|
|
1888
|
+
max_fold_seconds = 24 * 3600
|
|
1889
|
+
|
|
1890
|
+
# On Windows localtime_s throws an OSError for negative values,
|
|
1891
|
+
# thus we can't perform fold detection for values of time less
|
|
1892
|
+
# than the max time fold. See comments in _datetimemodule's
|
|
1893
|
+
# version of this method for more details.
|
|
1894
|
+
if t < max_fold_seconds and sys.platform.startswith("win"):
|
|
1895
|
+
return result
|
|
1896
|
+
|
|
1897
|
+
y, m, d, hh, mm, ss = converter(t - max_fold_seconds)[:6]
|
|
1898
|
+
probe1 = cls(y, m, d, hh, mm, ss, us, tz)
|
|
1899
|
+
trans = result - probe1 - timedelta(0, max_fold_seconds)
|
|
1900
|
+
if trans.days < 0:
|
|
1901
|
+
y, m, d, hh, mm, ss = converter(t + trans // timedelta(0, 1))[:6]
|
|
1902
|
+
probe2 = cls(y, m, d, hh, mm, ss, us, tz)
|
|
1903
|
+
if probe2 == result:
|
|
1904
|
+
result._fold = 1
|
|
1905
|
+
elif tz is not None:
|
|
1906
|
+
result = tz.fromutc(result)
|
|
1907
|
+
return result
|
|
1908
|
+
|
|
1909
|
+
@classmethod
|
|
1910
|
+
def fromtimestamp(cls, timestamp, tz=None):
|
|
1911
|
+
"""Construct a datetime from a POSIX timestamp (like time.time()).
|
|
1912
|
+
|
|
1913
|
+
A timezone info object may be passed in as well.
|
|
1914
|
+
"""
|
|
1915
|
+
_check_tzinfo_arg(tz)
|
|
1916
|
+
|
|
1917
|
+
return cls._fromtimestamp(timestamp, tz is not None, tz)
|
|
1918
|
+
|
|
1919
|
+
@classmethod
|
|
1920
|
+
def utcfromtimestamp(cls, t):
|
|
1921
|
+
"""Construct a naive UTC datetime from a POSIX timestamp."""
|
|
1922
|
+
import warnings
|
|
1923
|
+
warnings.warn("datetime.datetime.utcfromtimestamp() is deprecated and scheduled "
|
|
1924
|
+
"for removal in a future version. Use timezone-aware "
|
|
1925
|
+
"objects to represent datetimes in UTC: "
|
|
1926
|
+
"datetime.datetime.fromtimestamp(t, datetime.UTC).",
|
|
1927
|
+
DeprecationWarning,
|
|
1928
|
+
stacklevel=2)
|
|
1929
|
+
return cls._fromtimestamp(t, True, None)
|
|
1930
|
+
|
|
1931
|
+
@classmethod
|
|
1932
|
+
def now(cls, tz=None):
|
|
1933
|
+
"Construct a datetime from time.time() and optional time zone info."
|
|
1934
|
+
t = _time.time()
|
|
1935
|
+
return cls.fromtimestamp(t, tz)
|
|
1936
|
+
|
|
1937
|
+
@classmethod
|
|
1938
|
+
def utcnow(cls):
|
|
1939
|
+
"Construct a UTC datetime from time.time()."
|
|
1940
|
+
import warnings
|
|
1941
|
+
warnings.warn("datetime.datetime.utcnow() is deprecated and scheduled for "
|
|
1942
|
+
"removal in a future version. Use timezone-aware "
|
|
1943
|
+
"objects to represent datetimes in UTC: "
|
|
1944
|
+
"datetime.datetime.now(datetime.UTC).",
|
|
1945
|
+
DeprecationWarning,
|
|
1946
|
+
stacklevel=2)
|
|
1947
|
+
t = _time.time()
|
|
1948
|
+
return cls._fromtimestamp(t, True, None)
|
|
1949
|
+
|
|
1950
|
+
@classmethod
|
|
1951
|
+
def combine(cls, date, time, tzinfo=True):
|
|
1952
|
+
"Construct a datetime from a given date and a given time."
|
|
1953
|
+
if not isinstance(date, _date_class):
|
|
1954
|
+
raise TypeError("date argument must be a date instance")
|
|
1955
|
+
if not isinstance(time, _time_class):
|
|
1956
|
+
raise TypeError("time argument must be a time instance")
|
|
1957
|
+
if tzinfo is True:
|
|
1958
|
+
tzinfo = time.tzinfo
|
|
1959
|
+
return cls(date.year, date.month, date.day,
|
|
1960
|
+
time.hour, time.minute, time.second, time.microsecond,
|
|
1961
|
+
tzinfo, fold=time.fold)
|
|
1962
|
+
|
|
1963
|
+
@classmethod
|
|
1964
|
+
def fromisoformat(cls, date_string):
|
|
1965
|
+
"""Construct a datetime from a string in one of the ISO 8601 formats."""
|
|
1966
|
+
if not isinstance(date_string, str):
|
|
1967
|
+
raise TypeError('fromisoformat: argument must be str')
|
|
1968
|
+
|
|
1969
|
+
if len(date_string) < 7:
|
|
1970
|
+
raise ValueError(f'Invalid isoformat string: {date_string!r}')
|
|
1971
|
+
|
|
1972
|
+
# Split this at the separator
|
|
1973
|
+
try:
|
|
1974
|
+
separator_location = _find_isoformat_datetime_separator(date_string)
|
|
1975
|
+
dstr = date_string[0:separator_location]
|
|
1976
|
+
tstr = date_string[(separator_location+1):]
|
|
1977
|
+
|
|
1978
|
+
date_components = _parse_isoformat_date(dstr)
|
|
1979
|
+
except ValueError:
|
|
1980
|
+
raise ValueError(
|
|
1981
|
+
f'Invalid isoformat string: {date_string!r}') from None
|
|
1982
|
+
|
|
1983
|
+
if tstr:
|
|
1984
|
+
try:
|
|
1985
|
+
(time_components,
|
|
1986
|
+
became_next_day,
|
|
1987
|
+
error_from_components,
|
|
1988
|
+
error_from_tz) = _parse_isoformat_time(tstr)
|
|
1989
|
+
except ValueError:
|
|
1990
|
+
raise ValueError(
|
|
1991
|
+
f'Invalid isoformat string: {date_string!r}') from None
|
|
1992
|
+
else:
|
|
1993
|
+
if error_from_tz:
|
|
1994
|
+
raise error_from_tz
|
|
1995
|
+
if error_from_components:
|
|
1996
|
+
raise ValueError("minute, second, and microsecond must be 0 when hour is 24")
|
|
1997
|
+
|
|
1998
|
+
if became_next_day:
|
|
1999
|
+
year, month, day = date_components
|
|
2000
|
+
# Only wrap day/month when it was previously valid
|
|
2001
|
+
if 1 <= month <= 12 and day <= (days_in_month := _days_in_month(year, month)):
|
|
2002
|
+
# Calculate midnight of the next day
|
|
2003
|
+
day += 1
|
|
2004
|
+
if day > days_in_month:
|
|
2005
|
+
day = 1
|
|
2006
|
+
month += 1
|
|
2007
|
+
if month > 12:
|
|
2008
|
+
month = 1
|
|
2009
|
+
year += 1
|
|
2010
|
+
date_components = [year, month, day]
|
|
2011
|
+
else:
|
|
2012
|
+
time_components = [0, 0, 0, 0, None]
|
|
2013
|
+
|
|
2014
|
+
return cls(*(date_components + time_components))
|
|
2015
|
+
|
|
2016
|
+
def timetuple(self):
|
|
2017
|
+
"Return local time tuple compatible with time.localtime()."
|
|
2018
|
+
dst = self.dst()
|
|
2019
|
+
if dst is None:
|
|
2020
|
+
dst = -1
|
|
2021
|
+
elif dst:
|
|
2022
|
+
dst = 1
|
|
2023
|
+
else:
|
|
2024
|
+
dst = 0
|
|
2025
|
+
return _build_struct_time(self.year, self.month, self.day,
|
|
2026
|
+
self.hour, self.minute, self.second,
|
|
2027
|
+
dst)
|
|
2028
|
+
|
|
2029
|
+
def _mktime(self):
|
|
2030
|
+
"""Return integer POSIX timestamp."""
|
|
2031
|
+
epoch = datetime(1970, 1, 1)
|
|
2032
|
+
max_fold_seconds = 24 * 3600
|
|
2033
|
+
t = (self - epoch) // timedelta(0, 1)
|
|
2034
|
+
def local(u):
|
|
2035
|
+
y, m, d, hh, mm, ss = _time.localtime(u)[:6]
|
|
2036
|
+
return (datetime(y, m, d, hh, mm, ss) - epoch) // timedelta(0, 1)
|
|
2037
|
+
|
|
2038
|
+
# Our goal is to solve t = local(u) for u.
|
|
2039
|
+
a = local(t) - t
|
|
2040
|
+
u1 = t - a
|
|
2041
|
+
t1 = local(u1)
|
|
2042
|
+
if t1 == t:
|
|
2043
|
+
# We found one solution, but it may not be the one we need.
|
|
2044
|
+
# Look for an earlier solution (if `fold` is 0), or a
|
|
2045
|
+
# later one (if `fold` is 1).
|
|
2046
|
+
u2 = u1 + (-max_fold_seconds, max_fold_seconds)[self.fold]
|
|
2047
|
+
b = local(u2) - u2
|
|
2048
|
+
if a == b:
|
|
2049
|
+
return u1
|
|
2050
|
+
else:
|
|
2051
|
+
b = t1 - u1
|
|
2052
|
+
assert a != b
|
|
2053
|
+
u2 = t - b
|
|
2054
|
+
t2 = local(u2)
|
|
2055
|
+
if t2 == t:
|
|
2056
|
+
return u2
|
|
2057
|
+
if t1 == t:
|
|
2058
|
+
return u1
|
|
2059
|
+
# We have found both offsets a and b, but neither t - a nor t - b is
|
|
2060
|
+
# a solution. This means t is in the gap.
|
|
2061
|
+
return (max, min)[self.fold](u1, u2)
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
def timestamp(self):
|
|
2065
|
+
"Return POSIX timestamp as float"
|
|
2066
|
+
if self._tzinfo is None:
|
|
2067
|
+
s = self._mktime()
|
|
2068
|
+
return s + self.microsecond / 1e6
|
|
2069
|
+
else:
|
|
2070
|
+
return (self - _EPOCH).total_seconds()
|
|
2071
|
+
|
|
2072
|
+
def utctimetuple(self):
|
|
2073
|
+
"Return UTC time tuple compatible with time.gmtime()."
|
|
2074
|
+
offset = self.utcoffset()
|
|
2075
|
+
if offset:
|
|
2076
|
+
self -= offset
|
|
2077
|
+
y, m, d = self.year, self.month, self.day
|
|
2078
|
+
hh, mm, ss = self.hour, self.minute, self.second
|
|
2079
|
+
return _build_struct_time(y, m, d, hh, mm, ss, 0)
|
|
2080
|
+
|
|
2081
|
+
def date(self):
|
|
2082
|
+
"Return the date part."
|
|
2083
|
+
return date(self._year, self._month, self._day)
|
|
2084
|
+
|
|
2085
|
+
def time(self):
|
|
2086
|
+
"Return the time part, with tzinfo None."
|
|
2087
|
+
return time(self.hour, self.minute, self.second, self.microsecond, fold=self.fold)
|
|
2088
|
+
|
|
2089
|
+
def timetz(self):
|
|
2090
|
+
"Return the time part, with same tzinfo."
|
|
2091
|
+
return time(self.hour, self.minute, self.second, self.microsecond,
|
|
2092
|
+
self._tzinfo, fold=self.fold)
|
|
2093
|
+
|
|
2094
|
+
def replace(self, year=None, month=None, day=None, hour=None,
|
|
2095
|
+
minute=None, second=None, microsecond=None, tzinfo=True,
|
|
2096
|
+
*, fold=None):
|
|
2097
|
+
"""Return a new datetime with new values for the specified fields."""
|
|
2098
|
+
if year is None:
|
|
2099
|
+
year = self.year
|
|
2100
|
+
if month is None:
|
|
2101
|
+
month = self.month
|
|
2102
|
+
if day is None:
|
|
2103
|
+
day = self.day
|
|
2104
|
+
if hour is None:
|
|
2105
|
+
hour = self.hour
|
|
2106
|
+
if minute is None:
|
|
2107
|
+
minute = self.minute
|
|
2108
|
+
if second is None:
|
|
2109
|
+
second = self.second
|
|
2110
|
+
if microsecond is None:
|
|
2111
|
+
microsecond = self.microsecond
|
|
2112
|
+
if tzinfo is True:
|
|
2113
|
+
tzinfo = self.tzinfo
|
|
2114
|
+
if fold is None:
|
|
2115
|
+
fold = self.fold
|
|
2116
|
+
return type(self)(year, month, day, hour, minute, second,
|
|
2117
|
+
microsecond, tzinfo, fold=fold)
|
|
2118
|
+
|
|
2119
|
+
__replace__ = replace
|
|
2120
|
+
|
|
2121
|
+
def _local_timezone(self):
|
|
2122
|
+
if self.tzinfo is None:
|
|
2123
|
+
ts = self._mktime()
|
|
2124
|
+
# Detect gap
|
|
2125
|
+
ts2 = self.replace(fold=1-self.fold)._mktime()
|
|
2126
|
+
if ts2 != ts: # This happens in a gap or a fold
|
|
2127
|
+
if (ts2 > ts) == self.fold:
|
|
2128
|
+
ts = ts2
|
|
2129
|
+
else:
|
|
2130
|
+
ts = (self - _EPOCH) // timedelta(seconds=1)
|
|
2131
|
+
localtm = _time.localtime(ts)
|
|
2132
|
+
# Extract TZ data
|
|
2133
|
+
gmtoff = localtm.tm_gmtoff
|
|
2134
|
+
zone = localtm.tm_zone
|
|
2135
|
+
return timezone(timedelta(seconds=gmtoff), zone)
|
|
2136
|
+
|
|
2137
|
+
def astimezone(self, tz=None):
|
|
2138
|
+
if tz is None:
|
|
2139
|
+
tz = self._local_timezone()
|
|
2140
|
+
elif not isinstance(tz, tzinfo):
|
|
2141
|
+
raise TypeError("tz argument must be an instance of tzinfo")
|
|
2142
|
+
|
|
2143
|
+
mytz = self.tzinfo
|
|
2144
|
+
if mytz is None:
|
|
2145
|
+
mytz = self._local_timezone()
|
|
2146
|
+
myoffset = mytz.utcoffset(self)
|
|
2147
|
+
else:
|
|
2148
|
+
myoffset = mytz.utcoffset(self)
|
|
2149
|
+
if myoffset is None:
|
|
2150
|
+
mytz = self.replace(tzinfo=None)._local_timezone()
|
|
2151
|
+
myoffset = mytz.utcoffset(self)
|
|
2152
|
+
|
|
2153
|
+
if tz is mytz:
|
|
2154
|
+
return self
|
|
2155
|
+
|
|
2156
|
+
# Convert self to UTC, and attach the new time zone object.
|
|
2157
|
+
utc = (self - myoffset).replace(tzinfo=tz)
|
|
2158
|
+
|
|
2159
|
+
# Convert from UTC to tz's local time.
|
|
2160
|
+
return tz.fromutc(utc)
|
|
2161
|
+
|
|
2162
|
+
# Ways to produce a string.
|
|
2163
|
+
|
|
2164
|
+
def ctime(self):
|
|
2165
|
+
"Return ctime() style string."
|
|
2166
|
+
weekday = self.toordinal() % 7 or 7
|
|
2167
|
+
return "%s %s %2d %02d:%02d:%02d %04d" % (
|
|
2168
|
+
_DAYNAMES[weekday],
|
|
2169
|
+
_MONTHNAMES[self._month],
|
|
2170
|
+
self._day,
|
|
2171
|
+
self._hour, self._minute, self._second,
|
|
2172
|
+
self._year)
|
|
2173
|
+
|
|
2174
|
+
def isoformat(self, sep='T', timespec='auto'):
|
|
2175
|
+
"""Return the time formatted according to ISO.
|
|
2176
|
+
|
|
2177
|
+
The full format looks like 'YYYY-MM-DD HH:MM:SS.mmmmmm'.
|
|
2178
|
+
By default, the fractional part is omitted if self.microsecond == 0.
|
|
2179
|
+
|
|
2180
|
+
If self.tzinfo is not None, the UTC offset is also attached, giving
|
|
2181
|
+
a full format of 'YYYY-MM-DD HH:MM:SS.mmmmmm+HH:MM'.
|
|
2182
|
+
|
|
2183
|
+
Optional argument sep specifies the separator between date and
|
|
2184
|
+
time, default 'T'.
|
|
2185
|
+
|
|
2186
|
+
The optional argument timespec specifies the number of additional
|
|
2187
|
+
terms of the time to include. Valid options are 'auto', 'hours',
|
|
2188
|
+
'minutes', 'seconds', 'milliseconds' and 'microseconds'.
|
|
2189
|
+
"""
|
|
2190
|
+
s = ("%04d-%02d-%02d%c" % (self._year, self._month, self._day, sep) +
|
|
2191
|
+
_format_time(self._hour, self._minute, self._second,
|
|
2192
|
+
self._microsecond, timespec))
|
|
2193
|
+
|
|
2194
|
+
off = self.utcoffset()
|
|
2195
|
+
tz = _format_offset(off)
|
|
2196
|
+
if tz:
|
|
2197
|
+
s += tz
|
|
2198
|
+
|
|
2199
|
+
return s
|
|
2200
|
+
|
|
2201
|
+
def __repr__(self):
|
|
2202
|
+
"""Convert to formal string, for repr()."""
|
|
2203
|
+
L = [self._year, self._month, self._day, # These are never zero
|
|
2204
|
+
self._hour, self._minute, self._second, self._microsecond]
|
|
2205
|
+
if L[-1] == 0:
|
|
2206
|
+
del L[-1]
|
|
2207
|
+
if L[-1] == 0:
|
|
2208
|
+
del L[-1]
|
|
2209
|
+
s = "%s%s(%s)" % (_get_class_module(self),
|
|
2210
|
+
self.__class__.__qualname__,
|
|
2211
|
+
", ".join(map(str, L)))
|
|
2212
|
+
if self._tzinfo is not None:
|
|
2213
|
+
assert s[-1:] == ")"
|
|
2214
|
+
s = s[:-1] + ", tzinfo=%r" % self._tzinfo + ")"
|
|
2215
|
+
if self._fold:
|
|
2216
|
+
assert s[-1:] == ")"
|
|
2217
|
+
s = s[:-1] + ", fold=1)"
|
|
2218
|
+
return s
|
|
2219
|
+
|
|
2220
|
+
def __str__(self):
|
|
2221
|
+
"Convert to string, for str()."
|
|
2222
|
+
return self.isoformat(sep=' ')
|
|
2223
|
+
|
|
2224
|
+
@classmethod
|
|
2225
|
+
def strptime(cls, date_string, format):
|
|
2226
|
+
"""Parse string according to the given time format (like time.strptime()).
|
|
2227
|
+
|
|
2228
|
+
For a list of supported format codes, see the documentation:
|
|
2229
|
+
https://docs.python.org/3/library/datetime.html#format-codes
|
|
2230
|
+
"""
|
|
2231
|
+
import _strptime
|
|
2232
|
+
return _strptime._strptime_datetime_datetime(cls, date_string, format)
|
|
2233
|
+
|
|
2234
|
+
def utcoffset(self):
|
|
2235
|
+
"""Return the timezone offset as timedelta positive east of UTC (negative west of
|
|
2236
|
+
UTC)."""
|
|
2237
|
+
if self._tzinfo is None:
|
|
2238
|
+
return None
|
|
2239
|
+
offset = self._tzinfo.utcoffset(self)
|
|
2240
|
+
_check_utc_offset("utcoffset", offset)
|
|
2241
|
+
return offset
|
|
2242
|
+
|
|
2243
|
+
def tzname(self):
|
|
2244
|
+
"""Return the timezone name.
|
|
2245
|
+
|
|
2246
|
+
Note that the name is 100% informational -- there's no requirement that
|
|
2247
|
+
it mean anything in particular. For example, "GMT", "UTC", "-500",
|
|
2248
|
+
"-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.
|
|
2249
|
+
"""
|
|
2250
|
+
if self._tzinfo is None:
|
|
2251
|
+
return None
|
|
2252
|
+
name = self._tzinfo.tzname(self)
|
|
2253
|
+
_check_tzname(name)
|
|
2254
|
+
return name
|
|
2255
|
+
|
|
2256
|
+
def dst(self):
|
|
2257
|
+
"""Return 0 if DST is not in effect, or the DST offset (as timedelta
|
|
2258
|
+
positive eastward) if DST is in effect.
|
|
2259
|
+
|
|
2260
|
+
This is purely informational; the DST offset has already been added to
|
|
2261
|
+
the UTC offset returned by utcoffset() if applicable, so there's no
|
|
2262
|
+
need to consult dst() unless you're interested in displaying the DST
|
|
2263
|
+
info.
|
|
2264
|
+
"""
|
|
2265
|
+
if self._tzinfo is None:
|
|
2266
|
+
return None
|
|
2267
|
+
offset = self._tzinfo.dst(self)
|
|
2268
|
+
_check_utc_offset("dst", offset)
|
|
2269
|
+
return offset
|
|
2270
|
+
|
|
2271
|
+
# Comparisons of datetime objects with other.
|
|
2272
|
+
|
|
2273
|
+
def __eq__(self, other):
|
|
2274
|
+
if isinstance(other, datetime):
|
|
2275
|
+
return self._cmp(other, allow_mixed=True) == 0
|
|
2276
|
+
else:
|
|
2277
|
+
return NotImplemented
|
|
2278
|
+
|
|
2279
|
+
def __le__(self, other):
|
|
2280
|
+
if isinstance(other, datetime):
|
|
2281
|
+
return self._cmp(other) <= 0
|
|
2282
|
+
else:
|
|
2283
|
+
return NotImplemented
|
|
2284
|
+
|
|
2285
|
+
def __lt__(self, other):
|
|
2286
|
+
if isinstance(other, datetime):
|
|
2287
|
+
return self._cmp(other) < 0
|
|
2288
|
+
else:
|
|
2289
|
+
return NotImplemented
|
|
2290
|
+
|
|
2291
|
+
def __ge__(self, other):
|
|
2292
|
+
if isinstance(other, datetime):
|
|
2293
|
+
return self._cmp(other) >= 0
|
|
2294
|
+
else:
|
|
2295
|
+
return NotImplemented
|
|
2296
|
+
|
|
2297
|
+
def __gt__(self, other):
|
|
2298
|
+
if isinstance(other, datetime):
|
|
2299
|
+
return self._cmp(other) > 0
|
|
2300
|
+
else:
|
|
2301
|
+
return NotImplemented
|
|
2302
|
+
|
|
2303
|
+
def _cmp(self, other, allow_mixed=False):
|
|
2304
|
+
assert isinstance(other, datetime)
|
|
2305
|
+
mytz = self._tzinfo
|
|
2306
|
+
ottz = other._tzinfo
|
|
2307
|
+
myoff = otoff = None
|
|
2308
|
+
|
|
2309
|
+
if mytz is ottz:
|
|
2310
|
+
base_compare = True
|
|
2311
|
+
else:
|
|
2312
|
+
myoff = self.utcoffset()
|
|
2313
|
+
otoff = other.utcoffset()
|
|
2314
|
+
# Assume that allow_mixed means that we are called from __eq__
|
|
2315
|
+
if allow_mixed:
|
|
2316
|
+
if myoff != self.replace(fold=not self.fold).utcoffset():
|
|
2317
|
+
return 2
|
|
2318
|
+
if otoff != other.replace(fold=not other.fold).utcoffset():
|
|
2319
|
+
return 2
|
|
2320
|
+
base_compare = myoff == otoff
|
|
2321
|
+
|
|
2322
|
+
if base_compare:
|
|
2323
|
+
return _cmp((self._year, self._month, self._day,
|
|
2324
|
+
self._hour, self._minute, self._second,
|
|
2325
|
+
self._microsecond),
|
|
2326
|
+
(other._year, other._month, other._day,
|
|
2327
|
+
other._hour, other._minute, other._second,
|
|
2328
|
+
other._microsecond))
|
|
2329
|
+
if myoff is None or otoff is None:
|
|
2330
|
+
if allow_mixed:
|
|
2331
|
+
return 2 # arbitrary non-zero value
|
|
2332
|
+
else:
|
|
2333
|
+
raise TypeError("cannot compare naive and aware datetimes")
|
|
2334
|
+
# XXX What follows could be done more efficiently...
|
|
2335
|
+
diff = self - other # this will take offsets into account
|
|
2336
|
+
if diff.days < 0:
|
|
2337
|
+
return -1
|
|
2338
|
+
return diff and 1 or 0
|
|
2339
|
+
|
|
2340
|
+
def __add__(self, other):
|
|
2341
|
+
"Add a datetime and a timedelta."
|
|
2342
|
+
if not isinstance(other, timedelta):
|
|
2343
|
+
return NotImplemented
|
|
2344
|
+
delta = timedelta(self.toordinal(),
|
|
2345
|
+
hours=self._hour,
|
|
2346
|
+
minutes=self._minute,
|
|
2347
|
+
seconds=self._second,
|
|
2348
|
+
microseconds=self._microsecond)
|
|
2349
|
+
delta += other
|
|
2350
|
+
hour, rem = divmod(delta.seconds, 3600)
|
|
2351
|
+
minute, second = divmod(rem, 60)
|
|
2352
|
+
if 0 < delta.days <= _MAXORDINAL:
|
|
2353
|
+
return type(self).combine(date.fromordinal(delta.days),
|
|
2354
|
+
time(hour, minute, second,
|
|
2355
|
+
delta.microseconds,
|
|
2356
|
+
tzinfo=self._tzinfo))
|
|
2357
|
+
raise OverflowError("result out of range")
|
|
2358
|
+
|
|
2359
|
+
__radd__ = __add__
|
|
2360
|
+
|
|
2361
|
+
def __sub__(self, other):
|
|
2362
|
+
"Subtract two datetimes, or a datetime and a timedelta."
|
|
2363
|
+
if not isinstance(other, datetime):
|
|
2364
|
+
if isinstance(other, timedelta):
|
|
2365
|
+
return self + -other
|
|
2366
|
+
return NotImplemented
|
|
2367
|
+
|
|
2368
|
+
days1 = self.toordinal()
|
|
2369
|
+
days2 = other.toordinal()
|
|
2370
|
+
secs1 = self._second + self._minute * 60 + self._hour * 3600
|
|
2371
|
+
secs2 = other._second + other._minute * 60 + other._hour * 3600
|
|
2372
|
+
base = timedelta(days1 - days2,
|
|
2373
|
+
secs1 - secs2,
|
|
2374
|
+
self._microsecond - other._microsecond)
|
|
2375
|
+
if self._tzinfo is other._tzinfo:
|
|
2376
|
+
return base
|
|
2377
|
+
myoff = self.utcoffset()
|
|
2378
|
+
otoff = other.utcoffset()
|
|
2379
|
+
if myoff == otoff:
|
|
2380
|
+
return base
|
|
2381
|
+
if myoff is None or otoff is None:
|
|
2382
|
+
raise TypeError("cannot mix naive and timezone-aware time")
|
|
2383
|
+
return base + otoff - myoff
|
|
2384
|
+
|
|
2385
|
+
def __hash__(self):
|
|
2386
|
+
if self._hashcode == -1:
|
|
2387
|
+
if self.fold:
|
|
2388
|
+
t = self.replace(fold=0)
|
|
2389
|
+
else:
|
|
2390
|
+
t = self
|
|
2391
|
+
tzoff = t.utcoffset()
|
|
2392
|
+
if tzoff is None:
|
|
2393
|
+
self._hashcode = hash(t._getstate()[0])
|
|
2394
|
+
else:
|
|
2395
|
+
days = _ymd2ord(self.year, self.month, self.day)
|
|
2396
|
+
seconds = self.hour * 3600 + self.minute * 60 + self.second
|
|
2397
|
+
self._hashcode = hash(timedelta(days, seconds, self.microsecond) - tzoff)
|
|
2398
|
+
return self._hashcode
|
|
2399
|
+
|
|
2400
|
+
# Pickle support.
|
|
2401
|
+
|
|
2402
|
+
def _getstate(self, protocol=3):
|
|
2403
|
+
yhi, ylo = divmod(self._year, 256)
|
|
2404
|
+
us2, us3 = divmod(self._microsecond, 256)
|
|
2405
|
+
us1, us2 = divmod(us2, 256)
|
|
2406
|
+
m = self._month
|
|
2407
|
+
if self._fold and protocol > 3:
|
|
2408
|
+
m += 128
|
|
2409
|
+
basestate = bytes([yhi, ylo, m, self._day,
|
|
2410
|
+
self._hour, self._minute, self._second,
|
|
2411
|
+
us1, us2, us3])
|
|
2412
|
+
if self._tzinfo is None:
|
|
2413
|
+
return (basestate,)
|
|
2414
|
+
else:
|
|
2415
|
+
return (basestate, self._tzinfo)
|
|
2416
|
+
|
|
2417
|
+
def __setstate(self, string, tzinfo):
|
|
2418
|
+
if tzinfo is not None and not isinstance(tzinfo, _tzinfo_class):
|
|
2419
|
+
raise TypeError("bad tzinfo state arg")
|
|
2420
|
+
(yhi, ylo, m, self._day, self._hour,
|
|
2421
|
+
self._minute, self._second, us1, us2, us3) = string
|
|
2422
|
+
if m > 127:
|
|
2423
|
+
self._fold = 1
|
|
2424
|
+
self._month = m - 128
|
|
2425
|
+
else:
|
|
2426
|
+
self._fold = 0
|
|
2427
|
+
self._month = m
|
|
2428
|
+
self._year = yhi * 256 + ylo
|
|
2429
|
+
self._microsecond = (((us1 << 8) | us2) << 8) | us3
|
|
2430
|
+
self._tzinfo = tzinfo
|
|
2431
|
+
|
|
2432
|
+
def __reduce_ex__(self, protocol):
|
|
2433
|
+
return (self.__class__, self._getstate(protocol))
|
|
2434
|
+
|
|
2435
|
+
def __reduce__(self):
|
|
2436
|
+
return self.__reduce_ex__(2)
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
datetime.min = datetime(1, 1, 1)
|
|
2440
|
+
datetime.max = datetime(9999, 12, 31, 23, 59, 59, 999999)
|
|
2441
|
+
datetime.resolution = timedelta(microseconds=1)
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
def _isoweek1monday(year):
|
|
2445
|
+
# Helper to calculate the day number of the Monday starting week 1
|
|
2446
|
+
THURSDAY = 3
|
|
2447
|
+
firstday = _ymd2ord(year, 1, 1)
|
|
2448
|
+
firstweekday = (firstday + 6) % 7 # See weekday() above
|
|
2449
|
+
week1monday = firstday - firstweekday
|
|
2450
|
+
if firstweekday > THURSDAY:
|
|
2451
|
+
week1monday += 7
|
|
2452
|
+
return week1monday
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
class timezone(tzinfo):
|
|
2456
|
+
"""Fixed offset from UTC implementation of tzinfo."""
|
|
2457
|
+
|
|
2458
|
+
__slots__ = '_offset', '_name'
|
|
2459
|
+
|
|
2460
|
+
# Sentinel value to disallow None
|
|
2461
|
+
_Omitted = object()
|
|
2462
|
+
def __new__(cls, offset, name=_Omitted):
|
|
2463
|
+
if not isinstance(offset, timedelta):
|
|
2464
|
+
raise TypeError("offset must be a timedelta")
|
|
2465
|
+
if name is cls._Omitted:
|
|
2466
|
+
if not offset:
|
|
2467
|
+
return cls.utc
|
|
2468
|
+
name = None
|
|
2469
|
+
elif not isinstance(name, str):
|
|
2470
|
+
raise TypeError("name must be a string")
|
|
2471
|
+
if not cls._minoffset <= offset <= cls._maxoffset:
|
|
2472
|
+
raise ValueError("offset must be a timedelta "
|
|
2473
|
+
"strictly between -timedelta(hours=24) and "
|
|
2474
|
+
f"timedelta(hours=24), not {offset!r}")
|
|
2475
|
+
return cls._create(offset, name)
|
|
2476
|
+
|
|
2477
|
+
def __init_subclass__(cls):
|
|
2478
|
+
raise TypeError("type 'datetime.timezone' is not an acceptable base type")
|
|
2479
|
+
|
|
2480
|
+
@classmethod
|
|
2481
|
+
def _create(cls, offset, name=None):
|
|
2482
|
+
self = tzinfo.__new__(cls)
|
|
2483
|
+
self._offset = offset
|
|
2484
|
+
self._name = name
|
|
2485
|
+
return self
|
|
2486
|
+
|
|
2487
|
+
def __getinitargs__(self):
|
|
2488
|
+
"""pickle support"""
|
|
2489
|
+
if self._name is None:
|
|
2490
|
+
return (self._offset,)
|
|
2491
|
+
return (self._offset, self._name)
|
|
2492
|
+
|
|
2493
|
+
def __eq__(self, other):
|
|
2494
|
+
if isinstance(other, timezone):
|
|
2495
|
+
return self._offset == other._offset
|
|
2496
|
+
return NotImplemented
|
|
2497
|
+
|
|
2498
|
+
def __hash__(self):
|
|
2499
|
+
return hash(self._offset)
|
|
2500
|
+
|
|
2501
|
+
def __repr__(self):
|
|
2502
|
+
"""Convert to formal string, for repr().
|
|
2503
|
+
|
|
2504
|
+
>>> tz = timezone.utc
|
|
2505
|
+
>>> repr(tz)
|
|
2506
|
+
'datetime.timezone.utc'
|
|
2507
|
+
>>> tz = timezone(timedelta(hours=-5), 'EST')
|
|
2508
|
+
>>> repr(tz)
|
|
2509
|
+
"datetime.timezone(datetime.timedelta(-1, 68400), 'EST')"
|
|
2510
|
+
"""
|
|
2511
|
+
if self is self.utc:
|
|
2512
|
+
return 'datetime.timezone.utc'
|
|
2513
|
+
if self._name is None:
|
|
2514
|
+
return "%s%s(%r)" % (_get_class_module(self),
|
|
2515
|
+
self.__class__.__qualname__,
|
|
2516
|
+
self._offset)
|
|
2517
|
+
return "%s%s(%r, %r)" % (_get_class_module(self),
|
|
2518
|
+
self.__class__.__qualname__,
|
|
2519
|
+
self._offset, self._name)
|
|
2520
|
+
|
|
2521
|
+
def __str__(self):
|
|
2522
|
+
return self.tzname(None)
|
|
2523
|
+
|
|
2524
|
+
def utcoffset(self, dt):
|
|
2525
|
+
if isinstance(dt, datetime) or dt is None:
|
|
2526
|
+
return self._offset
|
|
2527
|
+
raise TypeError("utcoffset() argument must be a datetime instance"
|
|
2528
|
+
" or None")
|
|
2529
|
+
|
|
2530
|
+
def tzname(self, dt):
|
|
2531
|
+
if isinstance(dt, datetime) or dt is None:
|
|
2532
|
+
if self._name is None:
|
|
2533
|
+
return self._name_from_offset(self._offset)
|
|
2534
|
+
return self._name
|
|
2535
|
+
raise TypeError("tzname() argument must be a datetime instance"
|
|
2536
|
+
" or None")
|
|
2537
|
+
|
|
2538
|
+
def dst(self, dt):
|
|
2539
|
+
if isinstance(dt, datetime) or dt is None:
|
|
2540
|
+
return None
|
|
2541
|
+
raise TypeError("dst() argument must be a datetime instance"
|
|
2542
|
+
" or None")
|
|
2543
|
+
|
|
2544
|
+
def fromutc(self, dt):
|
|
2545
|
+
if isinstance(dt, datetime):
|
|
2546
|
+
if dt.tzinfo is not self:
|
|
2547
|
+
raise ValueError("fromutc: dt.tzinfo "
|
|
2548
|
+
"is not self")
|
|
2549
|
+
return dt + self._offset
|
|
2550
|
+
raise TypeError("fromutc() argument must be a datetime instance"
|
|
2551
|
+
" or None")
|
|
2552
|
+
|
|
2553
|
+
_maxoffset = timedelta(hours=24, microseconds=-1)
|
|
2554
|
+
_minoffset = -_maxoffset
|
|
2555
|
+
|
|
2556
|
+
@staticmethod
|
|
2557
|
+
def _name_from_offset(delta):
|
|
2558
|
+
if not delta:
|
|
2559
|
+
return 'UTC'
|
|
2560
|
+
if delta < timedelta(0):
|
|
2561
|
+
sign = '-'
|
|
2562
|
+
delta = -delta
|
|
2563
|
+
else:
|
|
2564
|
+
sign = '+'
|
|
2565
|
+
hours, rest = divmod(delta, timedelta(hours=1))
|
|
2566
|
+
minutes, rest = divmod(rest, timedelta(minutes=1))
|
|
2567
|
+
seconds = rest.seconds
|
|
2568
|
+
microseconds = rest.microseconds
|
|
2569
|
+
if microseconds:
|
|
2570
|
+
return (f'UTC{sign}{hours:02d}:{minutes:02d}:{seconds:02d}'
|
|
2571
|
+
f'.{microseconds:06d}')
|
|
2572
|
+
if seconds:
|
|
2573
|
+
return f'UTC{sign}{hours:02d}:{minutes:02d}:{seconds:02d}'
|
|
2574
|
+
return f'UTC{sign}{hours:02d}:{minutes:02d}'
|
|
2575
|
+
|
|
2576
|
+
UTC = timezone.utc = timezone._create(timedelta(0))
|
|
2577
|
+
|
|
2578
|
+
# bpo-37642: These attributes are rounded to the nearest minute for backwards
|
|
2579
|
+
# compatibility, even though the constructor will accept a wider range of
|
|
2580
|
+
# values. This may change in the future.
|
|
2581
|
+
timezone.min = timezone._create(-timedelta(hours=23, minutes=59))
|
|
2582
|
+
timezone.max = timezone._create(timedelta(hours=23, minutes=59))
|
|
2583
|
+
_EPOCH = datetime(1970, 1, 1, tzinfo=timezone.utc)
|
|
2584
|
+
|
|
2585
|
+
# Some time zone algebra. For a datetime x, let
|
|
2586
|
+
# x.n = x stripped of its timezone -- its naive time.
|
|
2587
|
+
# x.o = x.utcoffset(), and assuming that doesn't raise an exception or
|
|
2588
|
+
# return None
|
|
2589
|
+
# x.d = x.dst(), and assuming that doesn't raise an exception or
|
|
2590
|
+
# return None
|
|
2591
|
+
# x.s = x's standard offset, x.o - x.d
|
|
2592
|
+
#
|
|
2593
|
+
# Now some derived rules, where k is a duration (timedelta).
|
|
2594
|
+
#
|
|
2595
|
+
# 1. x.o = x.s + x.d
|
|
2596
|
+
# This follows from the definition of x.s.
|
|
2597
|
+
#
|
|
2598
|
+
# 2. If x and y have the same tzinfo member, x.s = y.s.
|
|
2599
|
+
# This is actually a requirement, an assumption we need to make about
|
|
2600
|
+
# sane tzinfo classes.
|
|
2601
|
+
#
|
|
2602
|
+
# 3. The naive UTC time corresponding to x is x.n - x.o.
|
|
2603
|
+
# This is again a requirement for a sane tzinfo class.
|
|
2604
|
+
#
|
|
2605
|
+
# 4. (x+k).s = x.s
|
|
2606
|
+
# This follows from #2, and that datetime.timetz+timedelta preserves tzinfo.
|
|
2607
|
+
#
|
|
2608
|
+
# 5. (x+k).n = x.n + k
|
|
2609
|
+
# Again follows from how arithmetic is defined.
|
|
2610
|
+
#
|
|
2611
|
+
# Now we can explain tz.fromutc(x). Let's assume it's an interesting case
|
|
2612
|
+
# (meaning that the various tzinfo methods exist, and don't blow up or return
|
|
2613
|
+
# None when called).
|
|
2614
|
+
#
|
|
2615
|
+
# The function wants to return a datetime y with timezone tz, equivalent to x.
|
|
2616
|
+
# x is already in UTC.
|
|
2617
|
+
#
|
|
2618
|
+
# By #3, we want
|
|
2619
|
+
#
|
|
2620
|
+
# y.n - y.o = x.n [1]
|
|
2621
|
+
#
|
|
2622
|
+
# The algorithm starts by attaching tz to x.n, and calling that y. So
|
|
2623
|
+
# x.n = y.n at the start. Then it wants to add a duration k to y, so that [1]
|
|
2624
|
+
# becomes true; in effect, we want to solve [2] for k:
|
|
2625
|
+
#
|
|
2626
|
+
# (y+k).n - (y+k).o = x.n [2]
|
|
2627
|
+
#
|
|
2628
|
+
# By #1, this is the same as
|
|
2629
|
+
#
|
|
2630
|
+
# (y+k).n - ((y+k).s + (y+k).d) = x.n [3]
|
|
2631
|
+
#
|
|
2632
|
+
# By #5, (y+k).n = y.n + k, which equals x.n + k because x.n=y.n at the start.
|
|
2633
|
+
# Substituting that into [3],
|
|
2634
|
+
#
|
|
2635
|
+
# x.n + k - (y+k).s - (y+k).d = x.n; the x.n terms cancel, leaving
|
|
2636
|
+
# k - (y+k).s - (y+k).d = 0; rearranging,
|
|
2637
|
+
# k = (y+k).s - (y+k).d; by #4, (y+k).s == y.s, so
|
|
2638
|
+
# k = y.s - (y+k).d
|
|
2639
|
+
#
|
|
2640
|
+
# On the RHS, (y+k).d can't be computed directly, but y.s can be, and we
|
|
2641
|
+
# approximate k by ignoring the (y+k).d term at first. Note that k can't be
|
|
2642
|
+
# very large, since all offset-returning methods return a duration of magnitude
|
|
2643
|
+
# less than 24 hours. For that reason, if y is firmly in std time, (y+k).d must
|
|
2644
|
+
# be 0, so ignoring it has no consequence then.
|
|
2645
|
+
#
|
|
2646
|
+
# In any case, the new value is
|
|
2647
|
+
#
|
|
2648
|
+
# z = y + y.s [4]
|
|
2649
|
+
#
|
|
2650
|
+
# It's helpful to step back at look at [4] from a higher level: it's simply
|
|
2651
|
+
# mapping from UTC to tz's standard time.
|
|
2652
|
+
#
|
|
2653
|
+
# At this point, if
|
|
2654
|
+
#
|
|
2655
|
+
# z.n - z.o = x.n [5]
|
|
2656
|
+
#
|
|
2657
|
+
# we have an equivalent time, and are almost done. The insecurity here is
|
|
2658
|
+
# at the start of daylight time. Picture US Eastern for concreteness. The wall
|
|
2659
|
+
# time jumps from 1:59 to 3:00, and wall hours of the form 2:MM don't make good
|
|
2660
|
+
# sense then. The docs ask that an Eastern tzinfo class consider such a time to
|
|
2661
|
+
# be EDT (because it's "after 2"), which is a redundant spelling of 1:MM EST
|
|
2662
|
+
# on the day DST starts. We want to return the 1:MM EST spelling because that's
|
|
2663
|
+
# the only spelling that makes sense on the local wall clock.
|
|
2664
|
+
#
|
|
2665
|
+
# In fact, if [5] holds at this point, we do have the standard-time spelling,
|
|
2666
|
+
# but that takes a bit of proof. We first prove a stronger result. What's the
|
|
2667
|
+
# difference between the LHS and RHS of [5]? Let
|
|
2668
|
+
#
|
|
2669
|
+
# diff = x.n - (z.n - z.o) [6]
|
|
2670
|
+
#
|
|
2671
|
+
# Now
|
|
2672
|
+
# z.n = by [4]
|
|
2673
|
+
# (y + y.s).n = by #5
|
|
2674
|
+
# y.n + y.s = since y.n = x.n
|
|
2675
|
+
# x.n + y.s = since z and y are have the same tzinfo member,
|
|
2676
|
+
# y.s = z.s by #2
|
|
2677
|
+
# x.n + z.s
|
|
2678
|
+
#
|
|
2679
|
+
# Plugging that back into [6] gives
|
|
2680
|
+
#
|
|
2681
|
+
# diff =
|
|
2682
|
+
# x.n - ((x.n + z.s) - z.o) = expanding
|
|
2683
|
+
# x.n - x.n - z.s + z.o = cancelling
|
|
2684
|
+
# - z.s + z.o = by #2
|
|
2685
|
+
# z.d
|
|
2686
|
+
#
|
|
2687
|
+
# So diff = z.d.
|
|
2688
|
+
#
|
|
2689
|
+
# If [5] is true now, diff = 0, so z.d = 0 too, and we have the standard-time
|
|
2690
|
+
# spelling we wanted in the endcase described above. We're done. Contrarily,
|
|
2691
|
+
# if z.d = 0, then we have a UTC equivalent, and are also done.
|
|
2692
|
+
#
|
|
2693
|
+
# If [5] is not true now, diff = z.d != 0, and z.d is the offset we need to
|
|
2694
|
+
# add to z (in effect, z is in tz's standard time, and we need to shift the
|
|
2695
|
+
# local clock into tz's daylight time).
|
|
2696
|
+
#
|
|
2697
|
+
# Let
|
|
2698
|
+
#
|
|
2699
|
+
# z' = z + z.d = z + diff [7]
|
|
2700
|
+
#
|
|
2701
|
+
# and we can again ask whether
|
|
2702
|
+
#
|
|
2703
|
+
# z'.n - z'.o = x.n [8]
|
|
2704
|
+
#
|
|
2705
|
+
# If so, we're done. If not, the tzinfo class is insane, according to the
|
|
2706
|
+
# assumptions we've made. This also requires a bit of proof. As before, let's
|
|
2707
|
+
# compute the difference between the LHS and RHS of [8] (and skipping some of
|
|
2708
|
+
# the justifications for the kinds of substitutions we've done several times
|
|
2709
|
+
# already):
|
|
2710
|
+
#
|
|
2711
|
+
# diff' = x.n - (z'.n - z'.o) = replacing z'.n via [7]
|
|
2712
|
+
# x.n - (z.n + diff - z'.o) = replacing diff via [6]
|
|
2713
|
+
# x.n - (z.n + x.n - (z.n - z.o) - z'.o) =
|
|
2714
|
+
# x.n - z.n - x.n + z.n - z.o + z'.o = cancel x.n
|
|
2715
|
+
# - z.n + z.n - z.o + z'.o = cancel z.n
|
|
2716
|
+
# - z.o + z'.o = #1 twice
|
|
2717
|
+
# -z.s - z.d + z'.s + z'.d = z and z' have same tzinfo
|
|
2718
|
+
# z'.d - z.d
|
|
2719
|
+
#
|
|
2720
|
+
# So z' is UTC-equivalent to x iff z'.d = z.d at this point. If they are equal,
|
|
2721
|
+
# we've found the UTC-equivalent so are done. In fact, we stop with [7] and
|
|
2722
|
+
# return z', not bothering to compute z'.d.
|
|
2723
|
+
#
|
|
2724
|
+
# How could z.d and z'd differ? z' = z + z.d [7], so merely moving z' by
|
|
2725
|
+
# a dst() offset, and starting *from* a time already in DST (we know z.d != 0),
|
|
2726
|
+
# would have to change the result dst() returns: we start in DST, and moving
|
|
2727
|
+
# a little further into it takes us out of DST.
|
|
2728
|
+
#
|
|
2729
|
+
# There isn't a sane case where this can happen. The closest it gets is at
|
|
2730
|
+
# the end of DST, where there's an hour in UTC with no spelling in a hybrid
|
|
2731
|
+
# tzinfo class. In US Eastern, that's 5:MM UTC = 0:MM EST = 1:MM EDT. During
|
|
2732
|
+
# that hour, on an Eastern clock 1:MM is taken as being in standard time (6:MM
|
|
2733
|
+
# UTC) because the docs insist on that, but 0:MM is taken as being in daylight
|
|
2734
|
+
# time (4:MM UTC). There is no local time mapping to 5:MM UTC. The local
|
|
2735
|
+
# clock jumps from 1:59 back to 1:00 again, and repeats the 1:MM hour in
|
|
2736
|
+
# standard time. Since that's what the local clock *does*, we want to map both
|
|
2737
|
+
# UTC hours 5:MM and 6:MM to 1:MM Eastern. The result is ambiguous
|
|
2738
|
+
# in local time, but so it goes -- it's the way the local clock works.
|
|
2739
|
+
#
|
|
2740
|
+
# When x = 5:MM UTC is the input to this algorithm, x.o=0, y.o=-5 and y.d=0,
|
|
2741
|
+
# so z=0:MM. z.d=60 (minutes) then, so [5] doesn't hold and we keep going.
|
|
2742
|
+
# z' = z + z.d = 1:MM then, and z'.d=0, and z'.d - z.d = -60 != 0 so [8]
|
|
2743
|
+
# (correctly) concludes that z' is not UTC-equivalent to x.
|
|
2744
|
+
#
|
|
2745
|
+
# Because we know z.d said z was in daylight time (else [5] would have held and
|
|
2746
|
+
# we would have stopped then), and we know z.d != z'.d (else [8] would have held
|
|
2747
|
+
# and we have stopped then), and there are only 2 possible values dst() can
|
|
2748
|
+
# return in Eastern, it follows that z'.d must be 0 (which it is in the example,
|
|
2749
|
+
# but the reasoning doesn't depend on the example -- it depends on there being
|
|
2750
|
+
# two possible dst() outcomes, one zero and the other non-zero). Therefore
|
|
2751
|
+
# z' must be in standard time, and is the spelling we want in this case.
|
|
2752
|
+
#
|
|
2753
|
+
# Note again that z' is not UTC-equivalent as far as the hybrid tzinfo class is
|
|
2754
|
+
# concerned (because it takes z' as being in standard time rather than the
|
|
2755
|
+
# daylight time we intend here), but returning it gives the real-life "local
|
|
2756
|
+
# clock repeats an hour" behavior when mapping the "unspellable" UTC hour into
|
|
2757
|
+
# tz.
|
|
2758
|
+
#
|
|
2759
|
+
# When the input is 6:MM, z=1:MM and z.d=0, and we stop at once, again with
|
|
2760
|
+
# the 1:MM standard time spelling we want.
|
|
2761
|
+
#
|
|
2762
|
+
# So how can this break? One of the assumptions must be violated. Two
|
|
2763
|
+
# possibilities:
|
|
2764
|
+
#
|
|
2765
|
+
# 1) [2] effectively says that y.s is invariant across all y belong to a given
|
|
2766
|
+
# time zone. This isn't true if, for political reasons or continental drift,
|
|
2767
|
+
# a region decides to change its base offset from UTC.
|
|
2768
|
+
#
|
|
2769
|
+
# 2) There may be versions of "double daylight" time where the tail end of
|
|
2770
|
+
# the analysis gives up a step too early. I haven't thought about that
|
|
2771
|
+
# enough to say.
|
|
2772
|
+
#
|
|
2773
|
+
# In any case, it's clear that the default fromutc() is strong enough to handle
|
|
2774
|
+
# "almost all" time zones: so long as the standard offset is invariant, it
|
|
2775
|
+
# doesn't matter if daylight time transition points change from year to year, or
|
|
2776
|
+
# if daylight time is skipped in some years; it doesn't matter how large or
|
|
2777
|
+
# small dst() may get within its bounds; and it doesn't even matter if some
|
|
2778
|
+
# perverse time zone returns a negative dst()). So a breaking case must be
|
|
2779
|
+
# pretty bizarre, and a tzinfo subclass can override fromutc() if it is.
|