content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
from typing import Any\n\nfrom django.db.models import Field, Transform\nfrom .mixins import CheckFieldDefaultMixin\n\nclass HStoreField(CheckFieldDefaultMixin, Field):\n def get_transform(self, name) -> Any: ...\n\nclass KeyTransform(Transform):\n def __init__(self, key_name: str, *args: Any, **kwargs: Any): ...\n\nclass KeyTransformFactory:\n def __init__(self, key_name: str): ...\n def __call__(self, *args, **kwargs) -> KeyTransform: ...\n\nclass KeysTransform(Transform): ...\nclass ValuesTransform(Transform): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\fields\hstore.pyi
hstore.pyi
Other
519
0.85
0.529412
0
python-kit
863
2024-07-10T15:44:14.261652
MIT
false
68c3c24f5fb00e2baff102cbc5f945b1
from json import JSONEncoder\nfrom typing import Any, Optional, Type\n\nfrom django.db.models import Field\nfrom django.db.models.lookups import Transform\nfrom .mixins import CheckFieldDefaultMixin\n\nclass JsonAdapter:\n encoder: Any = ...\n def __init__(self, adapted: Any, dumps: Optional[Any] = ..., encoder: Optional[Any] = ...) -> None: ...\n def dumps(self, obj: Any): ...\n\nclass JSONField(CheckFieldDefaultMixin, Field):\n empty_strings_allowed: bool = ...\n description: Any = ...\n default_error_messages: Any = ...\n encoder: Any = ...\n def __init__(\n self,\n verbose_name: Optional[str] = ...,\n name: Optional[str] = ...,\n encoder: Optional[Type[JSONEncoder]] = ...,\n **kwargs: Any\n ) -> None: ...\n def value_to_string(self, obj: Any): ...\n\nclass KeyTransform(Transform):\n operator: str = ...\n nested_operator: str = ...\n def __init__(self, key_name: str, *args: Any, **kwargs: Any) -> None: ...\n\nclass KeyTextTransform(KeyTransform): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\fields\jsonb.pyi
jsonb.pyi
Other
1,011
0.85
0.28125
0.037037
python-kit
986
2025-05-09T12:22:22.786314
MIT
false
08917510f6f01668a775518540b9daef
from typing import Any, List\n\nclass CheckFieldDefaultMixin:\n def check(self, **kwargs: Any) -> List[Any]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\fields\mixins.pyi
mixins.pyi
Other
113
0.85
0.5
0
python-kit
81
2023-10-01T15:14:52.411810
Apache-2.0
false
2d712bc59f8b3a01cac5f91ff2c2e78b
from typing import Any\n\nfrom django.db import models\n\nfrom psycopg2.extras import DateRange, DateTimeTZRange, NumericRange # type: ignore\n\nclass RangeField(models.Field):\n empty_strings_allowed: bool = ...\n base_field: Any = ...\n range_type: Any = ...\n def get_prep_value(self, value: Any): ...\n def to_python(self, value: Any): ...\n def value_to_string(self, obj: Any): ...\n\nclass IntegerRangeField(RangeField):\n def __get__(self, instance, owner) -> NumericRange: ...\n\nclass BigIntegerRangeField(RangeField):\n def __get__(self, instance, owner) -> NumericRange: ...\n\nclass DecimalRangeField(RangeField):\n def __get__(self, instance, owner) -> NumericRange: ...\n\nclass FloatRangeField(RangeField):\n def __get__(self, instance, owner) -> NumericRange: ...\n\nclass DateTimeRangeField(RangeField):\n def __get__(self, instance, owner) -> DateTimeTZRange: ...\n\nclass DateRangeField(RangeField):\n def __get__(self, instance, owner) -> DateRange: ...\n\nclass RangeOperators:\n EQUAL: str\n NOT_EQUAL: str\n CONTAINS: str\n CONTAINED_BY: str\n OVERLAPS: str\n FULLY_LT: str\n FULLY_GT: str\n NOT_LT: str\n NOT_GT: str\n ADJACENT_TO: str\n\nclass RangeBoundary(models.Expression):\n lower: str\n upper: str\n def __init__(self, inclusive_lower: bool = ..., inclusive_upper: bool = ...): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\fields\ranges.pyi
ranges.pyi
Other
1,342
0.95
0.395833
0
vue-tools
121
2023-11-19T16:47:13.577662
BSD-3-Clause
false
8fe7b2f8b878d3c3a128647e26c0f672
from .array import ArrayField as ArrayField\nfrom .jsonb import JSONField as JSONField, JsonAdapter as JsonAdapter\nfrom .ranges import (\n RangeField as RangeField,\n IntegerRangeField as IntegerRangeField,\n BigIntegerRangeField as BigIntegerRangeField,\n DecimalRangeField as DecimalRangeField,\n FloatRangeField as FloatRangeField,\n DateRangeField as DateRangeField,\n DateTimeRangeField as DateTimeRangeField,\n RangeOperators as RangeOperators,\n RangeBoundary as RangeBoundary,\n)\nfrom .hstore import HStoreField as HStoreField\nfrom .citext import (\n CICharField as CICharField,\n CIEmailField as CIEmailField,\n CIText as CIText,\n CITextField as CITextField,\n)\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\postgres\fields\__init__.pyi
__init__.pyi
Other
695
0.85
0
0
node-utils
434
2025-03-01T11:20:19.361593
GPL-3.0
false
07cceebc0982819638d1983dfacdfca5
from typing import Any\n\nfrom django.http.request import HttpRequest\nfrom django.http.response import HttpResponse\nfrom django.utils.deprecation import MiddlewareMixin\n\nclass RedirectFallbackMiddleware(MiddlewareMixin):\n response_gone_class: Any = ...\n response_redirect_class: Any = ...\n def process_response(self, request: HttpRequest, response: HttpResponse) -> HttpResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\redirects\middleware.pyi
middleware.pyi
Other
391
0.85
0.2
0
react-lib
577
2024-11-19T05:16:33.791871
Apache-2.0
false
ffc3b8abc0df3a305fbd7c98ce0402ab
from django.db import models\n\nclass Redirect(models.Model):\n site: models.ForeignKey = ...\n old_path: models.CharField = ...\n new_path: models.CharField = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\redirects\models.pyi
models.pyi
Other
168
0.85
0.166667
0
node-utils
379
2025-04-23T12:38:43.529628
GPL-3.0
false
15f3d240289175d7f13aa13d4ec3df9e
from datetime import datetime\nfrom typing import Any, Dict, Optional, Type\n\nfrom django.contrib.sessions.backends.base import SessionBase\n\nfrom django.db import models\n\nclass BaseSessionManager(models.Manager):\n def encode(self, session_dict: Dict[str, int]) -> str: ...\n def save(self, session_key: str, session_dict: Dict[str, int], expire_date: datetime) -> AbstractBaseSession: ...\n\nclass AbstractBaseSession(models.Model):\n expire_date: datetime\n session_data: str\n session_key: str\n objects: Any = ...\n @classmethod\n def get_session_store_class(cls) -> Optional[Type[SessionBase]]: ...\n def get_decoded(self) -> Dict[str, int]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\base_session.pyi
base_session.pyi
Other
665
0.85
0.315789
0
vue-tools
726
2023-07-24T03:08:19.311081
Apache-2.0
false
33e6c61f22208a24ba32b3925ae9542e
from django.core.exceptions import SuspiciousOperation\n\nclass InvalidSessionKey(SuspiciousOperation): ...\nclass SuspiciousSession(SuspiciousOperation): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\exceptions.pyi
exceptions.pyi
Other
156
0.85
0.5
0
vue-tools
188
2023-10-22T20:41:46.610290
Apache-2.0
false
42181aa51d2fddd2af297bfffb089843
from typing import Type\n\nfrom django.contrib.sessions.backends.base import SessionBase\nfrom django.http.request import HttpRequest\nfrom django.http.response import HttpResponse\nfrom django.utils.deprecation import MiddlewareMixin\n\nclass SessionMiddleware(MiddlewareMixin):\n SessionStore: Type[SessionBase] = ...\n def process_request(self, request: HttpRequest) -> None: ...\n def process_response(self, request: HttpRequest, response: HttpResponse) -> HttpResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\middleware.pyi
middleware.pyi
Other
478
0.85
0.272727
0
vue-tools
202
2024-05-09T20:27:59.719228
MIT
false
34180f38b52f3ec52da68f390a710fc0
from django.contrib.sessions.base_session import AbstractBaseSession, BaseSessionManager\n\nclass SessionManager(BaseSessionManager): ...\nclass Session(AbstractBaseSession): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\models.pyi
models.pyi
Other
176
0.85
0.5
0
python-kit
979
2025-04-21T05:56:58.020573
BSD-3-Clause
false
6afb560d691b96e7d77dbb775715ee25
from typing import Dict\n\nfrom django.core.signing import JSONSerializer as BaseJSONSerializer\nfrom django.db.models.base import Model\n\nclass PickleSerializer:\n def dumps(self, obj: Dict[str, Model]) -> bytes: ...\n def loads(self, data: bytes) -> Dict[str, Model]: ...\n\nJSONSerializer = BaseJSONSerializer\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\serializers.pyi
serializers.pyi
Other
311
0.85
0.3
0
node-utils
393
2025-06-03T08:56:35.956819
Apache-2.0
false
6e4c7af492788613410bd72f35fe4d5e
from datetime import datetime\nfrom typing import Any, Dict, Optional, Union\n\nVALID_KEY_CHARS: Any\n\nclass CreateError(Exception): ...\nclass UpdateError(Exception): ...\n\nclass SessionBase(Dict[str, Any]):\n TEST_COOKIE_NAME: str = ...\n TEST_COOKIE_VALUE: str = ...\n accessed: bool = ...\n modified: bool = ...\n serializer: Any = ...\n def __init__(self, session_key: Optional[str] = ...) -> None: ...\n def set_test_cookie(self) -> None: ...\n def test_cookie_worked(self) -> bool: ...\n def delete_test_cookie(self) -> None: ...\n def encode(self, session_dict: Dict[str, Any]) -> str: ...\n def decode(self, session_data: Union[bytes, str]) -> Dict[str, Any]: ...\n def has_key(self, key: Any): ...\n def keys(self): ...\n def values(self): ...\n def items(self): ...\n def clear(self) -> None: ...\n def is_empty(self) -> bool: ...\n session_key: Any = ...\n def get_expiry_age(self, **kwargs: Any) -> int: ...\n def get_expiry_date(self, **kwargs: Any) -> datetime: ...\n def set_expiry(self, value: Optional[Union[datetime, int]]) -> None: ...\n def get_expire_at_browser_close(self) -> bool: ...\n def flush(self) -> None: ...\n def cycle_key(self) -> None: ...\n def exists(self, session_key: str) -> bool: ...\n def create(self) -> None: ...\n def save(self, must_create: bool = ...) -> None: ...\n def delete(self, session_key: Optional[Any] = ...) -> None: ...\n def load(self) -> Dict[str, Any]: ...\n @classmethod\n def clear_expired(cls) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\backends\base.pyi
base.pyi
Other
1,527
0.85
0.675
0
vue-tools
666
2024-08-05T01:58:41.052086
GPL-3.0
false
447b7e69addf7e1ca9b99065017f75f0
from typing import Any, Optional\n\nfrom django.contrib.sessions.backends.base import SessionBase\n\nKEY_PREFIX: str\n\nclass SessionStore(SessionBase):\n cache_key_prefix: Any = ...\n def __init__(self, session_key: Optional[str] = ...) -> None: ...\n @property\n def cache_key(self) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\backends\cache.pyi
cache.pyi
Other
299
0.85
0.272727
0
python-kit
379
2023-08-07T20:09:27.071476
BSD-3-Clause
false
36f7e480713927d116a96621cc43e6b3
from typing import Any, Optional\n\nfrom django.contrib.sessions.backends.db import SessionStore as DBStore\n\nKEY_PREFIX: str\n\nclass SessionStore(DBStore):\n cache_key_prefix: Any = ...\n def __init__(self, session_key: Optional[str] = ...) -> None: ...\n @property\n def cache_key(self) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\backends\cached_db.pyi
cached_db.pyi
Other
305
0.85
0.272727
0
node-utils
473
2023-11-29T09:40:16.926859
Apache-2.0
false
d52f33332bd4153562d1309910b96f38
from typing import Dict, Optional, Type\n\nfrom django.contrib.sessions.backends.base import SessionBase\nfrom django.contrib.sessions.base_session import AbstractBaseSession\nfrom django.contrib.sessions.models import Session\nfrom django.db.models.base import Model\n\nclass SessionStore(SessionBase):\n def __init__(self, session_key: Optional[str] = ...) -> None: ...\n @classmethod\n def get_model_class(cls) -> Type[Session]: ...\n def model(self) -> Type[AbstractBaseSession]: ...\n def create_model_instance(self, data: Dict[str, Model]) -> AbstractBaseSession: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\backends\db.pyi
db.pyi
Other
577
0.85
0.384615
0
react-lib
31
2024-03-06T08:15:31.107042
Apache-2.0
false
f2a81514466d66f36ad60a8e425c4ee6
from typing import Optional\n\nfrom django.contrib.sessions.backends.base import SessionBase\n\nclass SessionStore(SessionBase):\n storage_path: str = ...\n file_prefix: str = ...\n def __init__(self, session_key: Optional[str] = ...) -> None: ...\n def clean(self) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\backends\file.pyi
file.pyi
Other
283
0.85
0.333333
0
python-kit
599
2025-05-25T15:41:11.060185
BSD-3-Clause
false
c6403ff2697eadef560da0bb5c1a774b
from django.contrib.sessions.backends.base import SessionBase\n\nclass SessionStore(SessionBase): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\backends\signed_cookies.pyi
signed_cookies.pyi
Other
100
0.85
0.333333
0
vue-tools
464
2024-11-27T20:05:03.453746
GPL-3.0
false
844bc0362b10a606eb995c16e78f0dad
from django.core.management.base import BaseCommand\n\nclass Command(BaseCommand): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sessions\management\commands\clearsessions.pyi
clearsessions.pyi
Other
85
0.65
0.333333
0
awesome-app
93
2025-05-09T01:15:39.371557
BSD-3-Clause
false
6b8cad3305cef8186496283d80f5ea37
from collections import OrderedDict\nfrom typing import Callable, Dict, Optional, Type, Union\n\nfrom django.http.request import HttpRequest\nfrom django.template.response import TemplateResponse\n\nfrom django.contrib.sitemaps import GenericSitemap, Sitemap\n\ndef x_robots_tag(func: Callable) -> Callable: ...\ndef index(\n request: HttpRequest,\n sitemaps: Dict[str, Union[Type[Sitemap], Sitemap]],\n template_name: str = ...,\n content_type: str = ...,\n sitemap_url_name: str = ...,\n) -> TemplateResponse: ...\ndef sitemap(\n request: HttpRequest,\n sitemaps: Union[Dict[str, Type[Sitemap]], Dict[str, GenericSitemap], OrderedDict],\n section: Optional[str] = ...,\n template_name: str = ...,\n content_type: str = ...,\n) -> TemplateResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sitemaps\views.pyi
views.pyi
Other
762
0.85
0.130435
0
node-utils
253
2023-10-06T14:47:20.124948
GPL-3.0
false
4c92feb054c13b930e21743ee24e069f
from datetime import datetime\nfrom typing import Any, Dict, List, Optional, Union, Protocol\n\nfrom django.contrib.sites.models import Site\nfrom django.contrib.sites.requests import RequestSite\nfrom django.core.paginator import Paginator\nfrom django.db.models.base import Model\nfrom django.db.models.query import QuerySet\n\nPING_URL: str\n\nclass SitemapNotFound(Exception): ...\n\ndef ping_google(sitemap_url: Optional[str] = ..., ping_url: str = ...) -> None: ...\n\nclass _SupportsLen(Protocol):\n def __len__(self) -> int: ...\n\nclass _SupportsCount(Protocol):\n def count(self) -> int: ...\n\nclass _SupportsOrdered(Protocol):\n ordered: bool = ...\n\nclass Sitemap:\n limit: int = ...\n protocol: Optional[str] = ...\n def items(self) -> Union[_SupportsLen, _SupportsCount, _SupportsOrdered]: ...\n def location(self, obj: Model) -> str: ...\n @property\n def paginator(self) -> Paginator: ...\n def get_urls(\n self, page: Union[int, str] = ..., site: Optional[Union[Site, RequestSite]] = ..., protocol: Optional[str] = ...\n ) -> List[Dict[str, Any]]: ...\n\nclass GenericSitemap(Sitemap):\n priority: Optional[float] = ...\n changefreq: Optional[str] = ...\n queryset: QuerySet = ...\n date_field: None = ...\n def __init__(\n self,\n info_dict: Dict[str, Union[datetime, QuerySet, str]],\n priority: Optional[float] = ...,\n changefreq: Optional[str] = ...,\n protocol: Optional[str] = ...,\n ) -> None: ...\n def lastmod(self, item: Model) -> Optional[datetime]: ...\n\ndefault_app_config: str\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sitemaps\__init__.pyi
__init__.pyi
Other
1,559
0.85
0.3
0
python-kit
170
2024-05-07T04:27:05.320515
Apache-2.0
false
267a76f110c0567fb2b68741fd1811c9
from django.core.management.base import BaseCommand\n\nclass Command(BaseCommand): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sitemaps\management\commands\ping_google.pyi
ping_google.pyi
Other
85
0.65
0.333333
0
react-lib
770
2024-08-02T22:36:01.628014
Apache-2.0
false
6b8cad3305cef8186496283d80f5ea37
from django.apps import AppConfig\n\nclass SitesConfig(AppConfig): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sites\apps.pyi
apps.pyi
Other
69
0.65
0.333333
0
vue-tools
919
2023-07-19T06:59:03.604004
MIT
false
7bad50dd6a8e8067fb0667503c4c5d4f
from typing import Any\n\nfrom django.apps.config import AppConfig\nfrom django.apps.registry import Apps\n\ndef create_default_site(\n app_config: AppConfig,\n verbosity: int = ...,\n interactive: bool = ...,\n using: str = ...,\n apps: Apps = ...,\n **kwargs: Any\n) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sites\management.pyi
management.pyi
Other
288
0.85
0.076923
0.090909
react-lib
174
2025-06-25T04:04:18.619956
BSD-3-Clause
false
34ee40c21f8bc3192604a0025091ec34
from typing import Optional\n\nfrom django.db import models\n\nclass CurrentSiteManager(models.Manager):\n def __init__(self, field_name: Optional[str] = ...) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sites\managers.pyi
managers.pyi
Other
170
0.85
0.333333
0
react-lib
976
2025-06-30T14:40:25.207441
BSD-3-Clause
false
8d7724fd99e44074654d8b69ea010cb7
from django.http.request import HttpRequest\nfrom django.utils.deprecation import MiddlewareMixin\n\nclass CurrentSiteMiddleware(MiddlewareMixin):\n def process_request(self, request: HttpRequest) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sites\middleware.pyi
middleware.pyi
Other
209
0.85
0.4
0
react-lib
283
2024-01-27T13:18:48.321072
MIT
false
6537a558faee36d3b5a99989e86091ca
from typing import Any, Optional, Tuple, Type\n\nfrom django.http.request import HttpRequest\n\nfrom django.db import models\n\nSITE_CACHE: Any\n\nclass SiteManager(models.Manager["Site"]):\n def get_current(self, request: Optional[HttpRequest] = ...) -> Site: ...\n def clear_cache(self) -> None: ...\n def get_by_natural_key(self, domain: str) -> Site: ...\n\nclass Site(models.Model):\n objects: SiteManager\n\n domain = models.CharField(max_length=100)\n name = models.CharField(max_length=50)\n def natural_key(self) -> Tuple[str]: ...\n\ndef clear_site_cache(sender: Type[Site], **kwargs: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sites\models.pyi
models.pyi
Other
614
0.85
0.333333
0
python-kit
303
2023-07-16T16:16:39.845815
Apache-2.0
false
fb0200b476b0de943ddb6cb22bf2c49f
from typing import Any\n\nfrom django.http.request import HttpRequest\n\nclass RequestSite:\n name: str\n domain: str = ...\n def __init__(self, request: HttpRequest) -> None: ...\n def save(self, force_insert: bool = ..., force_update: bool = ...) -> Any: ...\n def delete(self) -> Any: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sites\requests.pyi
requests.pyi
Other
298
0.85
0.4
0
python-kit
35
2023-09-01T11:27:39.022227
MIT
false
39cbd421bb42732458387fe7996ea06a
from typing import Optional, Union\n\nfrom django.contrib.sites.models import Site\nfrom django.contrib.sites.requests import RequestSite\nfrom django.http.request import HttpRequest\n\ndef get_current_site(request: Optional[HttpRequest]) -> Union[Site, RequestSite]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\sites\shortcuts.pyi
shortcuts.pyi
Other
266
0.85
0.142857
0
awesome-app
668
2024-07-06T18:23:20.243552
BSD-3-Clause
false
749ad00dcb74992a6697d2dc18b6d7a7
from typing import Any\n\nfrom django.apps import AppConfig\n\nclass StaticFilesConfig(AppConfig):\n ignore_patterns: Any = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\apps.pyi
apps.pyi
Other
126
0.85
0.166667
0
vue-tools
288
2023-09-27T23:28:59.769017
BSD-3-Clause
false
4ea42b2acb6618aed7ec63ae10b4431e
from typing import Any, List, Iterable, Optional\n\nfrom django.core.checks.messages import Error\n\nfrom django.apps.config import AppConfig\n\ndef check_finders(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Error]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\checks.pyi
checks.pyi
Other
242
0.85
0.142857
0
react-lib
584
2024-02-09T17:39:58.384877
BSD-3-Clause
false
20b208b90cfb82cade807783021eb37b
from typing import Any, Iterable, Iterator, List, Mapping, Optional, Union, overload\n\nfrom django.core.checks.messages import Error\nfrom django.core.files.storage import Storage\nfrom typing_extensions import Literal\n\nsearched_locations: Any\n\nclass BaseFinder:\n def check(self, **kwargs: Any) -> List[Error]: ...\n def find(self, path: str, all: bool = ...) -> Optional[Any]: ...\n def list(self, ignore_patterns: Any) -> Iterable[Any]: ...\n\nclass FileSystemFinder(BaseFinder):\n locations: List[Any] = ...\n storages: Mapping[str, Any] = ...\n def __init__(self, app_names: None = ..., *args: Any, **kwargs: Any) -> None: ...\n def find_location(self, root: str, path: str, prefix: str = ...) -> Optional[str]: ...\n\nclass AppDirectoriesFinder(BaseFinder):\n storage_class: Any = ...\n source_dir: str = ...\n apps: List[str] = ...\n storages: Mapping[str, Any] = ...\n def __init__(self, app_names: None = ..., *args: Any, **kwargs: Any) -> None: ...\n def find_in_app(self, app: str, path: str) -> Optional[str]: ...\n\nclass BaseStorageFinder(BaseFinder):\n storage: Storage = ...\n def __init__(self, storage: Optional[Storage] = ..., *args: Any, **kwargs: Any) -> None: ...\n\nclass DefaultStorageFinder(BaseStorageFinder): ...\n\ndef find(path: str, all: bool = ...) -> Optional[Union[List[str], str]]: ...\ndef get_finders() -> Iterator[BaseFinder]: ...\n@overload\ndef get_finder(import_path: Literal["django.contrib.staticfiles.finders.FileSystemFinder"]) -> FileSystemFinder: ...\n@overload\ndef get_finder(\n import_path: Literal["django.contrib.staticfiles.finders.AppDirectoriesFinder"],\n) -> AppDirectoriesFinder: ...\n@overload\ndef get_finder(import_path: str) -> BaseFinder: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\finders.pyi
finders.pyi
Other
1,715
0.85
0.418605
0
awesome-app
640
2024-04-07T05:44:36.302797
Apache-2.0
false
e1f280ba27b5684badd9d1e196a23ade
from typing import Any\n\nfrom django.core.handlers.wsgi import WSGIHandler, WSGIRequest\n\nclass StaticFilesHandler(WSGIHandler):\n handles_files: bool = ...\n application: WSGIHandler = ...\n base_url: Any = ...\n def __init__(self, application: WSGIHandler) -> None: ...\n def get_base_url(self) -> str: ...\n def file_path(self, url: str) -> str: ...\n def serve(self, request: WSGIRequest) -> Any: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\handlers.pyi
handlers.pyi
Other
417
0.85
0.416667
0
node-utils
933
2024-06-30T02:26:49.369998
MIT
false
360ea7cbf4db9214d88198a99b04e0ad
from collections import OrderedDict\nfrom typing import Any, Callable, Iterator, Optional, Tuple\n\nfrom django.core.files.base import File\nfrom django.core.files.storage import FileSystemStorage\nfrom django.utils.functional import LazyObject\n\nclass StaticFilesStorage(FileSystemStorage):\n base_location: Any = ...\n location: Any = ...\n def __init__(self, location: Optional[str] = ..., base_url: None = ..., *args: Any, **kwargs: Any) -> None: ...\n def path(self, name: str) -> str: ...\n\nclass HashedFilesMixin:\n default_template: str = ...\n max_post_process_passes: int = ...\n patterns: Any = ...\n hashed_files: Any = ...\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n def file_hash(self, name: str, content: File = ...) -> str: ...\n def hashed_name(self, name: str, content: Optional[File] = ..., filename: Optional[str] = ...) -> str: ...\n def url_converter(self, name: str, hashed_files: OrderedDict, template: str = ...) -> Callable: ...\n def post_process(\n self, paths: OrderedDict, dry_run: bool = ..., **options: Any\n ) -> Iterator[Tuple[str, str, bool]]: ...\n def clean_name(self, name: str) -> str: ...\n def hash_key(self, name: str) -> str: ...\n def stored_name(self, name: str) -> str: ...\n\nclass ManifestFilesMixin(HashedFilesMixin):\n manifest_version: str = ...\n manifest_name: str = ...\n manifest_strict: bool = ...\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n def read_manifest(self) -> Any: ...\n def load_manifest(self) -> OrderedDict: ...\n def save_manifest(self) -> None: ...\n\nclass _MappingCache:\n cache: Any = ...\n def __init__(self, cache: Any) -> None: ...\n def __setitem__(self, key: Any, value: Any) -> None: ...\n def __getitem__(self, key: Any): ...\n def clear(self) -> None: ...\n def update(self, data: Any) -> None: ...\n def get(self, key: Any, default: Optional[Any] = ...): ...\n\nclass CachedFilesMixin(HashedFilesMixin):\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n\nclass CachedStaticFilesStorage(CachedFilesMixin, StaticFilesStorage): ...\nclass ManifestStaticFilesStorage(ManifestFilesMixin, StaticFilesStorage): ...\nclass ConfiguredStorage(LazyObject): ...\n\nstaticfiles_storage: Any\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\storage.pyi
storage.pyi
Other
2,262
0.85
0.527273
0
python-kit
194
2025-06-10T08:52:01.280710
BSD-3-Clause
false
1f9b9cf95ab7e8303aadc5eb28741c32
from django.test import LiveServerTestCase\n\nclass StaticLiveServerTestCase(LiveServerTestCase): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\testing.pyi
testing.pyi
Other
100
0.85
0.333333
0
node-utils
400
2024-11-23T19:49:21.807396
MIT
true
cc55e29bc61939d043b137bdbdc281e7
from typing import Any, List, Optional\n\nfrom django.urls.resolvers import URLPattern\n\nurlpatterns: List[Any] = ...\n\ndef staticfiles_urlpatterns(prefix: Optional[str] = ...) -> List[URLPattern]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\urls.pyi
urls.pyi
Other
198
0.85
0.142857
0
vue-tools
132
2024-01-05T15:29:41.010030
Apache-2.0
false
a6516c57971f88b34262a6417ee032c7
from collections import OrderedDict\nfrom typing import Iterator, List, Optional, Tuple, Union\n\nfrom django.core.files.storage import FileSystemStorage\n\ndef matches_patterns(path: str, patterns: Union[List[str], Tuple[str], OrderedDict] = ...) -> bool: ...\ndef get_files(storage: FileSystemStorage, ignore_patterns: List[str] = ..., location: str = ...) -> Iterator[str]: ...\ndef check_settings(base_url: Optional[str] = ...) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\utils.pyi
utils.pyi
Other
438
0.85
0.375
0
react-lib
484
2024-01-30T18:56:35.740593
MIT
false
e4e0a4c1931958613c1debfc96b8a1df
from typing import Any\n\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.http.response import FileResponse\n\ndef serve(request: WSGIRequest, path: str, insecure: bool = ..., **kwargs: Any) -> FileResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\views.pyi
views.pyi
Other
222
0.85
0.166667
0
awesome-app
863
2024-05-25T05:13:31.527235
BSD-3-Clause
false
111067dcb67d74343fec52d7a9cdfa6c
from typing import Any, Dict, List\n\nfrom django.core.files.storage import Storage\nfrom django.core.management.base import BaseCommand\n\nclass Command(BaseCommand):\n copied_files: Any = ...\n symlinked_files: Any = ...\n unmodified_files: Any = ...\n post_processed_files: Any = ...\n storage: Any = ...\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n def local(self) -> bool: ...\n interactive: Any = ...\n verbosity: Any = ...\n symlink: Any = ...\n clear: Any = ...\n dry_run: Any = ...\n ignore_patterns: Any = ...\n post_process: Any = ...\n def set_options(self, **options: Any) -> None: ...\n def collect(self) -> Dict[str, List[str]]: ...\n def log(self, msg: str, level: int = ...) -> None: ...\n def is_local_storage(self) -> bool: ...\n def clear_dir(self, path: str) -> None: ...\n def delete_file(self, path: str, prefixed_path: str, source_storage: Storage) -> bool: ...\n def link_file(self, path: str, prefixed_path: str, source_storage: Storage) -> None: ...\n def copy_file(self, path: str, prefixed_path: str, source_storage: Storage) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\management\commands\collectstatic.pyi
collectstatic.pyi
Other
1,125
0.85
0.392857
0
vue-tools
291
2024-09-02T00:01:24.729017
Apache-2.0
false
dc594430dd8d02ee3ac1ae1fd0d52029
from django.core.management.base import LabelCommand\n\nclass Command(LabelCommand): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\management\commands\findstatic.pyi
findstatic.pyi
Other
87
0.65
0.333333
0
awesome-app
872
2024-03-29T17:31:48.520522
MIT
false
90aba6019a39cb9b34ebf8373e0f98c4
from django.core.management.commands.runserver import Command as RunserverCommand # type: ignore\n\nclass Command(RunserverCommand): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\management\commands\runserver.pyi
runserver.pyi
Other
136
0.95
0.333333
0
node-utils
476
2024-05-24T21:10:57.668846
GPL-3.0
false
7c1013d1cafe4d98fbab8dcd77085fbc
from typing import Any\n\nfrom django.template.base import Parser, Token\nfrom django.templatetags.static import StaticNode\n\nregister: Any\n\ndef static(path: str) -> str: ...\ndef do_static(parser: Parser, token: Token) -> StaticNode: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\staticfiles\templatetags\staticfiles.pyi
staticfiles.pyi
Other
234
0.85
0.222222
0
python-kit
774
2024-04-13T10:55:50.326100
MIT
false
4788887e918e61f3eee7f16d22e0db1d
from typing import Any, Dict, List\n\nfrom django.core.exceptions import ObjectDoesNotExist\nfrom django.core.handlers.wsgi import WSGIRequest\nfrom django.db.models.base import Model\nfrom django.http.response import HttpResponse\nfrom django.utils.feedgenerator import Enclosure, SyndicationFeed\nfrom django.utils.safestring import SafeText\n\ndef add_domain(domain: str, url: str, secure: bool = ...) -> str: ...\n\nclass FeedDoesNotExist(ObjectDoesNotExist): ...\n\nclass Feed:\n feed_type: Any = ...\n title_template: Any = ...\n description_template: Any = ...\n def __call__(self, request: WSGIRequest, *args: Any, **kwargs: Any) -> HttpResponse: ...\n def item_title(self, item: Model) -> SafeText: ...\n def item_description(self, item: Model) -> str: ...\n def item_link(self, item: Model) -> str: ...\n def item_enclosures(self, item: Model) -> List[Enclosure]: ...\n def feed_extra_kwargs(self, obj: None) -> Dict[Any, Any]: ...\n def item_extra_kwargs(self, item: Model) -> Dict[Any, Any]: ...\n def get_object(self, request: WSGIRequest, *args: Any, **kwargs: Any) -> None: ...\n def get_context_data(self, **kwargs: Any) -> Dict[str, Any]: ...\n def get_feed(self, obj: None, request: WSGIRequest) -> SyndicationFeed: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\contrib\syndication\views.pyi
views.pyi
Other
1,251
0.85
0.481481
0
vue-tools
898
2024-10-25T16:06:21.438409
Apache-2.0
false
e7aaddb31090c37a494822d9f541b345
from typing import Any, Dict, Iterator, List, Mapping, Optional, Tuple, Union\n\nfrom django.forms.utils import ErrorDict\n\nclass FieldDoesNotExist(Exception): ...\nclass AppRegistryNotReady(Exception): ...\n\nclass ObjectDoesNotExist(Exception):\n silent_variable_failure: bool = ...\n\nclass MultipleObjectsReturned(Exception): ...\nclass SuspiciousOperation(Exception): ...\nclass SuspiciousMultipartForm(SuspiciousOperation): ...\nclass SuspiciousFileOperation(SuspiciousOperation): ...\nclass DisallowedHost(SuspiciousOperation): ...\nclass DisallowedRedirect(SuspiciousOperation): ...\nclass TooManyFieldsSent(SuspiciousOperation): ...\nclass RequestDataTooBig(SuspiciousOperation): ...\nclass PermissionDenied(Exception): ...\nclass ViewDoesNotExist(Exception): ...\nclass MiddlewareNotUsed(Exception): ...\nclass ImproperlyConfigured(Exception): ...\nclass FieldError(Exception): ...\n\nNON_FIELD_ERRORS: str\n\nclass ValidationError(Exception):\n error_dict: Any = ...\n error_list: Any = ...\n message: Any = ...\n code: Any = ...\n params: Any = ...\n def __init__(self, message: Any, code: Optional[str] = ..., params: Optional[Mapping[str, Any]] = ...) -> None: ...\n @property\n def message_dict(self) -> Dict[str, List[str]]: ...\n @property\n def messages(self) -> List[str]: ...\n def update_error_dict(\n self, error_dict: Mapping[str, Any]\n ) -> Union[Dict[str, List[ValidationError]], ErrorDict]: ...\n def __iter__(self) -> Iterator[Union[Tuple[str, List[str]], str]]: ...\n\nclass EmptyResultSet(Exception): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\exceptions.pyi
exceptions.pyi
Other
1,543
0.85
0.534884
0
vue-tools
953
2023-08-28T10:34:35.487524
MIT
false
06ba90ed196db2461fe6e545a73f9bd5
from typing import Dict, List, Optional, Protocol, Sequence, Union\n\nfrom django.db.models.base import Model\nfrom django.db.models.query import QuerySet\n\nclass UnorderedObjectListWarning(RuntimeWarning): ...\nclass InvalidPage(Exception): ...\nclass PageNotAnInteger(InvalidPage): ...\nclass EmptyPage(InvalidPage): ...\n\nclass _SupportsLen(Protocol):\n def __len__(self) -> int: ...\n\nclass _SupportsCount(Protocol):\n def count(self) -> int: ...\n\nclass _SupportsOrdered(Protocol):\n ordered: bool = ...\n\nclass Paginator:\n object_list: QuerySet = ...\n per_page: int = ...\n orphans: int = ...\n allow_empty_first_page: bool = ...\n def __init__(\n self,\n object_list: Union[_SupportsLen, _SupportsCount, _SupportsOrdered],\n per_page: Union[int, str],\n orphans: int = ...,\n allow_empty_first_page: bool = ...,\n ) -> None: ...\n def validate_number(self, number: Optional[Union[float, str]]) -> int: ...\n def get_page(self, number: Optional[int]) -> Page: ...\n def page(self, number: Union[int, str]) -> Page: ...\n @property\n def count(self) -> int: ...\n @property\n def num_pages(self) -> int: ...\n @property\n def page_range(self) -> range: ...\n\nQuerySetPaginator = Paginator\n\nclass Page(Sequence):\n object_list: QuerySet = ...\n number: int = ...\n paginator: Paginator = ...\n def __init__(\n self,\n object_list: Union[List[Dict[str, str]], List[Model], List[int], QuerySet, str],\n number: int,\n paginator: Paginator,\n ) -> None: ...\n def __getitem__(self, item): ...\n def __len__(self): ...\n def has_next(self) -> bool: ...\n def has_previous(self) -> bool: ...\n def has_other_pages(self) -> bool: ...\n def next_page_number(self) -> int: ...\n def previous_page_number(self) -> int: ...\n def start_index(self) -> int: ...\n def end_index(self) -> int: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\paginator.pyi
paginator.pyi
Other
1,896
0.85
0.451613
0
react-lib
373
2023-12-08T20:12:58.871817
Apache-2.0
false
ae63b79c7cbb552fac058f5b9193b44d
from django.dispatch import Signal\n\nrequest_started: Signal = ...\nrequest_finished: Signal = ...\ngot_request_exception: Signal = ...\nsetting_changed: Signal = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\signals.pyi
signals.pyi
Other
163
0.85
0
0
node-utils
969
2023-12-05T22:06:57.590852
GPL-3.0
false
bcbe44c724a6da0fc000aa0f2faf155f
from datetime import timedelta\nfrom typing import Any, Dict, Optional, Protocol, Type, Union\n\nclass BadSignature(Exception): ...\nclass SignatureExpired(BadSignature): ...\n\ndef b64_encode(s: bytes) -> bytes: ...\ndef b64_decode(s: bytes) -> bytes: ...\ndef base64_hmac(salt: str, value: Union[bytes, str], key: Union[bytes, str]) -> str: ...\ndef get_cookie_signer(salt: str = ...) -> TimestampSigner: ...\n\nclass Serializer(Protocol):\n def dumps(self, obj: Any) -> bytes: ...\n def loads(self, data: bytes) -> Any: ...\n\nclass JSONSerializer:\n def dumps(self, obj: Any) -> bytes: ...\n def loads(self, data: bytes) -> Dict[str, Union[int, str]]: ...\n\ndef dumps(\n obj: Any, key: None = ..., salt: str = ..., serializer: Type[Serializer] = ..., compress: bool = ...\n) -> str: ...\ndef loads(\n s: str,\n key: None = ...,\n salt: str = ...,\n serializer: Type[Serializer] = ...,\n max_age: Optional[Union[int, timedelta]] = ...,\n) -> Any: ...\n\nclass Signer:\n key: str = ...\n sep: str = ...\n salt: str = ...\n def __init__(self, key: Optional[Union[bytes, str]] = ..., sep: str = ..., salt: Optional[str] = ...) -> None: ...\n def signature(self, value: Union[bytes, str]) -> str: ...\n def sign(self, value: str) -> str: ...\n def unsign(self, signed_value: str) -> str: ...\n\nclass TimestampSigner(Signer):\n def timestamp(self) -> str: ...\n def unsign(self, value: str, max_age: Optional[Union[int, timedelta]] = ...) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\signing.pyi
signing.pyi
Other
1,467
0.85
0.52381
0
python-kit
322
2024-09-04T21:15:58.890871
MIT
false
091313272ef45e237877c7d89561f5c7
from decimal import Decimal\nfrom re import RegexFlag\nfrom typing import Any, Callable, Collection, Dict, List, Optional, Pattern, Tuple, Union\n\nfrom django.core.files.base import File\n\nEMPTY_VALUES: Any\n\n_Regex = Union[str, Pattern[str]]\n_ErrorMessage = Union[str, Any]\n\ndef _lazy_re_compile(regex: _Regex, flags: int = ...): ...\n\nclass RegexValidator:\n regex: _Regex = ...\n message: str = ...\n code: str = ...\n inverse_match: bool = ...\n flags: int = ...\n def __init__(\n self,\n regex: Optional[_Regex] = ...,\n message: Optional[_ErrorMessage] = ...,\n code: Optional[str] = ...,\n inverse_match: Optional[bool] = ...,\n flags: Optional[RegexFlag] = ...,\n ) -> None: ...\n def __call__(self, value: Optional[str]) -> None: ...\n\nclass URLValidator(RegexValidator):\n ul: str = ...\n ipv4_re: str = ...\n ipv6_re: str = ...\n hostname_re: str = ...\n domain_re: str = ...\n tld_re: str = ...\n host_re: str = ...\n schemes: List[str] = ...\n def __init__(self, schemes: Optional[Collection[str]] = ..., **kwargs: Any) -> None: ...\n\ninteger_validator: RegexValidator = ...\n\ndef validate_integer(value: Optional[Union[float, str]]) -> None: ...\n\nclass EmailValidator:\n message: str = ...\n code: str = ...\n user_regex: Pattern = ...\n domain_regex: Pattern = ...\n literal_regex: Pattern = ...\n domain_whitelist: List[str] = ...\n def __init__(\n self,\n message: Optional[_ErrorMessage] = ...,\n code: Optional[str] = ...,\n whitelist: Optional[Collection[str]] = ...,\n ) -> None: ...\n def __call__(self, value: Optional[str]) -> None: ...\n def validate_domain_part(self, domain_part: str) -> bool: ...\n\nvalidate_email: EmailValidator = ...\nslug_re: Pattern = ...\nvalidate_slug: RegexValidator = ...\nslug_unicode_re: Pattern = ...\nvalidate_unicode_slug: RegexValidator = ...\n\ndef validate_ipv4_address(value: str) -> None: ...\ndef validate_ipv6_address(value: str) -> None: ...\ndef validate_ipv46_address(value: str) -> None: ...\n\n_IPValidator = Tuple[Callable[[Any], None], str]\nip_address_validator_map: Dict[str, _IPValidator]\n\ndef ip_address_validators(protocol: str, unpack_ipv4: bool) -> _IPValidator: ...\ndef int_list_validator(\n sep: str = ..., message: Optional[_ErrorMessage] = ..., code: str = ..., allow_negative: bool = ...\n) -> RegexValidator: ...\n\nvalidate_comma_separated_integer_list: Any\n\nclass BaseValidator:\n message: str = ...\n code: str = ...\n limit_value: Any = ...\n def __init__(self, limit_value: Any, message: Optional[_ErrorMessage] = ...) -> None: ...\n def __call__(self, value: Any) -> None: ...\n def compare(self, a: Any, b: Any) -> bool: ...\n def clean(self, x: Any) -> Any: ...\n\nclass MaxValueValidator(BaseValidator): ...\nclass MinValueValidator(BaseValidator): ...\nclass MinLengthValidator(BaseValidator): ...\nclass MaxLengthValidator(BaseValidator): ...\n\nclass DecimalValidator:\n messages: Dict[str, str] = ...\n max_digits: int = ...\n decimal_places: int = ...\n def __init__(self, max_digits: Optional[Union[int, str]], decimal_places: Optional[Union[int, str]]) -> None: ...\n def __call__(self, value: Decimal) -> None: ...\n\nclass FileExtensionValidator:\n message: str = ...\n code: str = ...\n allowed_extensions: List[str] = ...\n def __init__(\n self,\n allowed_extensions: Optional[Collection[str]] = ...,\n message: Optional[_ErrorMessage] = ...,\n code: Optional[str] = ...,\n ) -> None: ...\n def __call__(self, value: File) -> None: ...\n\ndef get_available_image_extensions() -> List[str]: ...\ndef validate_image_file_extension(value: File) -> None: ...\n\nclass ProhibitNullCharactersValidator:\n message: str = ...\n code: str = ...\n def __init__(self, message: Optional[_ErrorMessage] = ..., code: Optional[str] = ...) -> None: ...\n def __call__(self, value: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\validators.pyi
validators.pyi
Other
3,934
0.85
0.297521
0
react-lib
317
2024-11-10T05:05:04.045183
GPL-3.0
false
ede5706ac06a3e59b49bcac1fe210059
from django.core.handlers.wsgi import WSGIHandler\n\ndef get_wsgi_application() -> WSGIHandler: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\wsgi.pyi
wsgi.pyi
Other
98
0.65
0.333333
0
vue-tools
780
2024-11-20T23:32:57.969976
Apache-2.0
false
087f4556dd35595775b1c8aba1226f3a
from typing import Any, Iterable, Optional\n\nTEMPLATE_FRAGMENT_KEY_TEMPLATE: str\n\ndef make_template_fragment_key(fragment_name: str, vary_on: Optional[Iterable[Any]] = ...) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\cache\utils.pyi
utils.pyi
Other
184
0.85
0.2
0
react-lib
983
2025-06-03T17:21:15.212813
MIT
false
8542122cf77d572affbc46b8f2d4b719
from collections import OrderedDict\nfrom typing import Any, Callable, Dict, Union\n\nfrom .backends.base import (\n BaseCache as BaseCache,\n CacheKeyWarning as CacheKeyWarning,\n InvalidCacheBackendError as InvalidCacheBackendError,\n)\n\nDEFAULT_CACHE_ALIAS: str\n\nclass CacheHandler:\n def __init__(self) -> None: ...\n def __getitem__(self, alias: str) -> BaseCache: ...\n def all(self): ...\n\nclass DefaultCacheProxy:\n def __getattr__(self, name: str) -> Union[Callable, Dict[str, float], OrderedDict, int]: ...\n def __setattr__(self, name: str, value: Callable) -> None: ...\n def __delattr__(self, name: Any): ...\n def __contains__(self, key: str) -> bool: ...\n\ncache: Any\ncaches: CacheHandler\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\cache\__init__.pyi
__init__.pyi
Other
717
0.85
0.375
0
awesome-app
664
2024-08-21T00:53:54.408960
MIT
false
28719caaac421a8bf87fe976f65bbeed
from typing import Any, Callable, Dict, Iterable, List, Optional, Union\n\nfrom django.core.exceptions import ImproperlyConfigured\n\nclass InvalidCacheBackendError(ImproperlyConfigured): ...\nclass CacheKeyWarning(RuntimeWarning): ...\n\nDEFAULT_TIMEOUT: Any\nMEMCACHE_MAX_KEY_LENGTH: int\n\ndef default_key_func(key: Any, key_prefix: str, version: Any) -> str: ...\ndef get_key_func(key_func: Optional[Union[Callable, str]]) -> Callable: ...\n\nclass BaseCache:\n default_timeout: int = ...\n key_prefix: str = ...\n version: int = ...\n key_func: Callable = ...\n def __init__(self, params: Dict[str, Any]) -> None: ...\n def get_backend_timeout(self, timeout: Any = ...) -> Optional[float]: ...\n def make_key(self, key: Any, version: Optional[Any] = ...) -> str: ...\n def add(self, key: Any, value: Any, timeout: Any = ..., version: Optional[Any] = ...) -> bool: ...\n def get(self, key: Any, default: Optional[Any] = ..., version: Optional[Any] = ...) -> Any: ...\n def set(self, key: Any, value: Any, timeout: Any = ..., version: Optional[Any] = ...) -> None: ...\n def touch(self, key: Any, timeout: Any = ..., version: Optional[Any] = ...) -> bool: ...\n def delete(self, key: Any, version: Optional[Any] = ...) -> None: ...\n def get_many(self, keys: List[str], version: Optional[int] = ...) -> Dict[str, Union[int, str]]: ...\n def get_or_set(\n self, key: Any, default: Optional[Any], timeout: Any = ..., version: Optional[int] = ...\n ) -> Optional[Any]: ...\n def has_key(self, key: Any, version: Optional[Any] = ...) -> bool: ...\n def incr(self, key: str, delta: int = ..., version: Optional[int] = ...) -> int: ...\n def decr(self, key: str, delta: int = ..., version: Optional[int] = ...) -> int: ...\n def __contains__(self, key: str) -> bool: ...\n def set_many(self, data: Dict[str, Any], timeout: Any = ..., version: Optional[Any] = ...) -> List[Any]: ...\n def delete_many(self, keys: Iterable[Any], version: Optional[Any] = ...) -> None: ...\n def clear(self) -> None: ...\n def validate_key(self, key: str) -> None: ...\n def incr_version(self, key: str, delta: int = ..., version: Optional[int] = ...) -> int: ...\n def decr_version(self, key: str, delta: int = ..., version: Optional[int] = ...) -> int: ...\n def close(self, **kwargs: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\cache\backends\base.pyi
base.pyi
Other
2,327
0.85
0.634146
0
node-utils
368
2024-06-07T04:46:30.708438
GPL-3.0
false
0f3971cc60844ee0aee2973546416eed
from typing import Any, Dict\n\nfrom django.core.cache.backends.base import BaseCache\n\nclass Options:\n db_table: str = ...\n app_label: str = ...\n model_name: str = ...\n verbose_name: str = ...\n verbose_name_plural: str = ...\n object_name: str = ...\n abstract: bool = ...\n managed: bool = ...\n proxy: bool = ...\n swapped: bool = ...\n def __init__(self, table: str) -> None: ...\n\nclass BaseDatabaseCache(BaseCache):\n cache_model_class: Any = ...\n def __init__(self, table: str, params: Dict[str, Any]) -> None: ...\n\nclass DatabaseCache(BaseDatabaseCache): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\cache\backends\db.pyi
db.pyi
Other
595
0.85
0.227273
0
vue-tools
107
2025-03-28T08:37:01.533855
GPL-3.0
false
9b9344de2d76bb6a4aabf71ee2c555e8
from typing import Any\n\nfrom django.core.cache.backends.base import BaseCache\n\nclass DummyCache(BaseCache):\n def __init__(self, host: str, *args: Any, **kwargs: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\cache\backends\dummy.pyi
dummy.pyi
Other
182
0.85
0.333333
0
node-utils
612
2025-01-22T15:41:35.841308
Apache-2.0
false
5e52db2c14a68afa7b58307048e17f4e
from typing import Any, Dict\n\nfrom django.core.cache.backends.base import BaseCache\n\nclass FileBasedCache(BaseCache):\n cache_suffix: str = ...\n def __init__(self, dir: str, params: Dict[str, Any]) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\cache\backends\filebased.pyi
filebased.pyi
Other
216
0.85
0.285714
0
vue-tools
153
2024-11-15T21:01:53.429068
GPL-3.0
false
5528e50d348e5c80511c07a7849435c0
from typing import Any, Dict\n\nfrom django.core.cache.backends.base import BaseCache\n\nclass LocMemCache(BaseCache):\n def __init__(self, name: str, params: Dict[str, Any]) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\cache\backends\locmem.pyi
locmem.pyi
Other
186
0.85
0.333333
0
node-utils
24
2024-06-24T03:37:45.041883
Apache-2.0
false
e590b73a261cb8bf8b895778d7be620f
from django.core.cache.backends.base import BaseCache\n\nclass BaseMemcachedCache(BaseCache):\n def __init__(self, server, params, library, value_not_found_exception) -> None: ...\n\nclass MemcachedCache(BaseMemcachedCache):\n def __init__(self, server, params): ...\n\nclass PyLibMCCache(BaseMemcachedCache):\n def __init__(self, server, params): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\cache\backends\memcached.pyi
memcached.pyi
Other
352
0.85
0.6
0
awesome-app
842
2023-07-22T15:41:32.177052
BSD-3-Clause
false
f5f0b725701f2b5e34d3bb1ad79a30d5
from typing import Any, List, Iterable, Optional\n\nfrom django.core.checks.messages import Error\n\nfrom django.apps.config import AppConfig\n\nE001: Any\n\ndef check_default_cache_is_configured(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Error]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\caches.pyi
caches.pyi
Other
267
0.85
0.111111
0
react-lib
632
2024-04-23T21:18:39.872428
GPL-3.0
false
873ba371ad3fcbbea994fa783f4a2057
from typing import Any, List\n\ndef check_database_backends(*args: Any, **kwargs: Any) -> List[Any]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\database.pyi
database.pyi
Other
103
0.85
0.333333
0
react-lib
698
2023-09-26T19:37:29.917270
BSD-3-Clause
false
2f2d152b085b2c52856c10579e729ed2
from typing import Any, Optional\n\nDEBUG: int\nINFO: int\nWARNING: int\nERROR: int\nCRITICAL: int\n\nclass CheckMessage:\n level: int = ...\n msg: str = ...\n hint: Optional[str] = ...\n obj: Any = ...\n id: Optional[str] = ...\n def __init__(\n self, level: int, msg: str, hint: Optional[str] = ..., obj: Any = ..., id: Optional[str] = ...\n ) -> None: ...\n def is_serious(self, level: int = ...) -> bool: ...\n def is_silenced(self) -> bool: ...\n\nclass Debug(CheckMessage):\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n\nclass Info(CheckMessage):\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n\nclass Warning(CheckMessage):\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n\nclass Error(CheckMessage):\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n\nclass Critical(CheckMessage):\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\messages.pyi
messages.pyi
Other
925
0.85
0.411765
0
awesome-app
866
2024-05-27T17:16:08.867815
BSD-3-Clause
false
c58a6769d882453eba97b4ecf3b9751a
from typing import Any, List, Iterable, Optional\n\nfrom django.core.checks.messages import Warning\n\nfrom django.apps.config import AppConfig\n\ndef check_all_models(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Warning]: ...\ndef check_lazy_references(app_configs: Optional[Iterable[AppConfig]] = ..., **kwargs: Any) -> List[Any]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\model_checks.pyi
model_checks.pyi
Other
358
0.85
0.25
0
python-kit
769
2024-11-26T18:47:02.524928
GPL-3.0
false
0d5c422618c06872f5c2af6fe62052b0
from typing import Any, Callable, List, Optional, Set, Union\n\nfrom django.apps.config import AppConfig\nfrom django.core.checks.messages import CheckMessage\n\nclass Tags:\n admin: str = ...\n caches: str = ...\n compatibility: str = ...\n database: str = ...\n models: str = ...\n security: str = ...\n signals: str = ...\n templates: str = ...\n translation: str = ...\n urls: str = ...\n\nclass CheckRegistry:\n registered_checks: Set[Callable] = ...\n deployment_checks: Set[Callable] = ...\n def __init__(self) -> None: ...\n def register(self, check: Optional[Union[Callable, str]] = ..., *tags: Any, **kwargs: Any) -> Callable: ...\n def run_checks(\n self,\n app_configs: Optional[List[AppConfig]] = ...,\n tags: Optional[List[str]] = ...,\n include_deployment_checks: bool = ...,\n ) -> Union[List[CheckMessage], List[int], List[str]]: ...\n def tag_exists(self, tag: str, include_deployment_checks: bool = ...) -> bool: ...\n def tags_available(self, deployment_checks: bool = ...) -> Set[str]: ...\n def get_checks(self, include_deployment_checks: bool = ...) -> List[Callable]: ...\n\nregistry: Any\nregister: Any\nrun_checks: Any\ntag_exists: Any\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\registry.pyi
registry.pyi
Other
1,212
0.85
0.222222
0
python-kit
869
2025-05-12T14:57:57.113637
BSD-3-Clause
false
5d85221bd7d35d8e417d29f672ac4b61
from typing import Any, List, Iterable, Optional\n\nfrom django.core.checks.messages import Error\n\nfrom django.apps.config import AppConfig\n\nE001: Any\nE002: Any\n\ndef check_setting_app_dirs_loaders(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Error]: ...\ndef check_string_if_invalid_is_string(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Error]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\templates.pyi
templates.pyi
Other
391
0.85
0.181818
0
vue-tools
131
2024-08-14T19:47:57.526524
GPL-3.0
false
637827c5289e8ccce00a253f7fdf6877
from typing import Any, List\n\nfrom . import Error\n\nE001: Error = ...\n\ndef check_setting_language_code(app_configs: Any, **kwargs: Any) -> List[Error]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\translation.pyi
translation.pyi
Other
155
0.85
0.142857
0
python-kit
230
2024-07-01T20:40:56.997552
MIT
false
d8cc811d4008547d4c224c288a33606c
from typing import Any, Callable, List, Tuple, Union, Iterable, Optional\n\nfrom django.core.checks.messages import CheckMessage, Error, Warning\nfrom django.urls.resolvers import URLPattern, URLResolver\n\nfrom django.apps.config import AppConfig\n\ndef check_url_config(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[CheckMessage]: ...\ndef check_resolver(resolver: Union[Tuple[str, Callable], URLPattern, URLResolver]) -> List[CheckMessage]: ...\ndef check_url_namespaces_unique(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef get_warning_for_invalid_pattern(pattern: Any) -> List[Error]: ...\ndef check_url_settings(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Error]: ...\ndef E006(name: str) -> Error: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\urls.pyi
urls.pyi
Other
780
0.85
0.461538
0
vue-tools
227
2024-10-07T23:04:30.143674
GPL-3.0
false
9aee1499eb9acaa2555c4a518d1da475
from .messages import (\n CheckMessage as CheckMessage,\n Debug as Debug,\n Info as Info,\n Warning as Warning,\n Error as Error,\n Critical as Critical,\n DEBUG as DEBUG,\n INFO as INFO,\n WARNING as WARNING,\n ERROR as ERROR,\n CRITICAL as CRITICAL,\n)\n\nfrom .registry import register as register, run_checks as run_checks, tag_exists as tag_exists, Tags as Tags\n\nfrom . import model_checks as model_checks\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\__init__.pyi
__init__.pyi
Other
430
0.85
0
0
react-lib
15
2025-06-18T08:06:52.779441
Apache-2.0
false
9e659f566554ce9da62626bd5b201115
from typing import Any, List, Iterable, Optional\n\nfrom django.core.checks.messages import Warning\n\nfrom django.apps.config import AppConfig\n\nSECRET_KEY_MIN_LENGTH: int\nSECRET_KEY_MIN_UNIQUE_CHARACTERS: int\nW001: Any\nW002: Any\nW004: Any\nW005: Any\nW006: Any\nW007: Any\nW008: Any\nW009: Any\nW018: Any\nW019: Any\nW020: Any\nW021: Any\n\ndef check_security_middleware(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_xframe_options_middleware(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_sts(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_sts_include_subdomains(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_sts_preload(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_content_type_nosniff(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_xss_filter(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_ssl_redirect(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_secret_key(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_debug(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_xframe_deny(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_allowed_hosts(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\security\base.pyi
base.pyi
Other
1,592
0.85
0.363636
0
node-utils
673
2024-09-05T16:56:49.105882
MIT
false
e279166288d88d2af336098c96ab2287
from typing import Any, List, Iterable, Optional\n\nfrom django.core.checks.messages import Warning\n\nfrom django.apps.config import AppConfig\n\nW003: Any\nW016: Any\n\ndef check_csrf_middleware(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_csrf_cookie_secure(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\security\csrf.pyi
csrf.pyi
Other
379
0.85
0.181818
0
react-lib
176
2023-09-27T11:59:29.584650
BSD-3-Clause
false
40345148008606e5d6c65929795f6c89
from typing import Any, List, Iterable, Optional\n\nfrom django.core.checks.messages import Warning\n\nfrom django.apps.config import AppConfig\n\ndef add_session_cookie_message(message: Any): ...\n\nW010: Any\nW011: Any\nW012: Any\n\ndef add_httponly_message(message: Any): ...\n\nW013: Any\nW014: Any\nW015: Any\n\ndef check_session_cookie_secure(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\ndef check_session_cookie_httponly(app_configs: Optional[Iterable[AppConfig]], **kwargs: Any) -> List[Warning]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\checks\security\sessions.pyi
sessions.pyi
Other
527
0.85
0.2
0
python-kit
118
2025-01-23T19:23:55.224606
GPL-3.0
false
b1cc2529c116282172700c134fea878d
import types\nfrom io import StringIO\nfrom typing import Any, IO, Iterator, Optional, Type, TypeVar, Union\n\nfrom django.core.files.utils import FileProxyMixin\n\n_T = TypeVar("_T", bound="File")\n\nclass File(FileProxyMixin, IO[Any]):\n DEFAULT_CHUNK_SIZE: Any = ...\n file: IO[Any] = ...\n name: str = ...\n mode: str = ...\n def __init__(self, file: Any, name: Optional[str] = ...) -> None: ...\n def __bool__(self) -> bool: ...\n def __len__(self) -> int: ...\n @property\n def size(self) -> int: ...\n def chunks(self, chunk_size: Optional[int] = ...) -> Iterator[bytes]: ...\n def multiple_chunks(self, chunk_size: Optional[int] = ...) -> bool: ...\n def __iter__(self) -> Iterator[Union[bytes, str]]: ...\n def __next__(self) -> Union[bytes, str]: ...\n def __enter__(self: _T) -> _T: ...\n def __exit__(\n self,\n exc_type: Optional[Type[BaseException]],\n exc_value: Optional[BaseException],\n tb: Optional[types.TracebackType],\n ) -> bool: ...\n def open(self: _T, mode: Optional[str] = ...) -> _T: ...\n def close(self) -> None: ...\n\nclass ContentFile(File):\n file: StringIO\n size: Any = ...\n def __init__(self, content: Union[bytes, str], name: Optional[str] = ...) -> None: ...\n def write(self, data: str) -> int: ...\n\ndef endswith_cr(line: bytes) -> bool: ...\ndef endswith_lf(line: Union[bytes, str]) -> bool: ...\ndef equals_lf(line: bytes) -> bool: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\base.pyi
base.pyi
Other
1,435
0.85
0.463415
0
vue-tools
528
2024-06-23T13:28:17.691203
BSD-3-Clause
false
e7f86b9242fb59e4f9ac25c622a3e643
from typing import Any, IO, Union\n\nfrom django.core.files import File\n\nclass ImageFile(File):\n mode: str\n name: str\n @property\n def width(self) -> int: ...\n @property\n def height(self) -> int: ...\n\ndef get_image_dimensions(file_or_path: Union[str, IO[bytes]], close: bool = ...) -> Any: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\images.pyi
images.pyi
Other
309
0.85
0.307692
0
awesome-app
72
2024-09-11T19:15:19.079219
MIT
false
310fb8de1809e956152931dcbae3e96f
from ctypes import Structure, Union\nfrom typing import Any\n\nLOCK_SH: int\nLOCK_NB: int\nLOCK_EX: int\nULONG_PTR: Any = ...\nPVOID: Any = ...\n\nclass _OFFSET(Structure): ...\nclass _OFFSET_UNION(Union): ...\nclass OVERLAPPED(Structure): ...\n\ndef lock(f: Any, flags: int) -> bool: ...\ndef unlock(f: Any) -> bool: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\locks.pyi
locks.pyi
Other
308
0.85
0.333333
0
python-kit
607
2024-10-15T04:49:06.990140
GPL-3.0
false
3f90a5a4becaf66d13491d23e6752d7b
def file_move_safe(\n old_file_name: str, new_file_name: str, chunk_size: int = ..., allow_overwrite: bool = ...\n) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\move.pyi
move.pyi
Other
130
0.85
0.333333
0
vue-tools
143
2025-02-23T16:01:39.099267
BSD-3-Clause
false
c3ba2c210b22852f95d2fcc690e3162f
from datetime import datetime\nfrom typing import Any, IO, List, Optional, Tuple, Type\n\nfrom django.core.files.base import File\nfrom django.utils.functional import LazyObject\n\nclass Storage:\n def open(self, name: str, mode: str = ...) -> File: ...\n def save(self, name: Optional[str], content: IO[Any], max_length: Optional[int] = ...) -> str: ...\n def get_valid_name(self, name: str) -> str: ...\n def get_available_name(self, name: str, max_length: Optional[int] = ...) -> str: ...\n def generate_filename(self, filename: str) -> str: ...\n def path(self, name: str) -> str: ...\n def delete(self, name: str) -> None: ...\n def exists(self, name: str) -> bool: ...\n def listdir(self, path: str) -> Tuple[List[str], List[str]]: ...\n def size(self, name: str) -> int: ...\n def url(self, name: Optional[str]) -> str: ...\n def get_accessed_time(self, name: str) -> datetime: ...\n def get_created_time(self, name: str) -> datetime: ...\n def get_modified_time(self, name: str) -> datetime: ...\n\nclass FileSystemStorage(Storage):\n OS_OPEN_FLAGS: int = ...\n def __init__(\n self,\n location: Optional[str] = ...,\n base_url: Optional[str] = ...,\n file_permissions_mode: Optional[int] = ...,\n directory_permissions_mode: Optional[int] = ...,\n ) -> None: ...\n @property\n def base_location(self) -> str: ...\n @property\n def location(self) -> str: ...\n @property\n def base_url(self) -> str: ...\n @property\n def file_permissions_mode(self) -> Optional[int]: ...\n @property\n def directory_permissions_mode(self) -> Optional[int]: ...\n\nclass DefaultStorage(LazyObject): ...\n\ndefault_storage: Any\n\ndef get_storage_class(import_path: Optional[str] = ...) -> Type[Storage]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\storage.pyi
storage.pyi
Other
1,769
0.85
0.510638
0
node-utils
155
2024-09-14T00:50:46.689539
BSD-3-Clause
false
8ad7bb2914cf29a040140f7d15c4f712
import tempfile\n\nNamedTemporaryFile = tempfile.NamedTemporaryFile\n\ngettempdir = tempfile.gettempdir\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\temp.pyi
temp.pyi
Other
100
0.85
0
0
node-utils
914
2025-03-05T14:02:13.749546
Apache-2.0
false
1e6909584ece466cd20fe9d7b9943f23
from typing import Any, Dict, IO, Optional, Union\n\nfrom django.core.files.base import File\n\nclass UploadedFile(File):\n content_type: Optional[str] = ...\n charset: Optional[str] = ...\n content_type_extra: Optional[Dict[str, str]] = ...\n def __init__(\n self,\n file: Optional[IO] = ...,\n name: Optional[str] = ...,\n content_type: Optional[str] = ...,\n size: Optional[int] = ...,\n charset: Optional[str] = ...,\n content_type_extra: Optional[Dict[str, str]] = ...,\n ) -> None: ...\n\nclass TemporaryUploadedFile(UploadedFile):\n def __init__(\n self,\n name: Optional[str],\n content_type: Optional[str],\n size: Optional[int],\n charset: Optional[str],\n content_type_extra: Optional[Dict[str, str]] = ...,\n ) -> None: ...\n def temporary_file_path(self) -> str: ...\n\nclass InMemoryUploadedFile(UploadedFile):\n field_name: Optional[str] = ...\n def __init__(\n self,\n file: IO,\n field_name: Optional[str],\n name: Optional[str],\n content_type: Optional[str],\n size: Optional[int],\n charset: Optional[str],\n content_type_extra: Dict[str, str] = ...,\n ) -> None: ...\n\nclass SimpleUploadedFile(InMemoryUploadedFile):\n def __init__(self, name: str, content: Optional[Union[bytes, str]], content_type: str = ...) -> None: ...\n @classmethod\n def from_dict(cls: Any, file_dict: Dict[str, Union[str, bytes]]) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\uploadedfile.pyi
uploadedfile.pyi
Other
1,486
0.85
0.217391
0
awesome-app
606
2023-09-30T13:45:10.804345
Apache-2.0
false
50d017c620b8dfcb58e268a46aa3cc57
# Stubs for django.core.files.uploadhandler (Python 3.5)\n\nfrom typing import Any, Dict, IO, Optional, Tuple\nfrom django.core.files.uploadedfile import UploadedFile, TemporaryUploadedFile\nfrom django.http.request import HttpRequest, QueryDict\nfrom django.utils.datastructures import MultiValueDict\n\nclass UploadFileException(Exception): ...\n\nclass StopUpload(UploadFileException):\n connection_reset: bool = ...\n def __init__(self, connection_reset: bool = ...) -> None: ...\n\nclass SkipFile(UploadFileException): ...\nclass StopFutureHandlers(UploadFileException): ...\n\nclass FileUploadHandler:\n chunk_size: int = ...\n file_name: Optional[str] = ...\n content_type: Optional[str] = ...\n content_length: Optional[int] = ...\n charset: Optional[str] = ...\n content_type_extra: Optional[Dict[str, str]] = ...\n request: Optional[HttpRequest] = ...\n field_name: str = ...\n def __init__(self, request: Optional[HttpRequest] = ...) -> None: ...\n def handle_raw_input(\n self,\n input_data: IO[bytes],\n META: Dict[str, str],\n content_length: int,\n boundary: str,\n encoding: Optional[str] = ...,\n ) -> Optional[Tuple[QueryDict, MultiValueDict[str, UploadedFile]]]: ...\n def new_file(\n self,\n field_name: str,\n file_name: str,\n content_type: str,\n content_length: Optional[int],\n charset: Optional[str] = ...,\n content_type_extra: Optional[Dict[str, str]] = ...,\n ) -> None: ...\n def receive_data_chunk(self, raw_data: bytes, start: int) -> Optional[bytes]: ...\n def file_complete(self, file_size: int) -> Optional[UploadedFile]: ...\n def upload_complete(self) -> None: ...\n\nclass TemporaryFileUploadHandler(FileUploadHandler):\n def __init__(self, request: Optional[HttpRequest] = ...) -> None: ...\n file = ... # type: TemporaryUploadedFile\n def new_file(\n self,\n field_name: str,\n file_name: str,\n content_type: str,\n content_length: Optional[int],\n charset: Optional[str] = ...,\n content_type_extra: Optional[Dict[str, str]] = ...,\n ) -> None: ...\n def receive_data_chunk(self, raw_data: bytes, start: int) -> Optional[bytes]: ...\n def file_complete(self, file_size: int) -> Optional[UploadedFile]: ...\n\nclass MemoryFileUploadHandler(FileUploadHandler):\n activated = ... # type: bool\n file = ... # type: IO[bytes]\n def handle_raw_input(\n self,\n input_data: IO[bytes],\n META: Dict[str, str],\n content_length: int,\n boundary: str,\n encoding: Optional[str] = ...,\n ) -> Optional[Tuple[QueryDict, MultiValueDict[str, UploadedFile]]]: ...\n def new_file(\n self,\n field_name: str,\n file_name: str,\n content_type: str,\n content_length: Optional[int],\n charset: Optional[str] = ...,\n content_type_extra: Optional[Dict[str, str]] = ...,\n ) -> None: ...\n def receive_data_chunk(self, raw_data: bytes, start: int) -> Optional[bytes]: ...\n def file_complete(self, file_size: int) -> Optional[UploadedFile]: ...\n\ndef load_handler(path: str, *args: Any, **kwargs: Any) -> FileUploadHandler: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\uploadhandler.pyi
uploadhandler.pyi
Other
3,195
0.95
0.27907
0.012821
python-kit
444
2024-05-22T17:48:28.601897
GPL-3.0
false
72c46f3fb7b28cbb0505cd000fc2cc7c
from typing import Any\n\nclass FileProxyMixin:\n encoding: Any = ...\n fileno: Any = ...\n flush: Any = ...\n isatty: Any = ...\n newlines: Any = ...\n read: Any = ...\n readinto: Any = ...\n readline: Any = ...\n readlines: Any = ...\n seek: Any = ...\n tell: Any = ...\n truncate: Any = ...\n write: Any = ...\n writelines: Any = ...\n @property\n def closed(self) -> bool: ...\n def readable(self) -> bool: ...\n def writable(self) -> bool: ...\n def seekable(self) -> bool: ...\n def __iter__(self): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\utils.pyi
utils.pyi
Other
547
0.85
0.26087
0
node-utils
945
2024-08-12T06:07:19.728797
MIT
false
dac256a2461b112da4897058c32f9cc8
from django.core.files.base import File as File\n\n__all__ = ["File"]\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\files\__init__.pyi
__init__.pyi
Other
68
0.65
0
0
vue-tools
39
2024-02-10T00:16:38.561202
GPL-3.0
false
836de324e41224e7059e29147215cc84
from typing import Any, Callable\n\nfrom django.http.request import HttpRequest\nfrom django.http.response import HttpResponse, HttpResponseBase\n\nlogger: Any\n\nclass BaseHandler:\n def load_middleware(self) -> None: ...\n def make_view_atomic(self, view: Callable) -> Callable: ...\n def get_exception_response(self, request: Any, resolver: Any, status_code: Any, exception: Any): ...\n def get_response(self, request: HttpRequest) -> HttpResponseBase: ...\n def process_exception_by_middleware(self, exception: Exception, request: HttpRequest) -> HttpResponse: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\handlers\base.pyi
base.pyi
Other
572
0.85
0.461538
0
python-kit
945
2023-09-27T18:59:31.499555
Apache-2.0
false
a0da0d8b51bac917d6fd8327854c3e68
from typing import Any, Callable\n\nfrom django.http.request import HttpRequest\nfrom django.http.response import HttpResponse\nfrom django.urls.resolvers import URLResolver\n\ndef convert_exception_to_response(get_response: Callable) -> Callable: ...\ndef response_for_exception(request: HttpRequest, exc: Exception) -> HttpResponse: ...\ndef get_exception_response(\n request: HttpRequest, resolver: URLResolver, status_code: int, exception: Exception, sender: None = ...\n) -> HttpResponse: ...\ndef handle_uncaught_exception(request: Any, resolver: Any, exc_info: Any): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\handlers\exception.pyi
exception.pyi
Other
570
0.85
0.333333
0
react-lib
354
2024-03-16T06:07:00.343500
BSD-3-Clause
false
c14b9dd68c49131671a2f4541f64b59e
from io import BytesIO\nfrom typing import Any, Callable, Dict, Optional, Union\n\nfrom django.contrib.sessions.backends.base import SessionBase\nfrom django.core.handlers import base\nfrom django.http import HttpRequest\nfrom django.http.response import HttpResponse\n\n_Stream = Union[BytesIO, str]\n_WSGIEnviron = Dict[str, Any]\n\nclass LimitedStream:\n stream: _Stream = ...\n remaining: int = ...\n buffer: bytes = ...\n buf_size: int = ...\n def __init__(self, stream: _Stream, limit: int, buf_size: int = ...) -> None: ...\n def read(self, size: Optional[int] = ...) -> bytes: ...\n def readline(self, size: Optional[int] = ...) -> bytes: ...\n\nclass WSGIRequest(HttpRequest):\n environ: _WSGIEnviron = ...\n session: SessionBase\n encoding: Any = ...\n def __init__(self, environ: _WSGIEnviron) -> None: ...\n\nclass WSGIHandler(base.BaseHandler):\n request_class: Any = ...\n def __init__(self, *args: Any, **kwargs: Any) -> None: ...\n def __call__(self, environ: _WSGIEnviron, start_response: Callable) -> HttpResponse: ...\n\ndef get_path_info(environ: _WSGIEnviron) -> str: ...\ndef get_script_name(environ: _WSGIEnviron) -> str: ...\ndef get_bytes_from_wsgi(environ: _WSGIEnviron, key: str, default: str) -> bytes: ...\ndef get_str_from_wsgi(environ: _WSGIEnviron, key: str, default: str) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\handlers\wsgi.pyi
wsgi.pyi
Other
1,325
0.85
0.371429
0
react-lib
777
2024-04-30T09:33:02.002396
MIT
false
b41a17ef03263d2f587eacc15a00d6aa
from email._policybase import Policy # type: ignore\nfrom email.message import Message\nfrom email.mime.base import MIMEBase\nfrom email.mime.message import MIMEMessage\nfrom email.mime.multipart import MIMEMultipart\nfrom email.mime.text import MIMEText\nfrom typing import Any, Dict, List, Optional, Sequence, Tuple, Union, overload\n\nutf8_charset: Any\nutf8_charset_qp: Any\nDEFAULT_ATTACHMENT_MIME_TYPE: str\nRFC5322_EMAIL_LINE_LENGTH_LIMIT: int\n\nclass BadHeaderError(ValueError): ...\n\nADDRESS_HEADERS: Any\n\ndef forbid_multi_line_headers(name: str, val: str, encoding: str) -> Tuple[str, str]: ...\ndef split_addr(addr: str, encoding: str) -> Tuple[str, str]: ...\ndef sanitize_address(addr: Union[Tuple[str, str], str], encoding: str) -> str: ...\n\nclass MIMEMixin: ...\n\nclass SafeMIMEMessage(MIMEMixin, MIMEMessage):\n defects: List[Any]\n epilogue: None\n policy: Policy\n preamble: None\n\nclass SafeMIMEText(MIMEMixin, MIMEText):\n defects: List[Any]\n epilogue: None\n policy: Policy\n preamble: None\n encoding: str = ...\n def __init__(self, _text: str, _subtype: str = ..., _charset: str = ...) -> None: ...\n\nclass SafeMIMEMultipart(MIMEMixin, MIMEMultipart):\n defects: List[Any]\n epilogue: None\n policy: Policy\n preamble: None\n encoding: str = ...\n def __init__(\n self, _subtype: str = ..., boundary: None = ..., _subparts: None = ..., encoding: str = ..., **_params: Any\n ) -> None: ...\n\n_AttachmentContent = Union[bytes, EmailMessage, Message, SafeMIMEText, str]\n_AttachmentTuple = Union[\n Tuple[str, _AttachmentContent], Tuple[Optional[str], _AttachmentContent, str], Tuple[str, _AttachmentContent, None]\n]\n\nclass EmailMessage:\n content_subtype: str = ...\n mixed_subtype: str = ...\n encoding: Any = ...\n to: List[str] = ...\n cc: List[Any] = ...\n bcc: List[Any] = ...\n reply_to: List[Any] = ...\n from_email: str = ...\n subject: str = ...\n body: str = ...\n attachments: List[Any] = ...\n extra_headers: Dict[Any, Any] = ...\n connection: Any = ...\n def __init__(\n self,\n subject: str = ...,\n body: Optional[str] = ...,\n from_email: Optional[str] = ...,\n to: Optional[Sequence[str]] = ...,\n bcc: Optional[Sequence[str]] = ...,\n connection: Optional[Any] = ...,\n attachments: Optional[Sequence[Union[MIMEBase, _AttachmentTuple]]] = ...,\n headers: Optional[Dict[str, str]] = ...,\n cc: Optional[Sequence[str]] = ...,\n reply_to: Optional[Sequence[str]] = ...,\n ) -> None: ...\n def get_connection(self, fail_silently: bool = ...) -> Any: ...\n # TODO: when typeshed gets more types for email.Message, move it to MIMEMessage, now it has too many false-positives\n def message(self) -> Any: ...\n def recipients(self) -> List[str]: ...\n def send(self, fail_silently: bool = ...) -> int: ...\n @overload\n def attach(self, filename: MIMEText = ...) -> None: ...\n @overload\n def attach(self, filename: None = ..., content: _AttachmentContent = ..., mimetype: str = ...) -> None: ...\n @overload\n def attach(self, filename: str = ..., content: _AttachmentContent = ..., mimetype: Optional[str] = ...) -> None: ...\n def attach_file(self, path: str, mimetype: Optional[str] = ...) -> None: ...\n\nclass EmailMultiAlternatives(EmailMessage):\n alternative_subtype: str = ...\n alternatives: Sequence[Tuple[_AttachmentContent, str]] = ...\n def __init__(\n self,\n subject: str = ...,\n body: str = ...,\n from_email: Optional[str] = ...,\n to: Optional[Sequence[str]] = ...,\n bcc: Optional[Sequence[str]] = ...,\n connection: Optional[Any] = ...,\n attachments: Optional[Sequence[Union[MIMEBase, _AttachmentTuple]]] = ...,\n headers: Optional[Dict[str, str]] = ...,\n alternatives: Optional[Sequence[Tuple[_AttachmentContent, str]]] = ...,\n cc: Optional[Sequence[str]] = ...,\n reply_to: Optional[Sequence[str]] = ...,\n ) -> None: ...\n def attach_alternative(self, content: _AttachmentContent, mimetype: str) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\message.pyi
message.pyi
Other
4,094
0.95
0.218182
0.010101
python-kit
549
2024-05-13T11:05:12.425051
MIT
false
c2f750ba4eb641a7055773441d98c36a
from typing import Any\n\nclass CachedDnsName:\n def get_fqdn(self) -> str: ...\n\nDNS_NAME: Any\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\utils.pyi
utils.pyi
Other
95
0.65
0.333333
0
react-lib
166
2024-04-22T07:08:40.052618
MIT
false
8ba0b49203a72e78f19e9eb2c76bdd38
from typing import Any, List, Optional, Tuple\n\nfrom .message import (\n BadHeaderError as BadHeaderError,\n DEFAULT_ATTACHMENT_MIME_TYPE as DEFAULT_ATTACHMENT_MIME_TYPE,\n EmailMessage as EmailMessage,\n EmailMultiAlternatives as EmailMultiAlternatives,\n SafeMIMEMultipart as SafeMIMEMultipart,\n SafeMIMEText as SafeMIMEText,\n forbid_multi_line_headers as forbid_multi_line_headers,\n)\nfrom .utils import CachedDnsName as CachedDnsName, DNS_NAME as DNS_NAME\n\ndef get_connection(backend: Optional[str] = ..., fail_silently: bool = ..., **kwds: Any) -> Any: ...\ndef send_mail(\n subject: str,\n message: str,\n from_email: Optional[str],\n recipient_list: List[str],\n fail_silently: bool = ...,\n auth_user: Optional[str] = ...,\n auth_password: Optional[str] = ...,\n connection: Optional[Any] = ...,\n html_message: Optional[str] = ...,\n) -> int: ...\ndef send_mass_mail(\n datatuple: List[Tuple[str, str, str, List[str]]],\n fail_silently: bool = ...,\n auth_user: Optional[str] = ...,\n auth_password: Optional[str] = ...,\n connection: Optional[Any] = ...,\n) -> int: ...\ndef mail_admins(\n subject: str,\n message: str,\n fail_silently: bool = ...,\n connection: Optional[Any] = ...,\n html_message: Optional[str] = ...,\n) -> None: ...\ndef mail_managers(\n subject: str,\n message: str,\n fail_silently: bool = ...,\n connection: Optional[Any] = ...,\n html_message: Optional[str] = ...,\n) -> None: ...\n\noutbox: List[EmailMessage] = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\__init__.pyi
__init__.pyi
Other
1,504
0.85
0.104167
0
react-lib
48
2025-05-07T15:21:18.986981
BSD-3-Clause
false
64fa05e636a8a68629b6e57cfda042f1
import types\nfrom typing import Any, TypeVar, Type, Iterable, Optional\n\nfrom django.core.mail.message import EmailMessage\n\n_T = TypeVar("_T", bound="BaseEmailBackend")\n\nclass BaseEmailBackend:\n def __init__(self, fail_silently: bool = ..., **kwargs: Any) -> None: ...\n def open(self) -> Optional[bool]: ...\n def close(self) -> None: ...\n def __enter__(self: _T) -> _T: ...\n def __exit__(\n self, exc_type: Type[BaseException], exc_value: BaseException, traceback: types.TracebackType\n ) -> None: ...\n def send_messages(self, email_messages: Iterable[EmailMessage]) -> int: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\backends\base.pyi
base.pyi
Other
604
0.85
0.4375
0
react-lib
876
2024-11-23T18:52:39.785332
BSD-3-Clause
false
2a964935d22e1899604ec91f58c4a03f
from django.core.mail.backends.base import BaseEmailBackend\n\nclass EmailBackend(BaseEmailBackend): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\backends\console.pyi
console.pyi
Other
103
0.85
0.333333
0
node-utils
985
2025-03-04T01:32:42.916115
GPL-3.0
false
7f6526c1bbcb2aa7ba6a8cde268765bc
from django.core.mail.backends.base import BaseEmailBackend\n\nclass EmailBackend(BaseEmailBackend): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\backends\dummy.pyi
dummy.pyi
Other
103
0.85
0.333333
0
awesome-app
38
2023-09-03T00:13:23.712930
GPL-3.0
false
7f6526c1bbcb2aa7ba6a8cde268765bc
from django.core.mail.backends.base import BaseEmailBackend\n\nclass EmailBackend(BaseEmailBackend): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\backends\filebased.pyi
filebased.pyi
Other
103
0.85
0.333333
0
react-lib
540
2024-11-22T07:12:58.010692
Apache-2.0
false
7f6526c1bbcb2aa7ba6a8cde268765bc
from django.core.mail.backends.base import BaseEmailBackend\n\nclass EmailBackend(BaseEmailBackend): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\backends\locmem.pyi
locmem.pyi
Other
103
0.85
0.333333
0
vue-tools
454
2025-02-15T08:33:35.203577
GPL-3.0
false
7f6526c1bbcb2aa7ba6a8cde268765bc
import smtplib\nimport threading\nfrom typing import Optional, Union\n\nfrom django.core.mail.backends.base import BaseEmailBackend\n\nclass EmailBackend(BaseEmailBackend):\n host: str = ...\n port: int = ...\n username: str = ...\n password: str = ...\n use_tls: bool = ...\n use_ssl: bool = ...\n timeout: Optional[int] = ...\n ssl_keyfile: Optional[str] = ...\n ssl_certfile: Optional[str] = ...\n connection: Union[smtplib.SMTP_SSL, smtplib.SMTP, None] = ...\n _lock: threading.RLock = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\mail\backends\smtp.pyi
smtp.pyi
Other
510
0.85
0.055556
0
react-lib
441
2024-03-15T14:22:38.699820
MIT
false
d222c40c573984c1e0b7e227403bbedc
from argparse import ArgumentParser, HelpFormatter, Namespace\nfrom io import StringIO, TextIOBase, TextIOWrapper\nfrom typing import Any, Callable, List, Optional, Union, Tuple\n\nfrom django.apps.config import AppConfig\nfrom django.core.management.color import Style\n\nclass CommandError(Exception): ...\nclass SystemCheckError(CommandError): ...\n\nclass CommandParser(ArgumentParser):\n missing_args_message: None = ...\n called_from_command_line: bool = ...\n def __init__(self, **kwargs: Any) -> None: ...\n def error(self, message: str) -> Any: ...\n\ndef handle_default_options(options: Namespace) -> None: ...\ndef no_translations(handle_func: Callable) -> Callable: ...\n\nclass DjangoHelpFormatter(HelpFormatter): ...\n\nclass OutputWrapper(TextIOBase):\n @property\n def style_func(self): ...\n @style_func.setter\n def style_func(self, style_func: Callable[[str], str]): ...\n ending: str = ...\n def __init__(\n self, out: Union[StringIO, TextIOWrapper], style_func: Optional[Callable[[str], str]] = ..., ending: str = ...\n ) -> None: ...\n def __getattr__(self, name: str) -> Callable: ...\n def isatty(self) -> bool: ...\n def write( # type: ignore[override]\n self, msg: str, style_func: Optional[Callable[[str], str]] = ..., ending: Optional[str] = ...\n ) -> None: ...\n\nclass BaseCommand:\n help: str = ...\n output_transaction: bool = ...\n requires_migrations_checks: bool = ...\n requires_system_checks: bool = ...\n base_stealth_options: Tuple[str, ...] = ...\n stealth_options: Tuple[str, ...] = ...\n stdout: OutputWrapper = ...\n stderr: OutputWrapper = ...\n style: Style = ...\n def __init__(\n self,\n stdout: Optional[StringIO] = ...,\n stderr: Optional[StringIO] = ...,\n no_color: bool = ...,\n force_color: bool = ...,\n ) -> None: ...\n def get_version(self) -> str: ...\n def create_parser(self, prog_name: str, subcommand: str, **kwargs: Any) -> CommandParser: ...\n def add_arguments(self, parser: CommandParser) -> None: ...\n def print_help(self, prog_name: str, subcommand: str) -> None: ...\n def run_from_argv(self, argv: List[str]) -> None: ...\n def execute(self, *args: Any, **options: Any) -> Any: ...\n def check(\n self,\n app_configs: Optional[List[AppConfig]] = ...,\n tags: Optional[List[str]] = ...,\n display_num_errors: bool = ...,\n include_deployment_checks: bool = ...,\n fail_level: int = ...,\n ) -> None: ...\n def check_migrations(self) -> None: ...\n def handle(self, *args: Any, **options: Any) -> Optional[str]: ...\n\nclass AppCommand(BaseCommand):\n missing_args_message: str = ...\n def handle_app_config(self, app_config: Any, **options: Any) -> None: ...\n\nclass LabelCommand(BaseCommand):\n label: str = ...\n missing_args_message: Any = ...\n def handle_label(self, label: Any, **options: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\base.pyi
base.pyi
Other
2,922
0.95
0.384615
0
vue-tools
614
2024-12-30T02:05:25.838266
BSD-3-Clause
false
336067f832d6d8e1301ca2f61514d121
def supports_color() -> bool: ...\n\nclass Style:\n def ERROR(self, text: str) -> str: ...\n def SUCCESS(self, text: str) -> str: ...\n def WARNING(self, text: str) -> str: ...\n def NOTICE(self, text: str) -> str: ...\n def SQL_FIELD(self, text: str) -> str: ...\n def SQL_COLTYPE(self, text: str) -> str: ...\n def SQL_KEYWORD(self, text: str) -> str: ...\n def SQL_TABLE(self, text: str) -> str: ...\n def HTTP_INFO(self, text: str) -> str: ...\n def HTTP_SUCCESS(self, text: str) -> str: ...\n def HTTP_REDIRECT(self, text: str) -> str: ...\n def HTTP_NOT_MODIFIED(self, text: str) -> str: ...\n def HTTP_BAD_REQUEST(self, text: str) -> str: ...\n def HTTP_NOT_FOUND(self, text: str) -> str: ...\n def HTTP_SERVER_ERROR(self, text: str) -> str: ...\n def MIGRATE_HEADING(self, text: str) -> str: ...\n def MIGRATE_LABEL(self, text: str) -> str: ...\n def ERROR_OUTPUT(self, text: str) -> str: ...\n\ndef make_style(config_string: str = ...) -> Style: ...\ndef no_style() -> Style: ...\ndef color_style() -> Style: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\color.pyi
color.pyi
Other
1,052
0.85
0.92
0
python-kit
415
2024-01-04T05:40:41.149190
Apache-2.0
false
32a6464a3bb4780887834e6b76c3483d
from typing import Any, List\n\nfrom django.core.management.color import Style\n\ndef sql_flush(\n style: Style, connection: Any, only_django: bool = ..., reset_sequences: bool = ..., allow_cascade: bool = ...\n) -> List[str]: ...\ndef emit_pre_migrate_signal(verbosity: int, interactive: bool, db: str, **kwargs: Any) -> None: ...\ndef emit_post_migrate_signal(verbosity: int, interactive: bool, db: str, **kwargs: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\sql.pyi
sql.pyi
Other
429
0.85
0.333333
0
node-utils
244
2024-10-03T07:21:27.795416
GPL-3.0
false
d91a20dece623fd1af3a9fa3efb90e2e
from typing import Any\n\nfrom django.core.management.base import BaseCommand\n\nclass TemplateCommand(BaseCommand):\n url_schemes: Any = ...\n rewrite_template_suffixes: Any = ...\n app_or_project: Any = ...\n paths_to_remove: Any = ...\n verbosity: Any = ...\n def handle_template(self, template: Any, subdir: Any): ...\n def validate_name(self, name: Any, app_or_project: Any) -> None: ...\n def download(self, url: Any): ...\n def splitext(self, the_path: Any): ...\n def extract(self, filename: Any): ...\n def is_url(self, template: Any): ...\n def make_writeable(self, filename: Any) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\templates.pyi
templates.pyi
Other
624
0.85
0.470588
0
awesome-app
3
2025-03-10T08:30:12.980739
MIT
false
4974490ef6b29fb58677b649ce396da2
from typing import List, Optional, Set, Tuple, Type\n\nfrom django.apps.config import AppConfig\nfrom django.db.models.base import Model\n\ndef popen_wrapper(args: List[str], stdout_encoding: str = ...) -> Tuple[str, str, int]: ...\ndef handle_extensions(extensions: List[str]) -> Set[str]: ...\ndef find_command(cmd: str, path: Optional[str] = ..., pathext: Optional[str] = ...) -> Optional[str]: ...\ndef get_random_secret_key(): ...\ndef parse_apps_and_model_labels(labels: List[str]) -> Tuple[Set[Type[Model]], Set[AppConfig]]: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\utils.pyi
utils.pyi
Other
527
0.85
0.5
0
node-utils
85
2024-05-29T01:08:17.471167
BSD-3-Clause
false
1e2956d06f95374e90a03889c6715296
from typing import Any, Dict, List, Tuple, Union\n\nfrom .base import BaseCommand as BaseCommand, CommandError as CommandError\n\ndef find_commands(management_dir: str) -> List[str]: ...\ndef load_command_class(app_name: str, name: str) -> BaseCommand: ...\ndef get_commands() -> Dict[str, str]: ...\ndef call_command(command_name: Union[Tuple[str], BaseCommand, str], *args: Any, **options: Any) -> str: ...\n\nclass ManagementUtility:\n argv: List[str] = ...\n prog_name: str = ...\n settings_exception: None = ...\n def __init__(self, argv: List[str] = ...) -> None: ...\n def main_help_text(self, commands_only: bool = ...): ...\n def fetch_command(self, subcommand: str) -> BaseCommand: ...\n def autocomplete(self) -> None: ...\n def execute(self) -> None: ...\n\ndef execute_from_command_line(argv: List[str] = ...) -> None: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\__init__.pyi
__init__.pyi
Other
841
0.85
0.55
0
node-utils
561
2025-02-10T09:23:04.939164
BSD-3-Clause
false
a4fcb2f51bf4095d110d5abc9ee2332b
from django.core.management.base import BaseCommand\n\nclass ProxyModelWarning(Warning): ...\nclass Command(BaseCommand): ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\commands\dumpdata.pyi
dumpdata.pyi
Other
123
0.85
0.5
0
python-kit
491
2024-08-29T12:59:58.925448
MIT
false
e77175c0d318922e1f9fe1381e59e5d1
import zipfile\nfrom typing import Iterable, List, Optional, Tuple\n\nfrom django.core.management.base import BaseCommand\n\nREAD_STDIN: str = ...\n\nclass Command(BaseCommand):\n missing_args_message: str = ...\n def loaddata(self, fixture_labels: Iterable[str]) -> None: ...\n def load_label(self, fixture_label: str) -> None: ...\n def find_fixtures(self, fixture_label: str) -> List[Optional[str]]: ...\n @property\n def fixture_dirs(self) -> List[str]: ...\n def parse_name(self, fixture_name: str) -> Tuple[str, str, str]: ...\n\nclass SingleZipReader(zipfile.ZipFile): ...\n\ndef humanize(dirname: str) -> str: ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\commands\loaddata.pyi
loaddata.pyi
Other
625
0.85
0.421053
0
vue-tools
510
2023-08-12T11:13:25.080992
GPL-3.0
false
90b91a5e802d439d39da3ecb94b53e92
from typing import Any, Optional, Pattern, Type\n\nfrom django.core.management.base import BaseCommand\n\nplural_forms_re: Pattern = ...\nSTATUS_OK: int = ...\nNO_LOCALE_DIR: Any = ...\n\ndef check_programs(*programs: str) -> None: ...\n\nclass TranslatableFile:\n dirpath: str\n file_name: str\n locale_dir: str\n def __init__(self, dirpath: str, file_name: str, locale_dir: Optional[str]) -> None: ...\n\nclass BuildFile:\n """\n Represent the state of a translatable file during the build process.\n """\n\n def __init__(self, command: BaseCommand, domain: str, translatable: TranslatableFile) -> None: ...\n @property\n def is_templatized(self) -> bool: ...\n @property\n def path(self) -> str: ...\n @property\n def work_path(self) -> str: ...\n def preprocess(self) -> None: ...\n def postprocess_messages(self, msgs: str) -> str: ...\n def cleanup(self) -> None: ...\n\ndef normalize_eols(raw_contents: str) -> str: ...\ndef write_pot_file(potfile: str, msgs: str) -> None: ...\n\nclass Command(BaseCommand):\n translatable_file_class: Type[TranslatableFile] = ...\n build_file_class: Type[BuildFile] = ...\n
.venv\Lib\site-packages\jedi\third_party\django-stubs\django-stubs\core\management\commands\makemessages.pyi
makemessages.pyi
Other
1,134
0.85
0.368421
0
vue-tools
471
2023-10-25T16:02:25.076746
GPL-3.0
false
f785e891e620e3f444e61f9e5c5f5b33