agregando 100 formas migratorias
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .idea/.gitignore +3 -0
- .idea/formaMigratoria_Frontal.iml +8 -0
- .idea/inspectionProfiles/Project_Default.xml +23 -0
- .idea/inspectionProfiles/profiles_settings.xml +6 -0
- .idea/misc.xml +4 -0
- .idea/modules.xml +8 -0
- .idea/vcs.xml +6 -0
- crear.py +35 -0
- data/img/000.jpg +3 -0
- data/img/001.jpg +3 -0
- data/img/002.jpg +3 -0
- data/img/003.jpg +3 -0
- data/img/004.jpg +3 -0
- data/img/005.jpg +3 -0
- data/img/006.jpg +3 -0
- data/img/007.jpg +3 -0
- data/img/008.jpg +3 -0
- data/img/009.jpg +3 -0
- data/img/010.jpg +3 -0
- data/img/011.jpg +3 -0
- data/img/012.jpg +3 -0
- data/img/013.jpg +3 -0
- data/img/014.jpg +3 -0
- data/img/015.jpg +3 -0
- data/img/016.jpg +3 -0
- data/img/017.jpg +3 -0
- data/img/018.jpg +3 -0
- data/img/019.jpg +3 -0
- data/img/020.jpg +3 -0
- data/img/021.jpg +3 -0
- data/img/022.jpg +3 -0
- data/img/023.jpg +3 -0
- data/img/024.jpg +3 -0
- data/img/025.jpg +3 -0
- data/img/026.jpg +3 -0
- data/img/027.jpg +3 -0
- data/img/028.jpg +3 -0
- data/img/029.jpg +3 -0
- data/img/030.jpg +3 -0
- data/img/031.jpg +3 -0
- data/img/032.jpg +3 -0
- data/img/033.jpg +3 -0
- data/img/034.jpg +3 -0
- data/img/035.jpg +3 -0
- data/img/036.jpg +3 -0
- data/img/037.jpg +3 -0
- data/img/038.jpg +3 -0
- data/img/039.jpg +3 -0
- data/img/040.jpg +3 -0
- data/img/041.jpg +3 -0
.idea/.gitignore
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
# Default ignored files
|
2 |
+
/shelf/
|
3 |
+
/workspace.xml
|
.idea/formaMigratoria_Frontal.iml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<module type="PYTHON_MODULE" version="4">
|
3 |
+
<component name="NewModuleRootManager">
|
4 |
+
<content url="file://$MODULE_DIR$" />
|
5 |
+
<orderEntry type="jdk" jdkName="Python 3.9" jdkType="Python SDK" />
|
6 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
7 |
+
</component>
|
8 |
+
</module>
|
.idea/inspectionProfiles/Project_Default.xml
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<profile version="1.0">
|
3 |
+
<option name="myName" value="Project Default" />
|
4 |
+
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
5 |
+
<option name="ignoredPackages">
|
6 |
+
<value>
|
7 |
+
<list size="3">
|
8 |
+
<item index="0" class="java.lang.String" itemvalue="huggingface-hub" />
|
9 |
+
<item index="1" class="java.lang.String" itemvalue="PyYAML" />
|
10 |
+
<item index="2" class="java.lang.String" itemvalue="typing_extensions" />
|
11 |
+
</list>
|
12 |
+
</value>
|
13 |
+
</option>
|
14 |
+
</inspection_tool>
|
15 |
+
<inspection_tool class="PyPep8Inspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
16 |
+
<option name="ignoredErrors">
|
17 |
+
<list>
|
18 |
+
<option value="W605" />
|
19 |
+
</list>
|
20 |
+
</option>
|
21 |
+
</inspection_tool>
|
22 |
+
</profile>
|
23 |
+
</component>
|
.idea/inspectionProfiles/profiles_settings.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<component name="InspectionProjectProfileManager">
|
2 |
+
<settings>
|
3 |
+
<option name="USE_PROJECT_PROFILE" value="false" />
|
4 |
+
<version value="1.0" />
|
5 |
+
</settings>
|
6 |
+
</component>
|
.idea/misc.xml
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
|
4 |
+
</project>
|
.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="ProjectModuleManager">
|
4 |
+
<modules>
|
5 |
+
<module fileurl="file://$PROJECT_DIR$/.idea/formaMigratoria_Frontal.iml" filepath="$PROJECT_DIR$/.idea/formaMigratoria_Frontal.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
.idea/vcs.xml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="VcsDirectoryMappings">
|
4 |
+
<mapping directory="" vcs="Git" />
|
5 |
+
</component>
|
6 |
+
</project>
|
crear.py
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import json
|
2 |
+
import os
|
3 |
+
|
4 |
+
# Ruta de la carpeta donde se guardarán los archivos JSON
|
5 |
+
folder_path = "./data/key"
|
6 |
+
|
7 |
+
# Verificar si la carpeta existe, de lo contrario, crearla
|
8 |
+
if not os.path.exists(folder_path):
|
9 |
+
os.makedirs(folder_path)
|
10 |
+
|
11 |
+
for i in range(51, 100):
|
12 |
+
data = {
|
13 |
+
"nue": "",
|
14 |
+
"name": "",
|
15 |
+
"firstSurname": "",
|
16 |
+
"secondSurname": "",
|
17 |
+
"nacionality": "",
|
18 |
+
"dateOfBirth": "",
|
19 |
+
"curp": "",
|
20 |
+
"country": "",
|
21 |
+
"gender": "",
|
22 |
+
"dateOfExpedition": "",
|
23 |
+
"dateOfExpiration": "",
|
24 |
+
"type": "RESIDENTE TEMPORAL",
|
25 |
+
}
|
26 |
+
|
27 |
+
file_name = f"{i}.json"
|
28 |
+
file_path = os.path.join(folder_path, file_name)
|
29 |
+
|
30 |
+
with open(file_path, 'w') as f:
|
31 |
+
json.dump(data, f, indent=4)
|
32 |
+
|
33 |
+
print(f"Archivo {file_name} creado en {folder_path}.")
|
34 |
+
|
35 |
+
print("Creación de archivos JSON completada.")
|
data/img/000.jpg
ADDED
Git LFS Details
|
data/img/001.jpg
ADDED
Git LFS Details
|
data/img/002.jpg
ADDED
Git LFS Details
|
data/img/003.jpg
ADDED
Git LFS Details
|
data/img/004.jpg
ADDED
Git LFS Details
|
data/img/005.jpg
ADDED
Git LFS Details
|
data/img/006.jpg
ADDED
Git LFS Details
|
data/img/007.jpg
ADDED
Git LFS Details
|
data/img/008.jpg
ADDED
Git LFS Details
|
data/img/009.jpg
ADDED
Git LFS Details
|
data/img/010.jpg
ADDED
Git LFS Details
|
data/img/011.jpg
ADDED
Git LFS Details
|
data/img/012.jpg
ADDED
Git LFS Details
|
data/img/013.jpg
ADDED
Git LFS Details
|
data/img/014.jpg
ADDED
Git LFS Details
|
data/img/015.jpg
ADDED
Git LFS Details
|
data/img/016.jpg
ADDED
Git LFS Details
|
data/img/017.jpg
ADDED
Git LFS Details
|
data/img/018.jpg
ADDED
Git LFS Details
|
data/img/019.jpg
ADDED
Git LFS Details
|
data/img/020.jpg
ADDED
Git LFS Details
|
data/img/021.jpg
ADDED
Git LFS Details
|
data/img/022.jpg
ADDED
Git LFS Details
|
data/img/023.jpg
ADDED
Git LFS Details
|
data/img/024.jpg
ADDED
Git LFS Details
|
data/img/025.jpg
ADDED
Git LFS Details
|
data/img/026.jpg
ADDED
Git LFS Details
|
data/img/027.jpg
ADDED
Git LFS Details
|
data/img/028.jpg
ADDED
Git LFS Details
|
data/img/029.jpg
ADDED
Git LFS Details
|
data/img/030.jpg
ADDED
Git LFS Details
|
data/img/031.jpg
ADDED
Git LFS Details
|
data/img/032.jpg
ADDED
Git LFS Details
|
data/img/033.jpg
ADDED
Git LFS Details
|
data/img/034.jpg
ADDED
Git LFS Details
|
data/img/035.jpg
ADDED
Git LFS Details
|
data/img/036.jpg
ADDED
Git LFS Details
|
data/img/037.jpg
ADDED
Git LFS Details
|
data/img/038.jpg
ADDED
Git LFS Details
|
data/img/039.jpg
ADDED
Git LFS Details
|
data/img/040.jpg
ADDED
Git LFS Details
|
data/img/041.jpg
ADDED
Git LFS Details
|