OpenFisca-France-Local 6.14.1__py3-none-any.whl → 6.15.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of OpenFisca-France-Local might be problematic. Click here for more details.
- {OpenFisca_France_Local-6.14.1.dist-info → OpenFisca_France_Local-6.15.1.dist-info}/METADATA +3 -3
- {OpenFisca_France_Local-6.14.1.dist-info → OpenFisca_France_Local-6.15.1.dist-info}/RECORD +11 -9
- {OpenFisca_France_Local-6.14.1.dist-info → OpenFisca_France_Local-6.15.1.dist-info}/WHEEL +1 -1
- openfisca_france_local/departements/eure_et_loir/aep.py +18 -0
- tests/departements/eure_et_loir/aep.yml +88 -0
- tests/reforms/aides_jeunes/test_aides_jeunes_reform.yaml +3 -3
- tests/regions/hauts-de-france/aide_permis.yml +1 -1
- tests/regions/ile_de_france/aide_achat_voiture_electrique.yml +2 -2
- {OpenFisca_France_Local-6.14.1.data → OpenFisca_France_Local-6.15.1.data}/scripts/openfisca_local_test +0 -0
- {OpenFisca_France_Local-6.14.1.dist-info → OpenFisca_France_Local-6.15.1.dist-info}/LICENSE +0 -0
- {OpenFisca_France_Local-6.14.1.dist-info → OpenFisca_France_Local-6.15.1.dist-info}/top_level.txt +0 -0
{OpenFisca_France_Local-6.14.1.dist-info → OpenFisca_France_Local-6.15.1.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: OpenFisca-France-Local
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.15.1
|
|
4
4
|
Summary: Extension OpenFisca pour nos partenariats avec les collectivités territoriales
|
|
5
5
|
Home-page: https://github.com/openfisca/openfisca-france-local
|
|
6
6
|
Author: OpenFisca Team
|
|
@@ -17,8 +17,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
|
-
Requires-Dist: OpenFisca-Core <
|
|
21
|
-
Requires-Dist: OpenFisca-France <169
|
|
20
|
+
Requires-Dist: OpenFisca-Core <44,>=43
|
|
21
|
+
Requires-Dist: OpenFisca-France <170,>=169.0.0
|
|
22
22
|
Requires-Dist: pandas <2.0,>=1.5.3
|
|
23
23
|
Provides-Extra: excel-reader
|
|
24
24
|
Requires-Dist: openpyxl ==3.1.2 ; extra == 'excel-reader'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
OpenFisca_France_Local-6.
|
|
1
|
+
OpenFisca_France_Local-6.15.1.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
|
|
2
2
|
openfisca_france_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
openfisca_france_local/aides_jeunes_reform.py,sha256=2Kf9AUH_oOelsfU8nKuzamX1X9VyJlImlJ35RrVqbDA,19055
|
|
4
4
|
openfisca_france_local/convert_benefit_conditions_to_parameters.py,sha256=qMQNMQKJh-m77KWvbAaMxO2VHB8SwUtVw80c7r7YeFc,6304
|
|
@@ -26,6 +26,7 @@ openfisca_france_local/departements/cotes_d_armor/fonds_solidarite_logement/acce
|
|
|
26
26
|
openfisca_france_local/departements/cotes_d_armor/fonds_solidarite_logement/assurance_locative_energie.py,sha256=bGqoCLOOE6a3Fe4yLBCEW4Ex20UTg7tuO_X6cvkZ1LI,2166
|
|
27
27
|
openfisca_france_local/departements/cotes_d_armor/fonds_solidarite_logement/base_ressource.py,sha256=orO3nwyVlCnGK9gIEd0lm88DgGCk1FkFqdvuI6CrdTE,2072
|
|
28
28
|
openfisca_france_local/departements/eure_et_loir/adefip.py,sha256=tirnODplwwAJFT7kln0Ll-sMo7UDr1HvYmT6Gw8CK20,838
|
|
29
|
+
openfisca_france_local/departements/eure_et_loir/aep.py,sha256=S9Ig5OkU80IvWMH2vOW5ta8EySGjswyeuJbRYDTOW1I,787
|
|
29
30
|
openfisca_france_local/departements/eure_et_loir/aide-menagere.py,sha256=-KS-BpqJOOrQ1SGSPfpYKfafsPio93ud6RXTMFfrKKc,7546
|
|
30
31
|
openfisca_france_local/departements/eure_et_loir/ash.py,sha256=7k-vlvd4dtx3sAfoq3n6sqSseV7Lt5rHSb5roJlfeJ0,5157
|
|
31
32
|
openfisca_france_local/departements/eure_et_loir/caracteristiques_socio_demographiques.py,sha256=OUzrhyk6LX1iXReviF4lJVA8jkboxcIUfruVvE1y8Hs,1984
|
|
@@ -195,6 +196,7 @@ tests/departements/cotes_d_armor/eligibilite.yml,sha256=Iilaz7lBJ1GmeW-QWFtX4WNQ
|
|
|
195
196
|
tests/departements/cotes_d_armor/fonds_solidarite_logement_acces_maintien.yml,sha256=ajuQWCnRSORQUlmtXd8Dzq2qmMmvHmDiU47Mii8YcII,999
|
|
196
197
|
tests/departements/cotes_d_armor/fonds_solidarite_logement_assurance_locative_energie.yml,sha256=XLPJJx4R6eU7o4yAnivcG5nTF33sYuFeElvzzL-ciys,317
|
|
197
198
|
tests/departements/eure_et_loir/adefip.yml,sha256=qgrpglaHdSk0s6m84EDAPWyS0lIDLRaSbmkjMzBHmKM,3514
|
|
199
|
+
tests/departements/eure_et_loir/aep.yml,sha256=kS311GJjIL2Shi642_A1iJaOx-vD0xO41tnbcb7MTVY,2067
|
|
198
200
|
tests/departements/eure_et_loir/aide-menagere-personne-agee.yml,sha256=tlxoE5U1jxpIoOSR73HB3zXYYO9AnyVyLbLi6rOXI5A,7827
|
|
199
201
|
tests/departements/eure_et_loir/aide-menagere-personne-handicap.yml,sha256=xcVH8dSkVRKUndU6Oz_nxFZfm5B8HIF7J80X8962J5I,6069
|
|
200
202
|
tests/departements/eure_et_loir/ash_personne_agee.yml,sha256=SEEu-jrl8koJGqivRjdro9Q2kwkFtWCv-WMR_TeMj1k,7127
|
|
@@ -237,7 +239,7 @@ tests/metropoles/toulouse/tisseo/ressort_territorial.yaml,sha256=P8cGaxGLLdjfmIP
|
|
|
237
239
|
tests/metropoles/toulouse/tisseo/retraites.yaml,sha256=Sbi6CELr-7zXJJ3EZsDE7Wd--hl5ZU-Vt3wKGr2PoA0,259
|
|
238
240
|
tests/metropoles/toulouse/tisseo/transport_reduction.yaml,sha256=gy2E76faNoviAr3vm0Hv9vtLuQ0ioWr1KK12CbAGsbo,200
|
|
239
241
|
tests/reforms/aides_jeunes/test_aides_jeunes_reform.py,sha256=TUswOO6m588v-WsiGGvrGgq6CXM688TfRUlmdQizyk4,922
|
|
240
|
-
tests/reforms/aides_jeunes/test_aides_jeunes_reform.yaml,sha256=
|
|
242
|
+
tests/reforms/aides_jeunes/test_aides_jeunes_reform.yaml,sha256=8wr3j6IrSEtB3dyURln2_cuMs76Z7gob9L-Elhse1zY,8455
|
|
241
243
|
tests/reforms/aides_jeunes/test_convert_benefit_conditions_to_parameters.py,sha256=8iqb53U7l9g8o6HbR_i7o2bAm_7fTzn4B_-xfp_61-M,7619
|
|
242
244
|
tests/reforms/epci_test_factory/test_epci_path.py,sha256=VLAfVeuBOafU2xTWlI-0ZYGRGnXI4gyXLNQUj02hRaA,644
|
|
243
245
|
tests/reforms/epci_test_factory/test_epci_reform.yaml,sha256=KXV4EViQoZrMmxyJEANqeMP6chki6FCS2uQP2yomaSQ,197
|
|
@@ -245,10 +247,10 @@ tests/regions/auvergne-rhone-alpes/aide_permis.yml,sha256=szNpbs_WYwjk3I_BScxU5r
|
|
|
245
247
|
tests/regions/bretagne/msa_armorique/aide_permis.yml,sha256=HZhCW1n3iy0X-UGY0BSMpovBT8wIV76oAvZ82b4uX1U,742
|
|
246
248
|
tests/regions/bretagne/msa_portes_de_bretagne/aide_permis.yml,sha256=mytuSciKJBXwxDrJnWoT28aIaESV3PVR8VZgW2ppfFc,751
|
|
247
249
|
tests/regions/hauts-de-france/aide_garde_enfant.yml,sha256=0teltKijXUO-amqDQatVb64fIwCeuhuKbTOGOeL_cG0,4080
|
|
248
|
-
tests/regions/hauts-de-france/aide_permis.yml,sha256=
|
|
250
|
+
tests/regions/hauts-de-france/aide_permis.yml,sha256=y22d3GlQunWQ0SVyi5YCw23HIzrrwMPIwcU2Mxoj-kQ,1118
|
|
249
251
|
tests/regions/hauts-de-france/crous/aide_100_repas_gratuits.yml,sha256=uOiBAstAynC7Pf-o02zsYcwwI2ajDbt9Rl9zrFdYY78,2565
|
|
250
252
|
tests/regions/hauts-de-france/msa_nord_pas_de_calais/aide_permis.yml,sha256=yR5J5CNOELflmlkmq9R0RUZCU3PLnIAyD_6cXYaiMU4,520
|
|
251
|
-
tests/regions/ile_de_france/aide_achat_voiture_electrique.yml,sha256=
|
|
253
|
+
tests/regions/ile_de_france/aide_achat_voiture_electrique.yml,sha256=j_VCYVdDmG0zcOH1ksp6bgX9ipBWras0zGxJEMsZuIs,940
|
|
252
254
|
tests/regions/normandie/msa_haute_normandie/aide_permis.yaml,sha256=CcmmwFVEle8YNX2yLdLVXOms1PrN8rlrRIuVB0yVCl0,671
|
|
253
255
|
tests/regions/nouvelle-aquitaine/aide_permis.yaml,sha256=KZg5J3Tukyu06tKPY7sQHFCCTghPSxsBnz-UKDioTT8,1818
|
|
254
256
|
tests/regions/nouvelle-aquitaine/carte_solidaire.yml,sha256=nqSh3kTwakD0OKyQxwoFqfU7cGTe55klyseQ5GcJuF8,150
|
|
@@ -256,8 +258,8 @@ tests/regions/occitanie/carte_jeune_region.yml,sha256=t86RNkSuBYr2fEt60WZi0R115n
|
|
|
256
258
|
tests/regions/occitanie/carte_transport_scolaire.yml,sha256=ZzVRWnH6i9nni7hatdfUX0ltcWR2BCwh4BLP7UpKuZE,318
|
|
257
259
|
tests/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.yml,sha256=zAI_NBTfsP_Q72pDabN2ChQnpK98xasXetIQJmq6LTc,439
|
|
258
260
|
tests/regions/pays_de_la_loire/epass_jeunes_culture_sport.yaml,sha256=vgdq2hFtBWYWHHmO70bPV0lR_0wohJfmJGQb48A0EpQ,336
|
|
259
|
-
OpenFisca_France_Local-6.
|
|
260
|
-
OpenFisca_France_Local-6.
|
|
261
|
-
OpenFisca_France_Local-6.
|
|
262
|
-
OpenFisca_France_Local-6.
|
|
263
|
-
OpenFisca_France_Local-6.
|
|
261
|
+
OpenFisca_France_Local-6.15.1.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
262
|
+
OpenFisca_France_Local-6.15.1.dist-info/METADATA,sha256=Vfy8KpT7UZ5U8G13OcZ_6gpY9g7tm93VpXZvYV0PlHE,1166
|
|
263
|
+
OpenFisca_France_Local-6.15.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
264
|
+
OpenFisca_France_Local-6.15.1.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
|
|
265
|
+
OpenFisca_France_Local-6.15.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from openfisca_france.model.base import Variable, Menage, MONTH
|
|
2
|
+
|
|
3
|
+
class eure_et_loir_eligibilite_aep(Variable):
|
|
4
|
+
value_type = bool
|
|
5
|
+
entity = Menage
|
|
6
|
+
definition_period = MONTH
|
|
7
|
+
label = "En Eure-et-Loir, éligibilité a l'Action Éducative de Promixité (AEP)"
|
|
8
|
+
reference = [
|
|
9
|
+
"https://eurelien.fr/wp-content/uploads/2023/01/l_aide_educative_de_proximite.pdf",
|
|
10
|
+
"https://eurelien.fr/mon-quotidien/enfance-et-famille/#Laction-educative"
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
def formula(menage, period):
|
|
14
|
+
reside_eure_et_loir = menage('eure_et_loir_eligibilite_residence', period)
|
|
15
|
+
enfants_a_charge = menage.members('enfant_a_charge', period.this_year)
|
|
16
|
+
has_enfants_a_charge = menage.sum(enfants_a_charge) > 0
|
|
17
|
+
|
|
18
|
+
return reside_eure_et_loir * has_enfants_a_charge
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
- name: Eligibilité à l'aide AEP d'Eure-et-Loir avec menage ayant des enfants à charge
|
|
2
|
+
period: 2023-01
|
|
3
|
+
input:
|
|
4
|
+
individus:
|
|
5
|
+
parent1:
|
|
6
|
+
salaire_imposable: 1000
|
|
7
|
+
parent2:
|
|
8
|
+
salaire_imposable: 0
|
|
9
|
+
enfant1:
|
|
10
|
+
age: 8
|
|
11
|
+
enfant_a_charge:
|
|
12
|
+
2023: True
|
|
13
|
+
enfant2:
|
|
14
|
+
age: 12
|
|
15
|
+
enfant_a_charge:
|
|
16
|
+
2023: True
|
|
17
|
+
menage:
|
|
18
|
+
personne_de_reference: parent1
|
|
19
|
+
conjoint: parent2
|
|
20
|
+
enfants: [ "enfant1", "enfant2" ]
|
|
21
|
+
depcom: 28000
|
|
22
|
+
output:
|
|
23
|
+
eure_et_loir_eligibilite_aep: True
|
|
24
|
+
|
|
25
|
+
- name: Eligibilité à l'aide AEP d'Eure-et-Loir avec menage n'ayant pas d'enfants à charge
|
|
26
|
+
period: 2023-01
|
|
27
|
+
input:
|
|
28
|
+
individus:
|
|
29
|
+
parent1:
|
|
30
|
+
salaire_imposable: 1000
|
|
31
|
+
parent2:
|
|
32
|
+
salaire_imposable: 0
|
|
33
|
+
enfant1:
|
|
34
|
+
age: 8
|
|
35
|
+
enfant_a_charge:
|
|
36
|
+
2023: False
|
|
37
|
+
enfant2:
|
|
38
|
+
age: 12
|
|
39
|
+
enfant_a_charge:
|
|
40
|
+
2023: False
|
|
41
|
+
menage:
|
|
42
|
+
personne_de_reference: parent1
|
|
43
|
+
conjoint: parent2
|
|
44
|
+
enfants: [ "enfant1", "enfant2" ]
|
|
45
|
+
depcom: 28000
|
|
46
|
+
output:
|
|
47
|
+
eure_et_loir_eligibilite_aep: False
|
|
48
|
+
|
|
49
|
+
- name: Eligibilité à l'aide AEP d'Eure-et-Loir avec menage n'ayant pas d'enfants
|
|
50
|
+
period: 2023-01
|
|
51
|
+
input:
|
|
52
|
+
individus:
|
|
53
|
+
parent1:
|
|
54
|
+
salaire_imposable: 1000
|
|
55
|
+
parent2:
|
|
56
|
+
salaire_imposable: 0
|
|
57
|
+
menage:
|
|
58
|
+
personne_de_reference: parent1
|
|
59
|
+
conjoint: parent2
|
|
60
|
+
enfants: []
|
|
61
|
+
depcom: 28000
|
|
62
|
+
output:
|
|
63
|
+
eure_et_loir_eligibilite_aep: False
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
- name: Eligibilité à l'aide AEP d'Eure-et-Loir avec menage n'habitant pas en Eure-et-Loir
|
|
67
|
+
period: 2023-01
|
|
68
|
+
input:
|
|
69
|
+
individus:
|
|
70
|
+
parent1:
|
|
71
|
+
salaire_imposable: 1000
|
|
72
|
+
parent2:
|
|
73
|
+
salaire_imposable: 0
|
|
74
|
+
enfant1:
|
|
75
|
+
age: 8
|
|
76
|
+
enfant_a_charge:
|
|
77
|
+
2023: True
|
|
78
|
+
enfant2:
|
|
79
|
+
age: 12
|
|
80
|
+
enfant_a_charge:
|
|
81
|
+
2023: True
|
|
82
|
+
menage:
|
|
83
|
+
personne_de_reference: parent1
|
|
84
|
+
conjoint: parent2
|
|
85
|
+
enfants: [ "enfant1", "enfant2" ]
|
|
86
|
+
depcom: 45000
|
|
87
|
+
output:
|
|
88
|
+
eure_et_loir_eligibilite_aep: False
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
reforms:
|
|
78
78
|
- openfisca_france_local.aides_jeunes_reform.aides_jeunes_reform_dynamic
|
|
79
79
|
input:
|
|
80
|
-
groupe_specialites_formation: ["groupe_330", "
|
|
81
|
-
activite: ["
|
|
80
|
+
groupe_specialites_formation: ["groupe_330", "aucun", "groupe_330", "groupe_330"]
|
|
81
|
+
activite: ["etudiant", "etudiant", "chomeur", "etudiant"]
|
|
82
82
|
stagiaire: [true,true,false,false]
|
|
83
83
|
scolarite: ["inconnue", "inconnue", "inconnue", "enseignement_superieur"]
|
|
84
84
|
output:
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
input:
|
|
130
130
|
depcom: ["29232", "29232", "29232", "29232", "29232"]
|
|
131
131
|
professionnalisation: [false, true, false, false, false]
|
|
132
|
-
activite: ["inactif", "inactif", "actif", "
|
|
132
|
+
activite: ["inactif", "inactif", "actif", "actif", "actif"]
|
|
133
133
|
output:
|
|
134
134
|
test_profil_actif_et_professionnalisation: [0, 1, 1, 1,1]
|
|
135
135
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
age: [31, 18, 21, 21, 21, 21, 21]
|
|
4
4
|
depcom: [60, 95, 60, 60, 60, 60, 60]
|
|
5
5
|
statut_marital: [celibataire, celibataire, celibataire, marie, marie, celibataire, celibataire]
|
|
6
|
-
contrat_de_travail_type: [cdd, cdd, cdd, cdd, cdd, cdi,
|
|
6
|
+
contrat_de_travail_type: [cdd, cdd, cdd, cdd, cdd, cdi, aucun]
|
|
7
7
|
rfr:
|
|
8
8
|
2019:
|
|
9
9
|
[1, 1, 1, 50000, 32000, 1, 1]
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
age: [18, 30, 21, 24, 22]
|
|
5
5
|
depcom: [77100, 78000, 78370, 78586, 78711]
|
|
6
6
|
statut_marital: [celibataire, marie, celibataire, marie, marie]
|
|
7
|
-
contrat_de_travail_type: [cdd, cdi, cdi, cdd,
|
|
7
|
+
contrat_de_travail_type: [cdd, cdi, cdi, cdd, aucun]
|
|
8
8
|
rfr:
|
|
9
9
|
2022:
|
|
10
10
|
[1, 39000, 6500, 40000, 10000]
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
- period: 2024-01
|
|
19
19
|
input:
|
|
20
|
-
region: [ ile_de_france,
|
|
20
|
+
region: [ ile_de_france, hauts_de_france ]
|
|
21
21
|
age: [22, 23]
|
|
22
22
|
depcom: [95018, 59000]
|
|
23
23
|
statut_marital: [marie, marie]
|
|
File without changes
|
|
File without changes
|
{OpenFisca_France_Local-6.14.1.dist-info → OpenFisca_France_Local-6.15.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|