From 6d7ba58f880be618ade07f8ea080fe8c4bf8a896 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 3 Apr 2024 03:10:44 -0400 Subject: venv --- .../site-packages/faker/providers/file/__init__.py | 354 +++++++++++++++++++++ .../file/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 10782 bytes .../faker/providers/file/en_US/__init__.py | 5 + .../en_US/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 490 bytes 4 files changed, 359 insertions(+) create mode 100644 venv/lib/python3.11/site-packages/faker/providers/file/__init__.py create mode 100644 venv/lib/python3.11/site-packages/faker/providers/file/__pycache__/__init__.cpython-311.pyc create mode 100644 venv/lib/python3.11/site-packages/faker/providers/file/en_US/__init__.py create mode 100644 venv/lib/python3.11/site-packages/faker/providers/file/en_US/__pycache__/__init__.cpython-311.pyc (limited to 'venv/lib/python3.11/site-packages/faker/providers/file') diff --git a/venv/lib/python3.11/site-packages/faker/providers/file/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/file/__init__.py new file mode 100644 index 0000000..d5a76aa --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/file/__init__.py @@ -0,0 +1,354 @@ +import string + +from collections import OrderedDict +from typing import Dict, Literal, Optional, Sequence, Union + +from .. import BaseProvider, ElementsType + + +class Provider(BaseProvider): + """Implement default file provider for Faker.""" + + application_mime_types: ElementsType[str] = ( + "application/atom+xml", # Atom feeds + "application/ecmascript", + # ECMAScript/JavaScript; Defined in RFC 4329 (equivalent to + # application/javascript but with stricter processing rules) + "application/EDI-X12", # EDI X12 data; Defined in RFC 1767 + "application/EDIFACT", # EDI EDIFACT data; Defined in RFC 1767 + "application/json", # JavaScript Object Notation JSON; Defined in RFC 4627 + # ECMAScript/JavaScript; Defined in RFC 4329 (equivalent to + # application/ecmascript + "application/javascript", + # but with looser processing rules) It is not accepted in IE 8 + # or earlier - text/javascript is accepted but it is defined as obsolete in RFC 4329. + # The "type" attribute of the