From 6d7ba58f880be618ade07f8ea080fe8c4bf8a896 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 3 Apr 2024 03:10:44 -0400 Subject: venv --- .../faker/providers/address/de_DE/__init__.py | 471 +++++++++++++++++++++ .../de_DE/__pycache__/__init__.cpython-311.pyc | Bin 0 -> 7368 bytes 2 files changed, 471 insertions(+) create mode 100644 venv/lib/python3.11/site-packages/faker/providers/address/de_DE/__init__.py create mode 100644 venv/lib/python3.11/site-packages/faker/providers/address/de_DE/__pycache__/__init__.cpython-311.pyc (limited to 'venv/lib/python3.11/site-packages/faker/providers/address/de_DE') diff --git a/venv/lib/python3.11/site-packages/faker/providers/address/de_DE/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/address/de_DE/__init__.py new file mode 100644 index 0000000..06f30a4 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/address/de_DE/__init__.py @@ -0,0 +1,471 @@ +from ..de import Provider as AddressProvider + + +class Provider(AddressProvider): + city_formats = ("{{city_name}}",) + + city_with_postcode_formats = ("{{postcode}} {{city}}",) + + street_name_formats = ( + "{{first_name}}-{{last_name}}-{{street_suffix_long}}", + "{{last_name}}{{street_suffix_short}}", + ) + street_address_formats = ("{{street_name}} {{building_number}}",) + address_formats = ("{{street_address}}\n{{postcode}} {{city}}",) + + building_number_formats = ("###", "##", "#", "#/#") + + street_suffixes_long = ( + "Gasse", + "Platz", + "Ring", + "Straße", + "Weg", + "Allee", + ) + street_suffixes_short = ( + "gasse", + "platz", + "ring", + "straße", + "str.", + "weg", + "allee", + ) + + postcode_formats = ("#####",) + + cities = ( + "Aachen", + "Ahaus", + "Altentreptow", + "Altötting", + "Amberg", + "Angermünde", + "Anklam", + "Ansbach", + "Apolda", + "Arnstadt", + "Artern", + "Aschaffenburg", + "Aue", + "Auerbach", + "Augsburg", + "Aurich", + "Backnang", + "Bad Brückenau", + "Bad Freienwalde", + "Bad Kissingen", + "Bad Kreuznach", + "Bad Langensalza", + "Bad Liebenwerda", + "Bad Mergentheim", + "Badalzungen", + "Badibling", + "Badoberan", + "Bamberg", + "Bautzen", + "Bayreuth", + "Beeskow", + "Beilngries", + "Belzig", + "Berchtesgaden", + "Bergzabern", + "Berlin", + "Bernburg", + "Bersenbrück", + "Biedenkopf", + "Bischofswerda", + "Bitterfeld", + "Bogen", + "Borken", + "Borna", + "Brand", + "Brandenburg", + "Bremen", + "Bremervörde", + "Brilon", + "Bruchsal", + "Burg", + "Burgdorf", + "Burglengenfeld", + "Böblingen", + "Büsingen am Hochrhein", + "Bützow", + "Calau", + "Calw", + "Celle", + "Chemnitz", + "Cloppenburg", + "Coburg", + "Cottbus", + "Crailsheim", + "Cuxhaven", + "Dachau", + "Darmstadt", + "Deggendorf", + "Delitzsch", + "Demmin", + "Dessau", + "Dieburg", + "Diepholz", + "Dinkelsbühl", + "Dinslaken", + "Donaueschingen", + "Dresden", + "Duderstadt", + "Döbeln", + "Düren", + "Ebermannstadt", + "Ebern", + "Ebersberg", + "Eberswalde", + "Eckernförde", + "Eggenfelden", + "Eichstätt", + "Eichstätt", + "Eilenburg", + "Einbeck", + "Eisenach", + "Eisenberg", + "Eisenhüttenstadt", + "Eisleben", + "Emmendingen", + "Erbisdorf", + "Erding", + "Erfurt", + "Erkelenz", + "Euskirchen", + "Eutin", + "Fallingbostel", + "Feuchtwangen", + "Finsterwalde", + "Flöha", + "Forchheim", + "Forst", + "Freising", + "Freital", + "Freudenstadt", + "Fulda", + "Fürstenfeldbruck", + "Fürstenwalde", + "Füssen", + "Gadebusch", + "Gardelegen", + "Garmisch-Partenkirchen", + "Geithain", + "Geldern", + "Gelnhausen", + "Genthin", + "Gera", + "Germersheim", + "Gerolzhofen", + "Gießen", + "Gifhorn", + "Goslar", + "Gotha", + "Grafenau", + "Gransee", + "Greifswald", + "Greiz", + "Grevenbroich", + "Grevesmühlen", + "Griesbach Rottal", + "Grimma", + "Grimmen", + "Groß-Gerau", + "Großenhain", + "Gräfenhainichen", + "Guben", + "Gunzenhausen", + "Göppingen", + "Görlitz", + "Göttingen", + "Günzburg", + "Güstrow", + "Gütersloh", + "Hagenow", + "Hainichen", + "Halberstadt", + "Haldensleben", + "Hamburg", + "Hammelburg", + "Hannover", + "Hannoversch Münden", + "Hansestadttralsund", + "Havelberg", + "Hechingen", + "Heiligenstadt", + "Heinsberg", + "Helmstedt", + "Herford", + "Hersbruck", + "Herzberg", + "Hettstedt", + "Hildburghausen", + "Hildesheim", + "Hofgeismar", + "Hohenmölsen", + "Hohenstein-Ernstthal", + "Holzminden", + "Hoyerswerda", + "Husum", + "Höxter", + "Hünfeld", + "Illertissen", + "Ilmenau", + "Ingolstadt", + "Iserlohn", + "Jena", + "Jessen", + "Jülich", + "Jüterbog", + "Kaiserslautern", + "Kamenz", + "Karlsruhe", + "Kassel", + "Kehl", + "Kelheim", + "Kemnath", + "Kitzingen", + "Kleve", + "Klötze", + "Koblenz", + "Konstanz", + "Kronach", + "Kulmbach", + "Kusel", + "Kyritz", + "Königs Wusterhausen", + "Kötzting", + "Leipziger Land", + "Lemgo", + "Lichtenfels", + "Lippstadt", + "Lobenstein", + "Luckau", + "Luckenwalde", + "Ludwigsburg", + "Ludwigslust", + "Lörrach", + "Lübben", + "Lübeck", + "Lübz", + "Lüdenscheid", + "Lüdinghausen", + "Lüneburg", + "Magdeburg", + "Main-Höchst", + "Mainburg", + "Malchin", + "Mallersdorf", + "Marienberg", + "Marktheidenfeld", + "Mayen", + "Meiningen", + "Meißen", + "Melle", + "Mellrichstadt", + "Melsungen", + "Meppen", + "Merseburg", + "Mettmann", + "Miesbach", + "Miltenberg", + "Mittweida", + "Moers", + "Monschau", + "Mühldorf am Inn", + "Mühlhausen", + "München", + "Nabburg", + "Naila", + "Nauen", + "Neu-Ulm", + "Neubrandenburg", + "Neunburg vorm Wald", + "Neuruppin", + "Neuss", + "Neustadt am Rübenberge", + "Neustadtner Waldnaab", + "Neustrelitz", + "Niesky", + "Norden", + "Nordhausen", + "Northeim", + "Nördlingen", + "Nürtingen", + "Oberviechtach", + "Ochsenfurt", + "Olpe", + "Oranienburg", + "Oschatz", + "Osterburg", + "Osterode am Harz", + "Paderborn", + "Parchim", + "Parsberg", + "Pasewalk", + "Passau", + "Pegnitz", + "Peine", + "Perleberg", + "Pfaffenhofen an der Ilm", + "Pinneberg", + "Pirmasens", + "Plauen", + "Potsdam", + "Prenzlau", + "Pritzwalk", + "Pößneck", + "Quedlinburg", + "Querfurt", + "Rastatt", + "Rathenow", + "Ravensburg", + "Recklinghausen", + "Regen", + "Regensburg", + "Rehau", + "Reutlingen", + "Ribnitz-Damgarten", + "Riesa", + "Rochlitz", + "Rockenhausen", + "Roding", + "Rosenheim", + "Rostock", + "Roth", + "Rothenburg ob der Tauber", + "Rottweil", + "Rudolstadt", + "Saarbrücken", + "Saarlouis", + "Sangerhausen", + "Sankt Goar", + "Sankt Goarshausen", + "Saulgau", + "Scheinfeld", + "Schleiz", + "Schlüchtern", + "Schmölln", + "Schongau", + "Schrobenhausen", + "Schwabmünchen", + "Schwandorf", + "Schwarzenberg", + "Schweinfurt", + "Schwerin", + "Schwäbisch Gmünd", + "Schwäbisch Hall", + "Sebnitz", + "Seelow", + "Senftenberg", + "Siegen", + "Sigmaringen", + "Soest", + "Soltau", + "Soltau", + "Sondershausen", + "Sonneberg", + "Spremberg", + "Stade", + "Stade", + "Stadtroda", + "Stadtsteinach", + "Staffelstein", + "Starnberg", + "Staßfurt", + "Steinfurt", + "Stendal", + "Sternberg", + "Stollberg", + "Strasburg", + "Strausberg", + "Stuttgart", + "Suhl", + "Sulzbach-Rosenberg", + "Säckingen", + "Sömmerda", + "Tecklenburg", + "Teterow", + "Tirschenreuth", + "Torgau", + "Tuttlingen", + "Tübingen", + "Ueckermünde", + "Uelzen", + "Uffenheim", + "Vechta", + "Viechtach", + "Viersen", + "Vilsbiburg", + "Vohenstrauß", + "Waldmünchen", + "Wanzleben", + "Waren", + "Warendorf", + "Weimar", + "Weißenfels", + "Weißwasser", + "Werdau", + "Wernigerode", + "Wertingen", + "Wesel", + "Wetzlar", + "Wiedenbrück", + "Wismar", + "Wittenberg", + "Wittmund", + "Wittstock", + "Witzenhausen", + "Wolfach", + "Wolfenbüttel", + "Wolfratshausen", + "Wolgast", + "Wolmirstedt", + "Worbis", + "Wunsiedel", + "Wurzen", + "Zerbst", + "Zeulenroda", + "Zossen", + "Zschopau", + ) + + states = ( + "Baden-Württemberg", + "Bayern", + "Berlin", + "Brandenburg", + "Bremen", + "Hamburg", + "Hessen", + "Mecklenburg-Vorpommern", + "Niedersachsen", + "Nordrhein-Westfalen", + "Rheinland-Pfalz", + "Saarland", + "Sachsen", + "Sachsen-Anhalt", + "Schleswig-Holstein", + "Thüringen", + ) + + def street_suffix_short(self) -> str: + return self.random_element(self.street_suffixes_short) + + def street_suffix_long(self) -> str: + return self.random_element(self.street_suffixes_long) + + def city_name(self) -> str: + return self.random_element(self.cities) + + def administrative_unit(self) -> str: + return self.random_element(self.states) + + state = administrative_unit + + def city_with_postcode(self) -> str: + pattern: str = self.random_element(self.city_with_postcode_formats) + return self.generator.parse(pattern) diff --git a/venv/lib/python3.11/site-packages/faker/providers/address/de_DE/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/address/de_DE/__pycache__/__init__.cpython-311.pyc new file mode 100644 index 0000000..61dc007 Binary files /dev/null and b/venv/lib/python3.11/site-packages/faker/providers/address/de_DE/__pycache__/__init__.cpython-311.pyc differ -- cgit v1.2.3