OpenFisca-France-Local 6.12.4__py3-none-any.whl → 6.14.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.12.4
3
+ Version: 6.14.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.12.4.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
1
+ OpenFisca_France_Local-6.14.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=ai1nfE0WPmBjTNSc3WoYQ71kOquaTEjdX8iOheistK0,16418
4
4
  openfisca_france_local/convert_benefit_conditions_to_parameters.py,sha256=qMQNMQKJh-m77KWvbAaMxO2VHB8SwUtVw80c7r7YeFc,6304
@@ -17,6 +17,8 @@ openfisca_france_local/communes/illkirch_graffenstaden/base.py,sha256=L90ys8g0jd
17
17
  openfisca_france_local/communes/iwuy/aide_permis.py,sha256=Xr-5NCWux1Hk4oFGurkWFkIFyEhxVDWYsR1hszzngvQ,933
18
18
  openfisca_france_local/communes/le_cateau/aide_permis.py,sha256=Ms2PKH-35eZc0ibbRbVIjOLc5gIwS0aHHdZh-ef20FI,1238
19
19
  openfisca_france_local/communes/les_rues_des_vignes/aide_permis.py,sha256=bPTeIT7ap4suySmzKBXDOORDmFpBaNyCQMuL-LFVQqg,1058
20
+ openfisca_france_local/communes/montpellier/eligibilite.py,sha256=aC3UfG7dZ9qHFa_DPVqUHKJJC4IwZYV5YPh4zQatAzk,360
21
+ openfisca_france_local/communes/montpellier/montpellier_mutuelle_communale.py,sha256=h4i5HTuHoGMwh7O1m8hxyN5ul4-KjaI1qszEPNe6J28,764
20
22
  openfisca_france_local/communes/nantes/aide_carte_blanche.py,sha256=uGs6HUZgJzuqddClJIuVU9l731ZjVCKQTW9RWRCNhtc,871
21
23
  openfisca_france_local/communes/saint_louis/eligibilite.py,sha256=UoTy7S7WABNTMcEVZai-vhj-mC5gyhcsW456dw7-iyg,398
22
24
  openfisca_france_local/departements/cotes_d_armor/eligibilite.py,sha256=8-qOmLSEc2i9jcKOkM-AD1s9Ug9GeWxsgguym7t8WkE,448
@@ -44,6 +46,8 @@ openfisca_france_local/departements/haute_vienne/aide_permis.py,sha256=5thrWdV9c
44
46
  openfisca_france_local/departements/haute_vienne/eligibilite.py,sha256=0lIasKgtRLoIGtsjJk6q6SZZS_mzy_B9dfGf-oEvYoY,432
45
47
  openfisca_france_local/departements/loire_atlantique/aide_mobilite.py,sha256=9uL6l_AA1zQmb4U3Pk7M_TGtYGY8e1M2x9zXLVbMqiY,3154
46
48
  openfisca_france_local/departements/loire_atlantique/eligibilite.py,sha256=8eWIzfXRqDVtZNCuO88Zvbk435YbugKPYVhPadKzsHY,451
49
+ openfisca_france_local/departements/meurthe_et_moselle/eligibilite.py,sha256=aXfeVTEo5jomU8pb7GEfr9wGniUag3hwoHzDN6t3OK8,429
50
+ openfisca_france_local/departements/meurthe_et_moselle/pass_jeune_54.py,sha256=iSNKgl_9IRsSEvaLxR5wRoIA9HJ04Q2mafWY-a1dIIM,1911
47
51
  openfisca_france_local/departements/nord/activ_emploi.py,sha256=juzjujhnlvWgiTkTBCqP_BqQAnA-0IAHyrhgyOnyF90,1262
48
52
  openfisca_france_local/departements/seine_saint_denis/cheque_reussite.py,sha256=c9Zx2N11W5I-X8NzjVP1DErB2GS2hzEr6z4YqBJwUgQ,1968
49
53
  openfisca_france_local/departements/seine_saint_denis/eligibilite.py,sha256=hMJEVwTw4dsrtNuru74v4s-jV9J3HhCdqGs-_gT6up0,456
@@ -84,6 +88,7 @@ openfisca_france_local/parameters/departements/eure_et_loir/transports.yml,sha25
84
88
  openfisca_france_local/parameters/departements/haute_saone/aide_permis.yaml,sha256=ZjgA0REbrqrLEmZYj9V4rj1pq-Ikc-GpN53QB6f-AHw,1421
85
89
  openfisca_france_local/parameters/departements/haute_vienne/aide_permis.yaml,sha256=798J4k4oUHDMCuIVKuyNDplIO1r7WYF0oyGeW9JeD0A,1387
86
90
  openfisca_france_local/parameters/departements/loire_atlantique/aide_mobilite.yml,sha256=FEyo8nNEv8km9kQyS4Vm1ZPahMiU1Wd_R_PzVIOhfKQ,2250
91
+ openfisca_france_local/parameters/departements/meurthe_et_moselle/pass_jeune_54.yml,sha256=2uZBx7FQTt7hh0EMjKK03ipujz06dGegVlvxg_bFZbU,1358
87
92
  openfisca_france_local/parameters/departements/yvelines/aide_permis.yml,sha256=pnfBjsPnKau0ej-k6jCLnm57OsrDKZ0AgkiHYB2IDgo,348
88
93
  openfisca_france_local/parameters/metropoles/bordeaux/aide_tarification_solidaire_transport.yaml,sha256=LBEEAXdufDPr7bMGakxw6M0s9DPa8VKDktW7AKTgwKk,544
89
94
  openfisca_france_local/parameters/metropoles/lyon/revenu_solidaire_jeune.yaml,sha256=eXlsYbAL48jzUEcV0LbI9XEzvABXNmPr1Y5ZHbdFNtQ,609
@@ -183,6 +188,7 @@ tests/communes/carcassonne/aide_permis.yaml,sha256=gqE1qdqz0l3cjDQMCuKjYpN-klauO
183
188
  tests/communes/iwuy/aide_permis.yml,sha256=vbWLT4hP4x3xDBBP8fh-zShCGjxsEEduhGzinS_TPCk,142
184
189
  tests/communes/le_cateau/aide_permis.yml,sha256=Hf1RI6pdgkL7pvyDb4euV9PVea7s1U-AyZ5JDNrJ0_0,223
185
190
  tests/communes/les_rues_des_vignes/aide_permis.yml,sha256=NbGXyaOT1lft1eAvB1zecuS1qqJMDnbnV8k-byhB_xk,157
191
+ tests/communes/montpellier/montpellier_mutuelle_communale.yml,sha256=07b43kilDgf2F9dwdNvLnl2RfwkhYVwg8t-bH_e4S1g,335
186
192
  tests/communes/nantes/aide_carte_blanche.yml,sha256=mPbfGL3I5nS9bPrtl0vERBYnG7B9RhY3EZonrM0l-sU,326
187
193
  tests/departements/cotes_d_armor/base_ressource.yml,sha256=FWHCWUeKedi5HiluAr9vBQt1ZjugxvAogKtXAZ2wkJU,1125
188
194
  tests/departements/cotes_d_armor/eligibilite.yml,sha256=Iilaz7lBJ1GmeW-QWFtX4WNQAWyQ4co3zClBVpCHr2U,119
@@ -210,6 +216,7 @@ tests/departements/eure_et_loir/transport_eleves_etudiants.yml,sha256=temar3124T
210
216
  tests/departements/haute-vienne/aide_permis.yaml,sha256=XAnflnjRNB_rCJSC0X2ZwxElLKLwe2RK_cskfgCJJYs,628
211
217
  tests/departements/haute_saone/aide_permis.yaml,sha256=h1KhWPM0vAcNMqzwlhHmZmt2of1zdAFpcKpb564ebQU,720
212
218
  tests/departements/loire_atlantique/aide_mobilite.yml,sha256=JoOQ0_kPVAySu13m2McptbEgHIUhtlh14y_nHVGvqD0,642
219
+ tests/departements/meurthe_et_moselle/pass_jeune_54.yml,sha256=qoMRgJqMa460tL1FbgM52ozh6T-XFwU_KBmdjpEXsoQ,553
213
220
  tests/departements/nord/activ_emploi.yaml,sha256=eXB3vNNoRDQ8yfvoeAhyxHHfT1fMOPLWns-aBQvYrH0,387
214
221
  tests/departements/vendee/bourses_jeunes_benevoles.yaml,sha256=BCgEXxm0z8fl5TYah_0z3OfnKomvmBFeeltT_B8hpGo,162
215
222
  tests/departements/yvelines/aide_permis.yml,sha256=O7bRsOgXZcIwDZ3xJM9kFxWyjrcigkNw3W2cN3g5te4,675
@@ -249,8 +256,8 @@ tests/regions/occitanie/carte_jeune_region.yml,sha256=t86RNkSuBYr2fEt60WZi0R115n
249
256
  tests/regions/occitanie/carte_transport_scolaire.yml,sha256=ZzVRWnH6i9nni7hatdfUX0ltcWR2BCwh4BLP7UpKuZE,318
250
257
  tests/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.yml,sha256=zAI_NBTfsP_Q72pDabN2ChQnpK98xasXetIQJmq6LTc,439
251
258
  tests/regions/pays_de_la_loire/epass_jeunes_culture_sport.yaml,sha256=vgdq2hFtBWYWHHmO70bPV0lR_0wohJfmJGQb48A0EpQ,336
252
- OpenFisca_France_Local-6.12.4.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
253
- OpenFisca_France_Local-6.12.4.dist-info/METADATA,sha256=PY5kE34s8TvNYZkCA20SQmXeYOPEqYZ1L215MyGKI9Q,1170
254
- OpenFisca_France_Local-6.12.4.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
255
- OpenFisca_France_Local-6.12.4.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
256
- OpenFisca_France_Local-6.12.4.dist-info/RECORD,,
259
+ OpenFisca_France_Local-6.14.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
260
+ OpenFisca_France_Local-6.14.0.dist-info/METADATA,sha256=VU5vEX7HEzkPidnO20Iq4ulJh1Zm_a_RO-7bxPhPmVg,1170
261
+ OpenFisca_France_Local-6.14.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
262
+ OpenFisca_France_Local-6.14.0.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
263
+ OpenFisca_France_Local-6.14.0.dist-info/RECORD,,
@@ -0,0 +1,10 @@
1
+ from openfisca_france.model.base import Menage, MONTH, Variable
2
+
3
+ class montpellier_eligibilite_residence(Variable):
4
+ value_type = bool
5
+ entity = Menage
6
+ definition_period = MONTH
7
+ label = "Éligibilité résidentielle d'un ménage aux dipositifs de Montpellier"
8
+
9
+ def formula(menage, period):
10
+ return menage('depcom', period) == b'34172'
@@ -0,0 +1,17 @@
1
+ from openfisca_france.model.base import Variable, MONTH, not_, Famille
2
+
3
+ class montpellier_mutuelle_communale(Variable):
4
+ value_type = bool
5
+ entity = Famille
6
+ definition_period = MONTH
7
+ label = "Mutuelle communale de la ville de Montpellier"
8
+ reference = [
9
+ "https://www.montpellier.fr/4884-mutuelle-communale.htm"
10
+ ]
11
+
12
+ def formula(famille, period):
13
+ eligibilite_residentielle = famille.demandeur.menage('montpellier_eligibilite_residence', period)
14
+ css_participation_forfaitaire = famille('css_participation_forfaitaire', period)
15
+ cmu_c = famille('cmu_c', period)
16
+ eligibilite_css_cmu_c = (css_participation_forfaitaire > 0) | cmu_c
17
+ return eligibilite_residentielle * not_(eligibilite_css_cmu_c)
@@ -0,0 +1,12 @@
1
+ from openfisca_france.model.base import Variable, Menage, MONTH
2
+ from numpy.core.defchararray import startswith
3
+
4
+
5
+ class meurthe_et_moselle_eligibilite_residence(Variable):
6
+ value_type = bool
7
+ entity = Menage
8
+ definition_period = MONTH
9
+ label = "Éligibilité résidentielle d'un ménage aux dipositifs de Meurthe-et-Moselle"
10
+
11
+ def formula(menage, period):
12
+ return startswith(menage('depcom', period), b'54')
@@ -0,0 +1,46 @@
1
+ from openfisca_france.model.base import Variable, Individu, MONTH
2
+
3
+
4
+ class eligibilite_age_pass_jeune_54(Variable):
5
+ value_type = float
6
+ entity = Individu
7
+ definition_period = MONTH
8
+ label = "Éligibilité d'âge pour le Pass Jeune 54 du département Meurthe-et-Moselle"
9
+
10
+ def formula(individu, period, parameters):
11
+ age = individu('age', period)
12
+ age_minimum = parameters(period).departements.meurthe_et_moselle.pass_jeune_54.age.minimum_inclusif
13
+ age_maximum = parameters(period).departements.meurthe_et_moselle.pass_jeune_54.age.maximum_inclusif
14
+ return (age_minimum <= age) * (age <= age_maximum)
15
+
16
+ class quotient_familial_pass_jeune_54(Variable):
17
+ value_type = float
18
+ entity = Individu
19
+ definition_period = MONTH
20
+ label = "Quotient familial pour le Pass Jeune 54 du département Meurthe-et-Moselle"
21
+
22
+ def formula(individu, period):
23
+ rfr = individu.foyer_fiscal('rfr', period.n_2)
24
+ nbptr = individu.foyer_fiscal('nbptr', period.n_2)
25
+ return rfr / nbptr / 12
26
+
27
+ class pass_jeune_54(Variable):
28
+ value_type = float
29
+ entity = Individu
30
+ definition_period = MONTH
31
+ label = "Montant pour le Pass Jeune 54 du département Meurthe-et-Moselle"
32
+ reference = [
33
+ "https://meurthe-et-moselle.fr/actions/education-populaire-jeunesse-sports/sport/pass-jeunes-54"
34
+ ]
35
+
36
+ def formula(individu, period, parameters):
37
+
38
+ params = parameters(period).departements.meurthe_et_moselle.pass_jeune_54
39
+
40
+ eligibilite_residentielle = individu.menage('meurthe_et_moselle_eligibilite_residence', period)
41
+ eligibilite_age = individu('eligibilite_age_pass_jeune_54', period)
42
+ quotient_familial = individu('quotient_familial_pass_jeune_54', period)
43
+
44
+ montant = params.montant_en_fonction_du_quotient_familial.calc(quotient_familial)
45
+
46
+ return montant * eligibilite_residentielle * eligibilite_age
@@ -0,0 +1,47 @@
1
+ age:
2
+ minimum_inclusif:
3
+ reference:
4
+ - https://meurthe-et-moselle.fr/actions/education-populaire-jeunesse-sports/sport/pass-jeunes-54
5
+ description: Éligibilité d'âge minimum pour l'aide Pass Jeunes 54 dans le département de la Meurthe-et-Moselle.
6
+ values:
7
+ 2024-01-01:
8
+ value: 6
9
+ maximum_inclusif:
10
+ reference:
11
+ - https://meurthe-et-moselle.fr/actions/education-populaire-jeunesse-sports/sport/pass-jeunes-54
12
+ description: Éligibilité d'âge maximum pour l'aide Pass Jeunes 54 dans le département de la Meurthe-et-Moselle.
13
+ values:
14
+ 2024-01-01:
15
+ value: 16
16
+
17
+ montant_en_fonction_du_quotient_familial:
18
+ reference:
19
+ - https://meurthe-et-moselle.fr/actions/education-populaire-jeunesse-sports/sport/pass-jeunes-54
20
+ description: Montant obtenu pour l'aide Pass Jeunes 54 en région Auvergne-Rhône-Alpes.
21
+ metadata:
22
+ type: single_amount
23
+ brackets:
24
+ - threshold:
25
+ 2024-01-01:
26
+ value: 0
27
+ amount:
28
+ 2024-01-01:
29
+ value: 100
30
+ - threshold:
31
+ 2024-01-01:
32
+ value: 451
33
+ amount:
34
+ 2024-01-01:
35
+ value: 70
36
+ - threshold:
37
+ 2024-01-01:
38
+ value: 551
39
+ amount:
40
+ 2024-01-01:
41
+ value: 50
42
+ - threshold:
43
+ 2024-01-01:
44
+ value: 651
45
+ amount:
46
+ 2024-01-01:
47
+ value: 0
@@ -0,0 +1,8 @@
1
+ - name: "Égibilité à la mutuelle communale de Montpellier"
2
+ period: 2024-10
3
+ input:
4
+ depcom: ["34172","34172", "34172", "68400", "68400"]
5
+ css_participation_forfaitaire_montant: [0, 0, 20, 25, 30]
6
+ cmu_c: [False, True, False, False, False]
7
+ output:
8
+ montpellier_mutuelle_communale: [True, False, False, False, False]
@@ -0,0 +1,23 @@
1
+ - period: 2024-01
2
+ name: "Éligibilité d'âge et de résidence"
3
+ input:
4
+ age: [5, 6, 8, 16, 17]
5
+ depcom: [54000, 54000, 68400, 54000, 54000]
6
+ rfr:
7
+ 2022: [80, 80, 80, 80, 80]
8
+ nbptr:
9
+ 2022: [1, 1, 1, 1, 1]
10
+ output:
11
+ pass_jeune_54: [0, 100, 0, 100, 0]
12
+
13
+ - period: 2024-01
14
+ name: Montant en fonction du quotient familial
15
+ input:
16
+ age: [14, 14, 14, 14]
17
+ depcom: [54000, 54000, 54000, 54000]
18
+ rfr:
19
+ 2022: [7850, 13300, 5600, 5200]
20
+ nbptr:
21
+ 2022: [1, 2, 1, 1]
22
+ output:
23
+ pass_jeune_54: [0, 50, 70, 100]