OpenFisca-France 169.8.1__py3-none-any.whl → 169.9.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 might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 169.8.1
3
+ Version: 169.9.0
4
4
  Summary: OpenFisca Rules as Code model for France.
5
5
  Author-email: OpenFisca Team <contact@openfisca.fr>
6
6
  Project-URL: Homepage, https://github.com/openfisca/openfisca-france
@@ -75,6 +75,7 @@ openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation
75
75
  openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation_import_baremes_locaux.py,sha256=7CdzstpMQXq-XxV36r1hZbMwm-QtbJJ2WNG4XL_qfjo,14902
76
76
  openfisca_france/model/prestations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
77
77
  openfisca_france/model/prestations/agepi.py,sha256=QRjafsxsObAjW2A31mzrOmXnzmKx0OWvlko7qpeRyj0,15841
78
+ openfisca_france/model/prestations/aide_alimentation_etudiants_eloignes.py,sha256=iO35OV8iDexv0yiQCbOpQ4sIZvfkRSAP5xuztGt-qa4,1779
78
79
  openfisca_france/model/prestations/aide_mobilite.py,sha256=SqzPIkkEZAgKoEbc73d3bhsYhFxZaN1o2Ik4gTm7VWY,20560
79
80
  openfisca_france/model/prestations/aide_permis_demandeur_emploi.py,sha256=7V8gVzI9Rgg60lxqddrrIqhjqe06J2GfMQoSXKrdY7I,3410
80
81
  openfisca_france/model/prestations/aide_permis_pro_btp.py,sha256=bzh9cDpJetqn72S2ziQJlhZuJrtOw-tYSDBOYKIML48,2258
@@ -2012,7 +2013,7 @@ openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retrait
2012
2013
  openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/gmp/cotisation_forfaitaire_mensuelle/part_salariale.yaml,sha256=PO1PcAIBnbhhYVxFU0n6p1GJQS-IqY8qo3X-R7yu0Y4,3357
2013
2014
  openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/prevoyance_deces_cadres/employeur_sous_plafond.yaml,sha256=PfnbxHk1Ua3uViqn-85CRzDZk4jvB4xV9M5uqOd5KWE,374
2014
2015
  openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/prevoyance_deces_cadres/index.yaml,sha256=XxYqzWPjiMioTmgSCsfBatx_DWLFyceHtJnlUI4ehmE,1587
2015
- openfisca_france/parameters/prestations_sociales/index.yaml,sha256=Sd_tYmJTZGFyT-JRTnnxcMq8tlGVS0rEZh70bpahm9E,246
2016
+ openfisca_france/parameters/prestations_sociales/index.yaml,sha256=vm2sd4vBfbUcIZpW2ITknhpce4oErsM9EFSXwTRoOJQ,261
2016
2017
  openfisca_france/parameters/prestations_sociales/aides_logement/index.yaml,sha256=CmnOThrn_ajW25AJPcakUny2MXDBk7A4dNmk4WEcuno,215
2017
2018
  openfisca_france/parameters/prestations_sociales/aides_logement/action_logement/index.yaml,sha256=x7xtrF1cbZtkeUml5gKoAVIgstGjoxezE6uMsno9Rjg,107
2018
2019
  openfisca_france/parameters/prestations_sociales/aides_logement/action_logement/locapass/age_max.yaml,sha256=QCKCBC1-vYFQ2Dvg74OA6KergKpr347Uu0H_dXI2pwc,502
@@ -2465,6 +2466,12 @@ openfisca_france/parameters/prestations_sociales/aides_logement/reduction_loyer_
2465
2466
  openfisca_france/parameters/prestations_sociales/aides_logement/reduction_loyer_solidarite/plafond_ressources/par_zone/zone_3/index.yaml,sha256=dHDCYWAnGh0l4lG3wGxgVWvxqU6WK92-xO-0TMStsyA,123
2466
2467
  openfisca_france/parameters/prestations_sociales/aides_logement/reduction_loyer_solidarite/plafond_ressources/par_zone/zone_3/majoration_par_pac_supp.yaml,sha256=23xvVqVLN1BCRYxUM8mBk2RW5nZJh5x7rhtHFKDndiY,1378
2467
2468
  openfisca_france/parameters/prestations_sociales/aides_logement/reduction_loyer_solidarite/plafond_ressources/par_zone/zone_3/personnes_seules.yaml,sha256=ZYqWiF3WoZrxTWKaAXUDVrWHlEK4YxawdYjwU8f20tU,1319
2469
+ openfisca_france/parameters/prestations_sociales/alimentation/index.yaml,sha256=CPd8zI_hqKDVLCNIhBolHknammjlevnqBv-ZyNfofWQ,161
2470
+ openfisca_france/parameters/prestations_sociales/alimentation/aide_alimentation_etudiants_eloignes/index.yaml,sha256=w3QdkQ9o4n7MJGRnEmxeZgqgArSxQhJYAOaB97JMK48,340
2471
+ openfisca_france/parameters/prestations_sociales/alimentation/aide_alimentation_etudiants_eloignes/montant_etudiant_drom_boursier.yaml,sha256=FZWHlNoHaOvxYJ7ouxHjTg-GJLIejluvxcH19PMLMfE,469
2472
+ openfisca_france/parameters/prestations_sociales/alimentation/aide_alimentation_etudiants_eloignes/montant_etudiant_drom_non_boursier.yaml,sha256=okHZdnODlDKk4MOOIUKYN98MsgfZCoqvC3teJ273vkY,477
2473
+ openfisca_france/parameters/prestations_sociales/alimentation/aide_alimentation_etudiants_eloignes/montant_etudiant_standard_boursier.yaml,sha256=lLRZ6nLOOMUnRYHB_oeSXi-D6OLtqHbcM4nonPKGcco,491
2474
+ openfisca_france/parameters/prestations_sociales/alimentation/aide_alimentation_etudiants_eloignes/montant_etudiant_standard_non_boursier.yaml,sha256=ftn5-l5mqFpjFxW90mmwsuB-K1YxUNuCD_xdEWK1kgc,361
2468
2475
  openfisca_france/parameters/prestations_sociales/education/index.yaml,sha256=1JLIXhFBzIyRWQTRrEMb414ignFiGKcjQGcz0wwXs-0,367
2469
2476
  openfisca_france/parameters/prestations_sociales/education/aide_permis_pro_btp/index.yaml,sha256=s9Is0i9Jm2zbPHgpwM7JCZ8N5E-3GxYu8CbYsArtQVc,95
2470
2477
  openfisca_france/parameters/prestations_sociales/education/aide_permis_pro_btp/age/index.yaml,sha256=L2ZFimKUwRk8ZfBb28Ib5DnezKJdyrhmp-4RgzRFiN8,137
@@ -4027,8 +4034,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
4027
4034
  openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
4028
4035
  openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
4029
4036
  openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
4030
- OpenFisca_France-169.8.1.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4031
- OpenFisca_France-169.8.1.dist-info/METADATA,sha256=q71rKpzWxNnz-VBipO1heZmNAsSQrBQ1mH_xNlQ33zs,20830
4032
- OpenFisca_France-169.8.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
4033
- OpenFisca_France-169.8.1.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4034
- OpenFisca_France-169.8.1.dist-info/RECORD,,
4037
+ OpenFisca_France-169.9.0.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4038
+ OpenFisca_France-169.9.0.dist-info/METADATA,sha256=d3Aea4Levgo5S1oeuIGa6iiL-pNgF5I0VbYHaG7wEM0,20830
4039
+ OpenFisca_France-169.9.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
4040
+ OpenFisca_France-169.9.0.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4041
+ OpenFisca_France-169.9.0.dist-info/RECORD,,
@@ -0,0 +1,45 @@
1
+ from openfisca_core.model_api import Variable, select
2
+ from openfisca_france.entities import Individu
3
+ from openfisca_core.periods import MONTH
4
+
5
+
6
+ class aide_alimentation_etudiants_eloignes(Variable):
7
+ value_type = float
8
+ entity = Individu
9
+ definition_period = MONTH
10
+ label = 'Aide financière pour les étudiants éloignés des restaurants universitaires, avec des montants majorés pour les DROM.'
11
+ reference = [
12
+ 'https://www.legifrance.gouv.fr/loda/id/JORFTEXT000050660003',
13
+ 'https://www.legifrance.gouv.fr/loda/id/JORFTEXT000050659996',
14
+ ]
15
+
16
+ def formula(individu, period, parameters):
17
+ etudiant = individu('etudiant', period)
18
+ boursier = individu('boursier', period)
19
+ resident_drom = individu.menage('residence_dom', period)
20
+
21
+ non_boursier = ~boursier
22
+ resident_hors_drom = ~resident_drom
23
+
24
+ params = parameters(period).prestations_sociales.alimentation.aide_alimentation_etudiants_eloignes
25
+ montant_standard_boursier = params.montant_etudiant_standard_boursier
26
+ montant_standard_non_boursier = params.montant_etudiant_standard_non_boursier
27
+ montant_drom_boursier = params.montant_etudiant_drom_boursier
28
+ montant_drom_non_boursier = params.montant_etudiant_drom_non_boursier
29
+
30
+ conditions = [
31
+ resident_drom * boursier,
32
+ resident_drom * non_boursier,
33
+ resident_hors_drom * boursier,
34
+ resident_hors_drom * non_boursier,
35
+ ]
36
+
37
+ montants = [
38
+ montant_drom_boursier,
39
+ montant_drom_non_boursier,
40
+ montant_standard_boursier,
41
+ montant_standard_non_boursier,
42
+ ]
43
+
44
+ montant = select(conditions, montants, default=0)
45
+ return etudiant * montant
@@ -0,0 +1,6 @@
1
+ description: Aide financière pour les étudiants éloignés des restaurants universitaires
2
+ metadata:
3
+ short_label: Aide alimentation étudiants éloignés
4
+ reference:
5
+ title: "Montants de l'aide financière prévue à l'article L. 822-1-1 du code de l'éducation"
6
+ href: https://www.legifrance.gouv.fr/loda/id/JORFTEXT000050659996
@@ -0,0 +1,12 @@
1
+ description: Montant pour un étudiant éloigné boursier en DROM
2
+ values:
3
+ 2025-02-01:
4
+ value: 50
5
+ metadata:
6
+ short_label: Montant étudiant éloigné boursier en DROM
7
+ reference:
8
+ 2025-02-01:
9
+ title: "Arrêté du 21 novembre 2024 fixant les montants de l'aide financière prévue à l'article L. 822-1-1 du code de l'éducation"
10
+ href: https://www.legifrance.gouv.fr/loda/id/JORFTEXT000050660003
11
+ official_journal_date:
12
+ 2025-02-01: "2024-11-26"
@@ -0,0 +1,12 @@
1
+ description: Montant pour un étudiant éloigné non boursier en DROM
2
+ values:
3
+ 2025-02-01:
4
+ value: 30
5
+ metadata:
6
+ short_label: Montant étudiant éloigné non boursier en DROM
7
+ reference:
8
+ 2025-02-01:
9
+ title: "Arrêté du 21 novembre 2024 fixant les montants de l'aide financière prévue à l'article L. 822-1-1 du code de l'éducation"
10
+ href: https://www.legifrance.gouv.fr/loda/id/JORFTEXT000050660003
11
+ official_journal_date:
12
+ 2025-02-01: "2024-11-26"
@@ -0,0 +1,12 @@
1
+ description: Montant standard pour un étudiant éloigné boursier hors DROM
2
+ values:
3
+ 2025-02-01:
4
+ value: 40
5
+ metadata:
6
+ short_label: Montant standard étudiant éloigné boursier hors DROM
7
+ reference:
8
+ 2025-02-01:
9
+ title: "Arrêté du 21 novembre 2024 fixant les montants de l'aide financière prévue à l'article L. 822-1-1 du code de l'éducation"
10
+ href: https://www.legifrance.gouv.fr/loda/id/JORFTEXT000050660003
11
+ official_journal_date:
12
+ 2025-02-01: "2024-11-26"
@@ -0,0 +1,9 @@
1
+ description: Montant pour un étudiant éloigné non boursier hors DROM
2
+ values:
3
+ 2025-02-01:
4
+ value: 20
5
+ metadata:
6
+ reference:
7
+ 2025-02-01:
8
+ title: "Arrêté du 21 novembre 2024 fixant les montants de l'aide financière prévue à l'article L. 822-1-1 du code de l'éducation"
9
+ href: https://www.legifrance.gouv.fr/loda/id/JORFTEXT000050660003
@@ -0,0 +1,6 @@
1
+ description: Aides pour l'alimentation
2
+ metadata:
3
+ short_label: Aides alimentation
4
+ label_en: Food allowances
5
+ order:
6
+ - aide_alimentation_etudiants_eloignes
@@ -3,9 +3,9 @@ metadata:
3
3
  short_label: Prestations sociales
4
4
  label_en: Social Benefits
5
5
  order:
6
- - prestations_familiales
7
- - aides_logement
8
- - prestations_etat_de_sante
9
- - solidarite_insertion
10
- - transport
11
- - education
6
+ - prestations_familiales
7
+ - aides_logement
8
+ - prestations_etat_de_sante
9
+ - solidarite_insertion
10
+ - transport
11
+ - alimentation