OpenFisca-France-Local 6.15.1__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.1
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
@@ -1,4 +1,4 @@
1
- OpenFisca_France_Local-6.15.1.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
@@ -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.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,,
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,,
@@ -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]