Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
4
288k
id
stringlengths
17
110
metadata
dict
__index_level_0__
int64
0
47
{% extends "base_template.html" %} {% block content %} <h2>Author: {{ author.first_name }} {{ author.last_name }}</h2> <div class="author_dates"> <p>Born in {{author.date_of_birth}}</p> {% if author.date_of_death %} <p>Died in {{ author.date_...
Django-locallibrary/LocalLibrary/catalog/Templates/author_info.html/0
{ "file_path": "Django-locallibrary/LocalLibrary/catalog/Templates/author_info.html", "repo_id": "Django-locallibrary", "token_count": 482 }
0
from django.db import models from django.db.models.base import Model from django.urls import reverse from django.contrib.auth.models import User import uuid from datetime import date class Author(models.Model): first_name = models.CharField(max_length=100) last_name = models.CharField(max_length=100) dat...
Django-locallibrary/LocalLibrary/catalog/models.py/0
{ "file_path": "Django-locallibrary/LocalLibrary/catalog/models.py", "repo_id": "Django-locallibrary", "token_count": 981 }
1
/* CHANGELISTS */ #changelist { display: flex; align-items: flex-start; justify-content: space-between; } #changelist .changelist-form-container { flex: 1 1 auto; min-width: 0; } #changelist table { width: 100%; } .change-list .hiddenfields { display:none; } .change-list .filtered table { ...
Django-locallibrary/LocalLibrary/staticfiles/admin/css/changelists.c70d77c47e69.css/0
{ "file_path": "Django-locallibrary/LocalLibrary/staticfiles/admin/css/changelists.c70d77c47e69.css", "repo_id": "Django-locallibrary", "token_count": 2912 }
2
/* LOGIN FORM */ .login { background: var(--darkened-bg); height: auto; } .login #header { height: auto; padding: 15px 16px; justify-content: center; } .login #header h1 { font-size: 18px; } .login #header h1 a { color: var(--header-link-color); } .login #content { padding: 20px 20p...
Django-locallibrary/LocalLibrary/staticfiles/admin/css/login.c35adf41bb6e.css/0
{ "file_path": "Django-locallibrary/LocalLibrary/staticfiles/admin/css/login.c35adf41bb6e.css", "repo_id": "Django-locallibrary", "token_count": 411 }
3
/* GLOBAL */ th { text-align: right; } .module h2, .module caption { text-align: right; } .module ul, .module ol { margin-left: 0; margin-right: 1.5em; } .viewlink, .addlink, .changelink { padding-left: 0; padding-right: 16px; background-position: 100% 1px; } .deletelink { padding-l...
Django-locallibrary/LocalLibrary/staticfiles/admin/css/rtl.4bc23eb90919.css/0
{ "file_path": "Django-locallibrary/LocalLibrary/staticfiles/admin/css/rtl.4bc23eb90919.css", "repo_id": "Django-locallibrary", "token_count": 1421 }
4
/* SELECTOR (FILTER INTERFACE) */ .selector { width: 800px; float: left; } .selector select { width: 380px; height: 17.2em; } .selector-available, .selector-chosen { float: left; width: 380px; text-align: center; margin-bottom: 5px; } .selector-chosen select { border-top: none; }...
Django-locallibrary/LocalLibrary/staticfiles/admin/css/widgets.694d845b2cb1.css/0
{ "file_path": "Django-locallibrary/LocalLibrary/staticfiles/admin/css/widgets.694d845b2cb1.css", "repo_id": "Django-locallibrary", "token_count": 4861 }
5
{% extends "base_template.html" %} {% block content %} {% if form.errors %} <p>Your username and password didn't match. Please try again.</p> {% endif %} {% if next %} {% if user.is_authenticated %} <p>Your account doesn't have access to this page. To proceed, please login with an account...
Django-locallibrary/LocalLibrary/templates/registration/login.html/0
{ "file_path": "Django-locallibrary/LocalLibrary/templates/registration/login.html", "repo_id": "Django-locallibrary", "token_count": 518 }
6
from pip._internal.utils.typing import MYPY_CHECK_RUNNING if MYPY_CHECK_RUNNING: from typing import List, Optional __version__ = "20.2.3" def main(args=None): # type: (Optional[List[str]]) -> int """This is an internal API only meant for use by pip's own console scripts. For additional details, se...
Django-locallibrary/env/Lib/site-packages/pip/__init__.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/__init__.py", "repo_id": "Django-locallibrary", "token_count": 161 }
7
"""Cache Management """ import hashlib import json import logging import os from pip._vendor.packaging.tags import interpreter_name, interpreter_version from pip._vendor.packaging.utils import canonicalize_name from pip._internal.exceptions import InvalidWheelFilename from pip._internal.models.link import Link from ...
Django-locallibrary/env/Lib/site-packages/pip/_internal/cache.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/cache.py", "repo_id": "Django-locallibrary", "token_count": 5131 }
8
""" shared options and groups The principle here is to define options once, but *not* instantiate them globally. One reason being that options with action='append' can carry state between parses. pip parses general options twice internally, and shouldn't pass on state. To be consistent, all options will follow this de...
Django-locallibrary/env/Lib/site-packages/pip/_internal/cli/cmdoptions.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/cli/cmdoptions.py", "repo_id": "Django-locallibrary", "token_count": 11128 }
9
from __future__ import absolute_import import sys from pip._internal.cache import WheelCache from pip._internal.cli import cmdoptions from pip._internal.cli.base_command import Command from pip._internal.cli.status_codes import SUCCESS from pip._internal.models.format_control import FormatControl from pip._internal.o...
Django-locallibrary/env/Lib/site-packages/pip/_internal/commands/freeze.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/commands/freeze.py", "repo_id": "Django-locallibrary", "token_count": 1580 }
10
import abc from pip._vendor.six import add_metaclass from pip._internal.utils.typing import MYPY_CHECK_RUNNING if MYPY_CHECK_RUNNING: from typing import Optional from pip._vendor.pkg_resources import Distribution from pip._internal.req import InstallRequirement from pip._internal.index.package_finde...
Django-locallibrary/env/Lib/site-packages/pip/_internal/distributions/base.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/distributions/base.py", "repo_id": "Django-locallibrary", "token_count": 466 }
11
from pip._internal.utils.typing import MYPY_CHECK_RUNNING if MYPY_CHECK_RUNNING: from typing import Optional from pip._internal.models.format_control import FormatControl class SelectionPreferences(object): """ Encapsulates the candidate selection preferences for downloading and installing files....
Django-locallibrary/env/Lib/site-packages/pip/_internal/models/selection_prefs.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/models/selection_prefs.py", "repo_id": "Django-locallibrary", "token_count": 749 }
12
"""PipSession and supporting code, containing all pip-specific network request configuration and behavior. """ # The following comment should be removed at some point in the future. # mypy: disallow-untyped-defs=False import email.utils import json import logging import mimetypes import os import platform import sys ...
Django-locallibrary/env/Lib/site-packages/pip/_internal/network/session.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/network/session.py", "repo_id": "Django-locallibrary", "token_count": 6329 }
13
import logging import os from pip._internal.utils.subprocess import runner_with_spinner_message from pip._internal.utils.typing import MYPY_CHECK_RUNNING if MYPY_CHECK_RUNNING: from typing import List, Optional from pip._vendor.pep517.wrappers import Pep517HookCaller logger = logging.getLogger(__name__) de...
Django-locallibrary/env/Lib/site-packages/pip/_internal/operations/build/wheel.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/operations/build/wheel.py", "repo_id": "Django-locallibrary", "token_count": 587 }
14
from pip._vendor.packaging.utils import canonicalize_name from pip._internal.utils.typing import MYPY_CHECK_RUNNING from .base import Requirement, format_name if MYPY_CHECK_RUNNING: from pip._vendor.packaging.specifiers import SpecifierSet from pip._internal.req.req_install import InstallRequirement fr...
Django-locallibrary/env/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/resolution/resolvelib/requirements.py", "repo_id": "Django-locallibrary", "token_count": 1830 }
15
# The following comment should be removed at some point in the future. # mypy: strict-optional=False # mypy: disallow-untyped-defs=False from __future__ import absolute_import import contextlib import errno import getpass import hashlib import io import logging import os import posixpath import shutil import stat imp...
Django-locallibrary/env/Lib/site-packages/pip/_internal/utils/misc.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_internal/utils/misc.py", "repo_id": "Django-locallibrary", "token_count": 11160 }
16
import types import functools import zlib from pip._vendor.requests.adapters import HTTPAdapter from .controller import CacheController from .cache import DictCache from .filewrapper import CallbackFileWrapper class CacheControlAdapter(HTTPAdapter): invalidating_methods = {"PUT", "DELETE"} def __init__( ...
Django-locallibrary/env/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_vendor/cachecontrol/adapter.py", "repo_id": "Django-locallibrary", "token_count": 2182 }
17
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is Mozilla Communicator client code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights R...
Django-locallibrary/env/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_vendor/chardet/charsetgroupprober.py", "repo_id": "Django-locallibrary", "token_count": 1642 }
18
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights Reserved. # # Con...
Django-locallibrary/env/Lib/site-packages/pip/_vendor/chardet/mbcssm.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_vendor/chardet/mbcssm.py", "repo_id": "Django-locallibrary", "token_count": 14532 }
19
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. import atexit import contextlib import sys from .ansitowin32 import AnsiToWin32 orig_stdout = None orig_stderr = None wrapped_stdout = None wrapped_stderr = None atexit_done = False def reset_all(): if AnsiToWin32 is not None: # Is...
Django-locallibrary/env/Lib/site-packages/pip/_vendor/colorama/initialise.py/0
{ "file_path": "Django-locallibrary/env/Lib/site-packages/pip/_vendor/colorama/initialise.py", "repo_id": "Django-locallibrary", "token_count": 804 }
20
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
66