code
stringlengths
0
21.5M
repo_name
stringlengths
4
92
path
stringlengths
1
189
language
stringlengths
0
26
license
stringclasses
11 values
size
int64
0
21.5M
import logging import os import re import string import typing from itertools import chain as _chain _logger = logging.getLogger(__name__) # ------------------------------------------------------------------------------------- # PEP 440 VERSION_PATTERN = r""" v? (?: (?:(?P<epoch>[0-9]+)!)? ...
castiel248/Convert
Lib/site-packages/setuptools/config/_validate_pyproject/formats.py
Python
mit
8,736
"""Utility functions to expand configuration directives or special values (such glob patterns). We can split the process of interpreting configuration files into 2 steps: 1. The parsing the file contents from strings to value objects that can be understand by Python (for example a string with a comma separated ...
castiel248/Convert
Lib/site-packages/setuptools/config/expand.py
Python
mit
16,319
""" Load setuptools configuration from ``pyproject.toml`` files. **PRIVATE MODULE**: API reserved for setuptools internal usage only. """ import logging import os import warnings from contextlib import contextmanager from functools import partial from typing import TYPE_CHECKING, Callable, Dict, Optional, Mapping, Uni...
castiel248/Convert
Lib/site-packages/setuptools/config/pyprojecttoml.py
Python
mit
19,304
""" Load setuptools configuration from ``setup.cfg`` files. **API will be made private in the future** """ import os import contextlib import functools import warnings from collections import defaultdict from functools import partial from functools import wraps from typing import (TYPE_CHECKING, Callable, Any, Dict, ...
castiel248/Convert
Lib/site-packages/setuptools/config/setupcfg.py
Python
mit
25,198
from distutils.dep_util import newer_group # yes, this is was almost entirely copy-pasted from # 'newer_pairwise()', this is just another convenience # function. def newer_pairwise_group(sources_groups, targets): """Walk both arguments in parallel, testing if each source group is newer than its corresponding ...
castiel248/Convert
Lib/site-packages/setuptools/dep_util.py
Python
mit
949
import sys import marshal import contextlib import dis from setuptools.extern.packaging import version from ._imp import find_module, PY_COMPILED, PY_FROZEN, PY_SOURCE from . import _imp __all__ = [ 'Require', 'find_module', 'get_module_constant', 'extract_constant' ] class Require: """A prerequisite to b...
castiel248/Convert
Lib/site-packages/setuptools/depends.py
Python
mit
5,499
"""Automatic discovery of Python modules and packages (for inclusion in the distribution) and other config values. For the purposes of this module, the following nomenclature is used: - "src-layout": a directory representing a Python project that contains a "src" folder. Everything under the "src" folder is meant t...
castiel248/Convert
Lib/site-packages/setuptools/discovery.py
Python
mit
20,799
# -*- coding: utf-8 -*- __all__ = ['Distribution'] import io import sys import re import os import warnings import numbers import distutils.log import distutils.core import distutils.cmd import distutils.dist import distutils.command from distutils.util import strtobool from distutils.debug import DEBUG from distutils...
castiel248/Convert
Lib/site-packages/setuptools/dist.py
Python
mit
45,578
"""setuptools.errors Provides exceptions used by setuptools modules. """ from distutils import errors as _distutils_errors # Re-export errors from distutils to facilitate the migration to PEP632 ByteCompileError = _distutils_errors.DistutilsByteCompileError CCompilerError = _distutils_errors.CCompilerError ClassEr...
castiel248/Convert
Lib/site-packages/setuptools/errors.py
Python
mit
2,464
import re import functools import distutils.core import distutils.errors import distutils.extension from .monkey import get_unpatched def _have_cython(): """ Return True if Cython can be imported. """ cython_impl = 'Cython.Distutils.build_ext' try: # from (cython_impl) import build_ext ...
castiel248/Convert
Lib/site-packages/setuptools/extension.py
Python
mit
5,591
import importlib.util import sys class VendorImporter: """ A PEP 302 meta path importer for finding optionally-vendored or otherwise naturally-installed packages from root_name. """ def __init__(self, root_name, vendored_names=(), vendor_pkg=None): self.root_name = root_name self....
castiel248/Convert
Lib/site-packages/setuptools/extern/__init__.py
Python
mit
2,512
""" Filename globbing utility. Mostly a copy of `glob` from Python 3.5. Changes include: * `yield from` and PEP3102 `*` removed. * Hidden files are not ignored. """ import os import re import fnmatch __all__ = ["glob", "iglob", "escape"] def glob(pathname, recursive=False): """Return a list of paths matching...
castiel248/Convert
Lib/site-packages/setuptools/glob.py
Python
mit
4,873
import glob import os import subprocess import sys import tempfile import warnings from distutils import log from distutils.errors import DistutilsError import pkg_resources from setuptools.wheel import Wheel from ._deprecation_warning import SetuptoolsDeprecationWarning def _fixup_find_links(find_links): """Ens...
castiel248/Convert
Lib/site-packages/setuptools/installer.py
Python
mit
3,824
""" Launch the Python script on the command line after setuptools is bootstrapped via import. """ # Note that setuptools gets imported implicitly by the # invocation of this script using python -m setuptools.launch import tokenize import sys def run(): """ Run the script in sys.argv[1] as if it had been...
castiel248/Convert
Lib/site-packages/setuptools/launch.py
Python
mit
812
import sys import logging import distutils.log from . import monkey def _not_warning(record): return record.levelno < logging.WARNING def configure(): """ Configure logging to emit warning and above to stderr and everything else to stdout. This behavior is provided for compatibility with distuti...
castiel248/Convert
Lib/site-packages/setuptools/logging.py
Python
mit
1,210
""" Monkey patching of distutils. """ import sys import distutils.filelist import platform import types import functools from importlib import import_module import inspect import setuptools __all__ = [] """ Everything is private. Contact the project team if you think you need this functionality. """ def _get_mro(c...
castiel248/Convert
Lib/site-packages/setuptools/monkey.py
Python
mit
4,857
""" Improved support for Microsoft Visual C++ compilers. Known supported compilers: -------------------------- Microsoft Visual C++ 14.X: Microsoft Visual C++ Build Tools 2015 (x86, x64, arm) Microsoft Visual Studio Build Tools 2017 (x86, x64, arm, arm64) Microsoft Visual Studio Build Tools 2019 (x86, x64,...
castiel248/Convert
Lib/site-packages/setuptools/msvc.py
Python
mit
47,724
import os from distutils import log import itertools flatten = itertools.chain.from_iterable class Installer: nspkg_ext = '-nspkg.pth' def install_namespaces(self): nsp = self._get_all_ns_packages() if not nsp: return filename, ext = os.path.splitext(self._get_target())...
castiel248/Convert
Lib/site-packages/setuptools/namespaces.py
Python
mit
3,093
"""PyPI and direct package downloading""" import sys import os import re import io import shutil import socket import base64 import hashlib import itertools import warnings import configparser import html import http.client import urllib.parse import urllib.request import urllib.error from functools import wraps impor...
castiel248/Convert
Lib/site-packages/setuptools/package_index.py
Python
mit
40,020
import importlib try: import importlib.util except ImportError: pass try: module_from_spec = importlib.util.module_from_spec except AttributeError: def module_from_spec(spec): return spec.loader.load_module(spec.name)
castiel248/Convert
Lib/site-packages/setuptools/py34compat.py
Python
mit
245
import os import sys import tempfile import operator import functools import itertools import re import contextlib import pickle import textwrap import builtins import pkg_resources from distutils.errors import DistutilsError from pkg_resources import working_set if sys.platform.startswith('java'): import org.pyt...
castiel248/Convert
Lib/site-packages/setuptools/sandbox.py
Python
mit
14,348
# EASY-INSTALL-DEV-SCRIPT: %(spec)r,%(script_name)r __requires__ = %(spec)r __import__('pkg_resources').require(%(spec)r) __file__ = %(dev_path)r with open(__file__) as f: exec(compile(f.read(), __file__, 'exec'))
castiel248/Convert
Lib/site-packages/setuptools/script (dev).tmpl
tmpl
mit
218
# EASY-INSTALL-SCRIPT: %(spec)r,%(script_name)r __requires__ = %(spec)r __import__('pkg_resources').run_script(%(spec)r, %(script_name)r)
castiel248/Convert
Lib/site-packages/setuptools/script.tmpl
tmpl
mit
138
import unicodedata import sys # HFS Plus uses decomposed UTF-8 def decompose(path): if isinstance(path, str): return unicodedata.normalize('NFD', path) try: path = path.decode('utf-8') path = unicodedata.normalize('NFD', path) path = path.encode('utf-8') except UnicodeError...
castiel248/Convert
Lib/site-packages/setuptools/unicode_utils.py
Python
mit
941
import pkg_resources try: __version__ = pkg_resources.get_distribution('setuptools').version except Exception: __version__ = 'unknown'
castiel248/Convert
Lib/site-packages/setuptools/version.py
Python
mit
144
"""Wheels support.""" import email import itertools import os import posixpath import re import zipfile import contextlib from distutils.util import get_platform import pkg_resources import setuptools from pkg_resources import parse_version from setuptools.extern.packaging.tags import sys_tags from setuptools.extern...
castiel248/Convert
Lib/site-packages/setuptools/wheel.py
Python
mit
8,376
import platform def windows_only(func): if platform.system() != 'Windows': return lambda *args, **kwargs: None return func @windows_only def hide_file(path): """ Set the hidden attribute on a file or directory. From http://stackoverflow.com/questions/19622133/ `path` must be text. ...
castiel248/Convert
Lib/site-packages/setuptools/windows_support.py
Python
mit
718
pip
castiel248/Convert
Lib/site-packages/sqlparse-0.4.4.dist-info/INSTALLER
none
mit
4
Metadata-Version: 2.1 Name: sqlparse Version: 0.4.4 Summary: A non-validating SQL parser. Author-email: Andi Albrecht <albrecht.andi@gmail.com> Requires-Python: >=3.5 Description-Content-Type: text/x-rst Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Lice...
castiel248/Convert
Lib/site-packages/sqlparse-0.4.4.dist-info/METADATA
none
mit
3,975
../../Scripts/sqlformat.exe,sha256=4Ai8C2c6eJK-Z107wc4n1ADc0MIbfF-LE0bAKykWc1g,108436 sqlparse-0.4.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 sqlparse-0.4.4.dist-info/LICENSE,sha256=wZOCNbgNOekxOOrontw69n4Y7LxA0mZSn6V7Lc5CYxA,1537 sqlparse-0.4.4.dist-info/METADATA,sha256=3ddYXNmq5A2vauTq...
castiel248/Convert
Lib/site-packages/sqlparse-0.4.4.dist-info/RECORD
none
mit
3,367
Wheel-Version: 1.0 Generator: flit 3.8.0 Root-Is-Purelib: true Tag: py3-none-any
castiel248/Convert
Lib/site-packages/sqlparse-0.4.4.dist-info/WHEEL
none
mit
81
[console_scripts] sqlformat=sqlparse.__main__:main
castiel248/Convert
Lib/site-packages/sqlparse-0.4.4.dist-info/entry_points.txt
Text
mit
52
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause """Parse SQL statements.""" # Setup namespace from sqlparse import sql from sqlparse import cli from s...
castiel248/Convert
Lib/site-packages/sqlparse/__init__.py
Python
mit
2,180
#!/usr/bin/env python # # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause """Entrypoint module for `python -m sqlparse`. Why does this file exist, and why...
castiel248/Convert
Lib/site-packages/sqlparse/__main__.py
Python
mit
610
#!/usr/bin/env python # # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause """Module that contains the command line app. Why does this file exist, and why ...
castiel248/Convert
Lib/site-packages/sqlparse/cli.py
Python
mit
5,712
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse.engine import grouping from sqlparse.engine.filter_stack import FilterStack from sqlparse...
castiel248/Convert
Lib/site-packages/sqlparse/engine/__init__.py
Python
mit
447
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause """filter""" from sqlparse import lexer from sqlparse.engine import grouping from sqlparse.engine.stat...
castiel248/Convert
Lib/site-packages/sqlparse/engine/filter_stack.py
Python
mit
1,193
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse import sql from sqlparse import tokens as T from sqlparse.utils import recurse, imt T_NU...
castiel248/Convert
Lib/site-packages/sqlparse/engine/grouping.py
Python
mit
13,826
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse import sql, tokens as T class StatementSplitter: """Filter that split stream at ind...
castiel248/Convert
Lib/site-packages/sqlparse/engine/statement_splitter.py
Python
mit
3,758
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause """Exceptions used in this package.""" class SQLParseError(Exception): """Base class for exceptio...
castiel248/Convert
Lib/site-packages/sqlparse/exceptions.py
Python
mit
342
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse.filters.others import SerializerUnicode from sqlparse.filters.others import StripComments...
castiel248/Convert
Lib/site-packages/sqlparse/filters/__init__.py
Python
mit
1,242
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse import sql, tokens as T from sqlparse.utils import offset, indent class AlignedIndentFi...
castiel248/Convert
Lib/site-packages/sqlparse/filters/aligned_indent.py
Python
mit
5,110
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause import re from sqlparse import sql, tokens as T from sqlparse.utils import split_unquoted_newlines c...
castiel248/Convert
Lib/site-packages/sqlparse/filters/others.py
Python
mit
5,180
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse import sql, tokens as T class OutputFilter: varname_prefix = '' def __init__(s...
castiel248/Convert
Lib/site-packages/sqlparse/filters/output.py
Python
mit
4,001
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse import sql, tokens as T from sqlparse.utils import offset, indent class ReindentFilter:...
castiel248/Convert
Lib/site-packages/sqlparse/filters/reindent.py
Python
mit
9,549
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause import re from sqlparse import sql, tokens as T # FIXME: Doesn't work class RightMarginFilter: k...
castiel248/Convert
Lib/site-packages/sqlparse/filters/right_margin.py
Python
mit
1,543
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse import tokens as T class _CaseFilter: ttype = None def __init__(self, case=Non...
castiel248/Convert
Lib/site-packages/sqlparse/filters/tokens.py
Python
mit
1,553
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause """SQL formatter""" from sqlparse import filters from sqlparse.exceptions import SQLParseError def v...
castiel248/Convert
Lib/site-packages/sqlparse/formatter.py
Python
mit
7,566
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse import tokens # object() only supports "is" and is useful as a marker # use this marker ...
castiel248/Convert
Lib/site-packages/sqlparse/keywords.py
Python
mit
29,445
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause """SQL Lexer""" import re # This code is based on the SqlLexer in pygments. # http://pygments.org/ # I...
castiel248/Convert
Lib/site-packages/sqlparse/lexer.py
Python
mit
5,786
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause """This module contains classes representing syntactical elements of SQL.""" import re from sqlparse ...
castiel248/Convert
Lib/site-packages/sqlparse/sql.py
Python
mit
20,401
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause # # The Token implementation is based on pygment's token system written # by Georg Brandl. # http://pygm...
castiel248/Convert
Lib/site-packages/sqlparse/tokens.py
Python
mit
1,661
# # Copyright (C) 2009-2020 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause import itertools import re from collections import deque from contextlib import contextmanager # This ...
castiel248/Convert
Lib/site-packages/sqlparse/utils.py
Python
mit
3,446
pip
castiel248/Convert
Lib/site-packages/tzdata-2023.3.dist-info/INSTALLER
none
mit
4
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
castiel248/Convert
Lib/site-packages/tzdata-2023.3.dist-info/LICENSE_APACHE
none
mit
11,357
Metadata-Version: 2.1 Name: tzdata Version: 2023.3 Summary: Provider of IANA time zone data Home-page: https://github.com/python/tzdata Author: Python Software Foundation Author-email: datetime-sig@python.org License: Apache-2.0 Project-URL: Bug Reports, https://github.com/python/tzdata/issues Project-URL: Source, http...
castiel248/Convert
Lib/site-packages/tzdata-2023.3.dist-info/METADATA
none
mit
1,393
tzdata-2023.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 tzdata-2023.3.dist-info/LICENSE,sha256=M-jlAC01EtP8wigrmV5rrZ0zR4G5xawxhD9ASQDh87Q,592 tzdata-2023.3.dist-info/LICENSE_APACHE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357 tzdata-2023.3.dist-info/METADATA,sha256=BB4RrjGT8M...
castiel248/Convert
Lib/site-packages/tzdata-2023.3.dist-info/RECORD
none
mit
55,963
Wheel-Version: 1.0 Generator: bdist_wheel (0.40.0) Root-Is-Purelib: true Tag: py2-none-any Tag: py3-none-any
castiel248/Convert
Lib/site-packages/tzdata-2023.3.dist-info/WHEEL
none
mit
110
tzdata
castiel248/Convert
Lib/site-packages/tzdata-2023.3.dist-info/top_level.txt
Text
mit
7
# IANA versions like 2020a are not valid PEP 440 identifiers; the recommended # way to translate the version is to use YYYY.n where `n` is a 0-based index. __version__ = "2023.3" # This exposes the original IANA version number. IANA_VERSION = "2023c"
castiel248/Convert
Lib/site-packages/tzdata/__init__.py
Python
mit
252
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Africa/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/America/Argentina/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/America/Indiana/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/America/Kentucky/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/America/North_Dakota/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/America/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Antarctica/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Arctic/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Asia/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Atlantic/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Australia/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Brazil/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Canada/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Chile/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Etc/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Europe/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Indian/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Mexico/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/Pacific/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/US/__init__.py
Python
mit
0
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/__init__.py
Python
mit
0
# ISO 3166 alpha-2 country codes # # This file is in the public domain, so clarified as of # 2009-05-17 by Arthur David Olson. # # From Paul Eggert (2022-11-18): # This file contains a table of two-letter country codes. Columns are # separated by a single tab. Lines beginning with '#' are comments. # All text uses UT...
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/iso3166.tab
tab
mit
4,446
# Allowance for leap seconds added to each time zone file. # This file is in the public domain. # This file is generated automatically from the data in the public-domain # NIST format leap-seconds.list file, which can be copied from # <ftp://ftp.nist.gov/pub/time/leap-seconds.list> # or <ftp://ftp.boulder.nist.gov/pu...
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/leapseconds
none
mit
3,392
# version 2023c # This zic input file is in the public domain. R d 1916 o - Jun 14 23s 1 S R d 1916 1919 - O Su>=1 23s 0 - R d 1917 o - Mar 24 23s 1 S R d 1918 o - Mar 9 23s 1 S R d 1919 o - Mar 1 23s 1 S R d 1920 o - F 14 23s 1 S R d 1920 o - O 23 23s 0 - R d 1921 o - Mar 14 23s 1 S R d 1921 o - Jun 21 23s 0 - R d 193...
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/tzdata.zi
zi
mit
109,248
# tzdb timezone descriptions (deprecated version) # # This file is in the public domain, so clarified as of # 2009-05-17 by Arthur David Olson. # # From Paul Eggert (2021-09-20): # This file is intended as a backward-compatibility aid for older programs. # New programs should use zone1970.tab. This file is like zone19...
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/zone.tab
tab
mit
18,855
# tzdb timezone descriptions # # This file is in the public domain. # # From Paul Eggert (2018-06-27): # This file contains a table where each row stands for a timezone where # civil timestamps have agreed since 1970. Columns are separated by # a single tab. Lines beginning with '#' are comments. All text uses # UTF...
castiel248/Convert
Lib/site-packages/tzdata/zoneinfo/zone1970.tab
tab
mit
17,551
Africa/Algiers Atlantic/Cape_Verde Africa/Ndjamena Africa/Abidjan Africa/Cairo Africa/Bissau Africa/Nairobi Africa/Monrovia Africa/Tripoli Indian/Mauritius Africa/Casablanca Africa/El_Aaiun Africa/Maputo Africa/Windhoek Africa/Lagos Africa/Sao_Tome Africa/Johannesburg Africa/Khartoum Africa/Juba Africa/Tunis Antarctica...
castiel248/Convert
Lib/site-packages/tzdata/zones
none
mit
9,084
<# .Synopsis Activate a Python virtual environment for the current PowerShell session. .Description Pushes the python executable for a virtual environment to the front of the $Env:PATH environment variable and sets the prompt to signify that you are in a Python virtual environment. Makes use of the command line switch...
castiel248/Convert
Scripts/Activate.ps1
PowerShell
mit
23,695
# This file must be used with "source bin/activate" *from bash* # you cannot run it directly deactivate () { # reset old environment variables if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then PATH="${_OLD_VIRTUAL_PATH:-}" export PATH unset _OLD_VIRTUAL_PATH fi if [ -n "${_OLD_VIRTUAL_P...
castiel248/Convert
Scripts/activate
none
mit
2,042
@echo off rem This file is UTF-8 encoded, so we need to update the current code page while executing it for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do ( set _OLD_CODEPAGE=%%a ) if defined _OLD_CODEPAGE ( "%SystemRoot%\System32\chcp.com" 65001 > nul ) set VIRTUAL_ENV=C:\Users\Castie...
castiel248/Convert
Scripts/activate.bat
Batchfile
mit
1,006
@echo off if defined _OLD_VIRTUAL_PROMPT ( set "PROMPT=%_OLD_VIRTUAL_PROMPT%" ) set _OLD_VIRTUAL_PROMPT= if defined _OLD_VIRTUAL_PYTHONHOME ( set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%" set _OLD_VIRTUAL_PYTHONHOME= ) if defined _OLD_VIRTUAL_PATH ( set "PATH=%_OLD_VIRTUAL_PATH%" ) set _OLD_VIRTUAL_PAT...
castiel248/Convert
Scripts/deactivate.bat
Batchfile
mit
371
castiel248/Convert
length_converter/app_conv/__init__.py
Python
mit
0
from django.contrib import admin # Register your models here.
castiel248/Convert
length_converter/app_conv/admin.py
Python
mit
63
from django.apps import AppConfig class AppConvConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'app_conv'
castiel248/Convert
length_converter/app_conv/apps.py
Python
mit
147
castiel248/Convert
length_converter/app_conv/migrations/__init__.py
Python
mit
0
from django.db import models from django import forms class Form(models.Model): def __init__(self, wartosc, miara): self.wartosc = wartosc self.miara = miara
castiel248/Convert
length_converter/app_conv/models.py
Python
mit
169
<html> <head> <title>Length Converter</title> <meta charset="utf-8"> <style> body { background-color: mintcream; } #logo{ background-color: lightseagreen; margin: 20; padding: 20; box-sizing: border-box; } h1{ font-family: "Times New Roman", Times, serif; text-align: center; text-decora...
castiel248/Convert
length_converter/app_conv/templates/convert.html
HTML
mit
1,264
<html> <head> <title>Length Converter</title> <meta charset="utf-8"> <style> body { background-color: mintcream; } #logo{ background-color: lightseagreen; margin: 20; padding: 20; box-sizing: border-box; } h1{ font-family: "Times New Roman", Times, serif; text-align: center; text-decora...
castiel248/Convert
length_converter/app_conv/templates/index.html
HTML
mit
1,019
from django.test import TestCase # Create your tests here.
castiel248/Convert
length_converter/app_conv/tests.py
Python
mit
60
from django.urls import path from django.contrib import admin from . import views urlpatterns = [ path('', views.index, name='index'), path('convert', views.convert, name='convert'), ]
castiel248/Convert
length_converter/app_conv/urls.py
Python
mit
196