OpenFisca-France-Local 6.15.0__py3-none-any.whl → 6.16.0__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France-Local
3
- Version: 6.15.0
3
+ Version: 6.16.0
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 <42,>=40.0.1
21
- Requires-Dist: OpenFisca-France <169,>=153.0.1
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.15.0.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
1
+ OpenFisca_France_Local-6.16.0.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
@@ -64,6 +64,7 @@ openfisca_france_local/metropoles/lyon/revenu_solidaire_jeune.py,sha256=XRrE4KHj
64
64
  openfisca_france_local/metropoles/nantes/tarification_solidaire_transports.py,sha256=SqQ5O-bB4HI_M2kHSAPhd0-0KTPdmzdYRvrGOY76e7k,2022
65
65
  openfisca_france_local/metropoles/rennes/communes.py,sha256=tS-CU-wNzDooNB9OljyYdAqrp86DKFYcQFtFEfI8c9s,617
66
66
  openfisca_france_local/metropoles/rennes/mon_aide.py,sha256=kuhJx6_hlC4LEz4RA8jYif-q6yO3AsJFA5MHSHmtwp4,7084
67
+ openfisca_france_local/metropoles/strasbourg/tarification_solidaire_periscolaire.py,sha256=zFOHz_jejk3k6rXHoBM0LGiw3DhftPTm3DR3egx0Pmw,1490
67
68
  openfisca_france_local/metropoles/strasbourg/tarification_solidaire_transports.py,sha256=Wy-LrBBcwUWlC_Eh8lkfHiTYZ8VlJ5i9Gg4pswIhcyM,4076
68
69
  openfisca_france_local/metropoles/toulouse/tisseo/demandeur_emploi.py,sha256=LiQSE_Mvc4By-k9IibaRtkMGH38vbzTj2iFuYjMgOBU,1408
69
70
  openfisca_france_local/metropoles/toulouse/tisseo/invalide.py,sha256=rNAgmHGbjrsCMMvi7fT3FP_YZ8QjIzNkhUUOD7GP0os,1074
@@ -99,6 +100,7 @@ openfisca_france_local/parameters/metropoles/rennes/tarification_solidaire/seuil
99
100
  openfisca_france_local/parameters/metropoles/rennes/tarification_solidaire/taux_reduction/taux1.yaml,sha256=UF5muCURZV0xYB2j4no51IHozkXScaDSd0JyYG_uWYk,73
100
101
  openfisca_france_local/parameters/metropoles/rennes/tarification_solidaire/taux_reduction/taux2.yaml,sha256=VkUf0v7SCSnfhw7BfK1dDLiu7QLFEViytNPURwcyFGQ,72
101
102
  openfisca_france_local/parameters/metropoles/rennes/tarification_solidaire/taux_reduction/taux3.yaml,sha256=D4fNYiwzwF1q4T0JWrv63OHKbVqS7nB-hiUzQxUjDjU,72
103
+ openfisca_france_local/parameters/metropoles/strasbourg/periscolaire/accueil_soir_maternelle.yaml,sha256=YT6q06yok6PUaO9EjckOS_YFGNl-_YnKVFYgxXz2L7A,2322
102
104
  openfisca_france_local/parameters/regions/auvergne_rhone_alpes/aide_permis.yml,sha256=Xm0p4IJCd48Oa63avXIWi3eRJStW2ZDV_23ukaLAOwQ,574
103
105
  openfisca_france_local/parameters/regions/auvergne_rhone_alpes/departements.yaml,sha256=np9SQOtHOH399o2PVlLMNhc5CYWkUytaIqmSXqdBTKg,205
104
106
  openfisca_france_local/parameters/regions/bretagne/msa_armorique/aide_permis.yml,sha256=Ju4RTFAg3dUUSRKxqPI-SHwDgni6xoxA0KYB5aF5lUI,866
@@ -232,6 +234,7 @@ tests/metropoles/nantes/tarification_solidaire_transports.yaml,sha256=VYmKKOhohQ
232
234
  tests/metropoles/rennes/mon_aide.yaml,sha256=xKIa6kYrHVEDq402h2zRycQGHSObw0qsr-1NAWUl-70,7349
233
235
  tests/metropoles/strasbourg/etudiant.yaml,sha256=AqD28NCxrSRdX1HAOZ8uxcUY06fse_MYewzibXffMwU,216
234
236
  tests/metropoles/strasbourg/montant.yaml,sha256=20bE05CrPaNB89O1dDeLYdcgbuaDuUtZrLgU0Rhxbzc,474
237
+ tests/metropoles/strasbourg/periscolaire.yaml,sha256=X7-gRWBArPkO5-F_xqe1aflMtEQ6zPi3umFsx0TdOYo,624
235
238
  tests/metropoles/toulouse/tisseo/demandeur_emploi.yaml,sha256=HcPSsz8JOn-HWMo1aQmIUACqwK3LnAFMahQ3uYuOPWY,455
236
239
  tests/metropoles/toulouse/tisseo/invalides.yaml,sha256=XpX-YLYj3RUa5hNM8NQ6LDvSoUV_KwXHX7vcVa_musM,249
237
240
  tests/metropoles/toulouse/tisseo/jeunes.yaml,sha256=jIxGXA2nrbpzgS_nkqKnGfDkyqcSKDe2Rauvp7rkeVc,362
@@ -239,7 +242,7 @@ tests/metropoles/toulouse/tisseo/ressort_territorial.yaml,sha256=P8cGaxGLLdjfmIP
239
242
  tests/metropoles/toulouse/tisseo/retraites.yaml,sha256=Sbi6CELr-7zXJJ3EZsDE7Wd--hl5ZU-Vt3wKGr2PoA0,259
240
243
  tests/metropoles/toulouse/tisseo/transport_reduction.yaml,sha256=gy2E76faNoviAr3vm0Hv9vtLuQ0ioWr1KK12CbAGsbo,200
241
244
  tests/reforms/aides_jeunes/test_aides_jeunes_reform.py,sha256=TUswOO6m588v-WsiGGvrGgq6CXM688TfRUlmdQizyk4,922
242
- tests/reforms/aides_jeunes/test_aides_jeunes_reform.yaml,sha256=BB1auzXV8zhat3qE9ZMvdlQTMHr8CQa9ozgOGsQRAR8,8486
245
+ tests/reforms/aides_jeunes/test_aides_jeunes_reform.yaml,sha256=8wr3j6IrSEtB3dyURln2_cuMs76Z7gob9L-Elhse1zY,8455
243
246
  tests/reforms/aides_jeunes/test_convert_benefit_conditions_to_parameters.py,sha256=8iqb53U7l9g8o6HbR_i7o2bAm_7fTzn4B_-xfp_61-M,7619
244
247
  tests/reforms/epci_test_factory/test_epci_path.py,sha256=VLAfVeuBOafU2xTWlI-0ZYGRGnXI4gyXLNQUj02hRaA,644
245
248
  tests/reforms/epci_test_factory/test_epci_reform.yaml,sha256=KXV4EViQoZrMmxyJEANqeMP6chki6FCS2uQP2yomaSQ,197
@@ -247,10 +250,10 @@ tests/regions/auvergne-rhone-alpes/aide_permis.yml,sha256=szNpbs_WYwjk3I_BScxU5r
247
250
  tests/regions/bretagne/msa_armorique/aide_permis.yml,sha256=HZhCW1n3iy0X-UGY0BSMpovBT8wIV76oAvZ82b4uX1U,742
248
251
  tests/regions/bretagne/msa_portes_de_bretagne/aide_permis.yml,sha256=mytuSciKJBXwxDrJnWoT28aIaESV3PVR8VZgW2ppfFc,751
249
252
  tests/regions/hauts-de-france/aide_garde_enfant.yml,sha256=0teltKijXUO-amqDQatVb64fIwCeuhuKbTOGOeL_cG0,4080
250
- tests/regions/hauts-de-france/aide_permis.yml,sha256=ii6ucc5fXnLKp60MbYaBRGFPLQPL-P6IAewsIq6Dpv8,1123
253
+ tests/regions/hauts-de-france/aide_permis.yml,sha256=y22d3GlQunWQ0SVyi5YCw23HIzrrwMPIwcU2Mxoj-kQ,1118
251
254
  tests/regions/hauts-de-france/crous/aide_100_repas_gratuits.yml,sha256=uOiBAstAynC7Pf-o02zsYcwwI2ajDbt9Rl9zrFdYY78,2565
252
255
  tests/regions/hauts-de-france/msa_nord_pas_de_calais/aide_permis.yml,sha256=yR5J5CNOELflmlkmq9R0RUZCU3PLnIAyD_6cXYaiMU4,520
253
- tests/regions/ile_de_france/aide_achat_voiture_electrique.yml,sha256=QNgSONFlUX6uN8clWjJuS2EZedT10gxfo0IiRAcsSTM,944
256
+ tests/regions/ile_de_france/aide_achat_voiture_electrique.yml,sha256=j_VCYVdDmG0zcOH1ksp6bgX9ipBWras0zGxJEMsZuIs,940
254
257
  tests/regions/normandie/msa_haute_normandie/aide_permis.yaml,sha256=CcmmwFVEle8YNX2yLdLVXOms1PrN8rlrRIuVB0yVCl0,671
255
258
  tests/regions/nouvelle-aquitaine/aide_permis.yaml,sha256=KZg5J3Tukyu06tKPY7sQHFCCTghPSxsBnz-UKDioTT8,1818
256
259
  tests/regions/nouvelle-aquitaine/carte_solidaire.yml,sha256=nqSh3kTwakD0OKyQxwoFqfU7cGTe55klyseQ5GcJuF8,150
@@ -258,8 +261,8 @@ tests/regions/occitanie/carte_jeune_region.yml,sha256=t86RNkSuBYr2fEt60WZi0R115n
258
261
  tests/regions/occitanie/carte_transport_scolaire.yml,sha256=ZzVRWnH6i9nni7hatdfUX0ltcWR2BCwh4BLP7UpKuZE,318
259
262
  tests/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.yml,sha256=zAI_NBTfsP_Q72pDabN2ChQnpK98xasXetIQJmq6LTc,439
260
263
  tests/regions/pays_de_la_loire/epass_jeunes_culture_sport.yaml,sha256=vgdq2hFtBWYWHHmO70bPV0lR_0wohJfmJGQb48A0EpQ,336
261
- OpenFisca_France_Local-6.15.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
262
- OpenFisca_France_Local-6.15.0.dist-info/METADATA,sha256=-1ohIAoVozEZZOZ7aEj9MADMGWNYBY4nEd8UAHrWqyo,1170
263
- OpenFisca_France_Local-6.15.0.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
264
- OpenFisca_France_Local-6.15.0.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
265
- OpenFisca_France_Local-6.15.0.dist-info/RECORD,,
264
+ OpenFisca_France_Local-6.16.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
265
+ OpenFisca_France_Local-6.16.0.dist-info/METADATA,sha256=hXNtCnI2K4tkYlcDzUUVTMi1URpz_BPXlOK8RXAgr1s,1166
266
+ OpenFisca_France_Local-6.16.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
267
+ OpenFisca_France_Local-6.16.0.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
268
+ OpenFisca_France_Local-6.16.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.2.0)
2
+ Generator: setuptools (75.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -0,0 +1,37 @@
1
+ from openfisca_france.model.base import Variable, Famille, MONTH, max_
2
+
3
+
4
+ class strasbourg_metropole_quotient_familial(Variable):
5
+ value_type = float
6
+ entity = Famille
7
+ definition_period = MONTH
8
+ label = "Quotient familial de l'eurometropole de strasbourg"
9
+
10
+ def formula(famille, period):
11
+ rfr = famille.demandeur.foyer_fiscal("rfr", period.n_2)
12
+ nbptr = famille.demandeur.foyer_fiscal("nbptr", period.n_2)
13
+ return rfr / 12 / nbptr
14
+
15
+
16
+ class strasbourg_metropole_tarification_solidaire_periscolaire(
17
+ Variable
18
+ ):
19
+ value_type = float
20
+ entity = Famille
21
+ definition_period = MONTH
22
+ label = "Tarification de l'accueil periscolaire de l'Eurométropole de Strasbourg"
23
+ reference = [
24
+ # tarifs pour 2021-2022 :
25
+ "https://www.strasbourg.eu/documents/976405/1280877/0/0cc414e4-c6b7-1709-7e1e-46b088d28805",
26
+ # tarifs 2202-2023
27
+ "https://www.strasbourg.eu/documents/976405/1280877/0/c1917f09-97b2-2604-7d58-8b8cb5c0a849",
28
+ # tarifs 2024-2025 :
29
+ "https://www.strasbourg.eu/documents/976405/1280877/Tarifs-services-periscolaires-2024-2025.pdf/62fa6543-19ae-b69d-3313-13e881a6b866?version=1.0&t=1723127337051"
30
+ ]
31
+
32
+ def formula(famille, period, parameters):
33
+ quotient_familial = famille("strasbourg_metropole_quotient_familial", period)
34
+ tarif = parameters(
35
+ period
36
+ ).metropoles.strasbourg.periscolaire.accueil_soir_maternelle
37
+ return tarif.calc(quotient_familial)
@@ -0,0 +1,151 @@
1
+ description:
2
+ Tarif mensuel du service d'accueil dans les écoles maternelles de la ville de Strasbourg
3
+ metadata:
4
+ type: single_amount
5
+ references:
6
+ - tarifs-2021-2022: "https://www.strasbourg.eu/documents/976405/1280877/0/0cc414e4-c6b7-1709-7e1e-46b088d28805"
7
+ - tarifs-2022-2023-2024: "https://www.strasbourg.eu/documents/976405/1280877/0/c1917f09-97b2-2604-7d58-8b8cb5c0a849"
8
+ brackets:
9
+ - threshold:
10
+ 2021-01-01:
11
+ value: -1
12
+ amount:
13
+ 2021-01-01:
14
+ value: 11.95
15
+ 2024-09-01:
16
+ value: 11.85
17
+
18
+ - threshold:
19
+ 2024-09-01:
20
+ value: 100
21
+ amount:
22
+ 2024-09-01:
23
+ value: 16.16
24
+
25
+ - threshold:
26
+ 2024-09-01:
27
+ value: 300
28
+ amount:
29
+ 2024-09-01:
30
+ value: 20.46
31
+
32
+ - threshold:
33
+ 2021-01-01:
34
+ value: 410
35
+ amount:
36
+ 2021-01-01:
37
+ value: 16.70
38
+
39
+ - threshold:
40
+ 2024-09-01:
41
+ value: 500
42
+ amount:
43
+ 2024-09-01:
44
+ value: 24.77
45
+
46
+ - threshold:
47
+ 2021-01-01:
48
+ value: 510
49
+ amount:
50
+ 2021-01-01:
51
+ value: 21.50
52
+
53
+ - threshold:
54
+ 2021-01-01:
55
+ value: 620
56
+ amount:
57
+ 2021-01-01:
58
+ value: 26.25
59
+
60
+ - threshold:
61
+ 2024-09-01:
62
+ value: 700
63
+ amount:
64
+ 2024-09-01:
65
+ value: 29.07
66
+
67
+ - threshold:
68
+ 2021-01-01:
69
+ value: 720
70
+ amount:
71
+ 2021-01-01:
72
+ value: 31.10
73
+
74
+ - threshold:
75
+ 2021-01-01:
76
+ value: 820
77
+ amount:
78
+ 2021-01-01:
79
+ value: 35.85
80
+
81
+ - threshold:
82
+ 2024-09-01:
83
+ value: 900
84
+ amount:
85
+ 2024-09-01:
86
+ value: 33.38
87
+
88
+ - threshold:
89
+ 2021-01-01:
90
+ value: 920
91
+ amount:
92
+ 2021-01-01:
93
+ value: 40.60
94
+ 2024-09-01:
95
+ value: 33.38
96
+
97
+ - threshold:
98
+ 2024-09-01:
99
+ value: 1100
100
+ amount:
101
+ 2024-09-01:
102
+ value: 37.68
103
+
104
+ - threshold:
105
+ 2021-01-01:
106
+ value: 1030
107
+ amount:
108
+ 2021-01-01:
109
+ value: 45.30
110
+
111
+ - threshold:
112
+ 2024-09-01:
113
+ value: 1300
114
+ amount:
115
+ 2024-09-01:
116
+ value: 41.99
117
+
118
+ - threshold:
119
+ 2024-09-01:
120
+ value: 1500
121
+ amount:
122
+ 2024-09-01:
123
+ value: 46.29
124
+
125
+ - threshold:
126
+ 2021-01-01:
127
+ value: 1540
128
+ amount:
129
+ 2021-01-01:
130
+ value: 50.15
131
+
132
+ - threshold:
133
+ 2024-09-01:
134
+ value: 1700
135
+ amount:
136
+ 2024-09-01:
137
+ value: 50.60
138
+
139
+ - threshold:
140
+ 2024-09-01:
141
+ value: 1900
142
+ amount:
143
+ 2024-09-01:
144
+ value: 54.90
145
+
146
+ - threshold:
147
+ 2021-01-01:
148
+ value: 2050
149
+ amount:
150
+ 2021-01-01:
151
+ value: 54.90
@@ -0,0 +1,11 @@
1
+ - period: 2021-10
2
+ input:
3
+ strasbourg_metropole_quotient_familial: [0, 101, 410, 510, 620, 720, 820, 920, 1030, 1540, 2050, 3000, 5000]
4
+ output:
5
+ strasbourg_metropole_tarification_solidaire_periscolaire: [11.95, 11.95, 16.70, 21.50, 26.25, 31.10, 35.85, 40.60, 45.30, 50.15, 54.90, 54.90, 54.90]
6
+
7
+ - period: 2024-10
8
+ input:
9
+ strasbourg_metropole_quotient_familial: [0, 101, 300, 500, 700, 900, 1100, 1300, 1500, 1700, 1900, 2050, 3000, 5000]
10
+ output:
11
+ strasbourg_metropole_tarification_solidaire_periscolaire: [11.85, 16.16, 20.46, 24.77, 29.07, 33.38, 37.68, 41.99, 46.29, 50.60, 54.90, 54.90, 54.90, 54.90]
@@ -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", "FOrmation non reconnue", "groupe_330", "groupe_330"]
81
- activite: ["stagiaire", "stagiaire", "chomeur", "etudiant"]
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", "salarie", "service_civique"]
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, non_defini]
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, non_defini]
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, haut_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]