OpenFisca-France 167.0.1__py3-none-any.whl → 167.0.2__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,14 @@
1
1
  # Changelog
2
2
 
3
- # 167.0.1 [2312](https://github.com/openfisca/openfisca-france/pull/2312)
3
+ # 167.0.2 [2299](https://github.com/openfisca/openfisca-france/pull/2299)
4
+
5
+ * Changement mineur.
6
+ * Périodes concernées : à partir du 2024-01-01.
7
+ * Zones impactées : `prestations_sociales.education.pass_colo`.
8
+ * Détails :
9
+ - Ajout de l'aide pass colo à destination des enfants né(e) en 2013 souhaitant aller en colonie de vacances
10
+
11
+ ### 167.0.1 [2312](https://github.com/openfisca/openfisca-france/pull/2312)
4
12
 
5
13
  * Changement mineur.
6
14
  * Périodes concernées : toutes.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 167.0.1
3
+ Version: 167.0.2
4
4
  Summary: French tax and benefit system for OpenFisca
5
5
  Home-page: https://github.com/openfisca/openfisca-france
6
6
  Author: OpenFisca Team
@@ -1,5 +1,5 @@
1
- OpenFisca_France-167.0.1.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=-a47U8GmIxZhP3AtZPBIxvSSG3sKMmt7v30UFtlY7VI,443949
2
- OpenFisca_France-167.0.1.data/data/share/openfisca/openfisca-france/README.md,sha256=nIa6V4zevZpj2DX1rcpgs6AATTerCCy4622S1D3-CDI,18642
1
+ OpenFisca_France-167.0.2.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=PzlSZZ675Gs9gB1n-LTdVuSx5hHz0QsjYfNHQ6S1eiw,444291
2
+ OpenFisca_France-167.0.2.data/data/share/openfisca/openfisca-france/README.md,sha256=nIa6V4zevZpj2DX1rcpgs6AATTerCCy4622S1D3-CDI,18642
3
3
  openfisca_france/__init__.py,sha256=MHLZ0V8uQHi4lkZ5bPAoLjsWTJe-wJgLfPxFvbCCxHc,126
4
4
  openfisca_france/entities.py,sha256=nGl52ncj9wZzFwASKZk4_OHzhqOUuXGBxNmIiwxZU-c,2576
5
5
  openfisca_france/france_taxbenefitsystem.py,sha256=UHVqvkqqYk-9RanSPWlVy3uieG77GCSrWCOqVpeN30I,1687
@@ -107,6 +107,7 @@ openfisca_france/model/prestations/jeunes/contrat_engagement_jeune.py,sha256=Ets
107
107
  openfisca_france/model/prestations/jeunes/garantie_jeunes.py,sha256=qLa3vdsNZuyK_IdNhqXJPunLhvSj3PdYFMdzrldcPbg,6427
108
108
  openfisca_france/model/prestations/jeunes/garantie_pret_etudiant.py,sha256=ZrN5VXAHkq5BYHxvWTamXDrMQxA_xwIDToBPXEZdw1s,2018
109
109
  openfisca_france/model/prestations/jeunes/mobili_jeune.py,sha256=dWo1zDSsTkiBF4LBmKgtBF8FXwZ3uvXQ01jPcP2P-6M,5919
110
+ openfisca_france/model/prestations/jeunes/pass_colo.py,sha256=eYoSnKcXzMl6fTgaqNaQ_5iHyO8KV_kwuJ1rekoinx8,1271
110
111
  openfisca_france/model/prestations/jeunes/pass_sport.py,sha256=wjb3PRFhcdXYqN3wVrdxfM0BD9TvOWohqjXkO3DPb9s,2750
111
112
  openfisca_france/model/prestations/jeunes/service_civique.py,sha256=qW0r6gGyPswa6-2bB3VXtuHmeZwbSWjTIpAxk-QekJA,376
112
113
  openfisca_france/model/prestations/minima_sociaux/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -2673,6 +2674,9 @@ openfisca_france/parameters/prestations_sociales/education/mobilite/mobili_jeune
2673
2674
  openfisca_france/parameters/prestations_sociales/education/mobilite/mobili_jeune/montant/maximum/secteur_agricole.yaml,sha256=kzHduhKqM713FlIwP3lk_pFNhv9Gr42OTJjrSTGEQcY,173
2674
2675
  openfisca_france/parameters/prestations_sociales/education/mobilite/parcoursup/index.yaml,sha256=DaUkJjwd9ajvs1N7Qyo4-bn6DA9W4795wdr5dOV1shQ,133
2675
2676
  openfisca_france/parameters/prestations_sociales/education/mobilite/parcoursup/montant.yaml,sha256=5b8uSYItmdjKO8TGMHhK6Cim9YO5eFkC6_f3DT42i7Y,296
2677
+ openfisca_france/parameters/prestations_sociales/education/pass_colo/annee_naissance_enfant.yaml,sha256=I5QC73u_R1XvojgPYOsKNA9SQ0H9GEiGuflhkJe6otc,283
2678
+ openfisca_france/parameters/prestations_sociales/education/pass_colo/index.yaml,sha256=r2WvIOLCxSMaFGp7pV1Swd18qoUOXPsJPCxxKLmlFfc,357
2679
+ openfisca_france/parameters/prestations_sociales/education/pass_colo/montants.yaml,sha256=SiGWYiNQwWetarRpMOpQZUIq91EYTF8qfuR79DYdlDE,841
2676
2680
  openfisca_france/parameters/prestations_sociales/education/pass_culture/age_maximum.yaml,sha256=7yGwIIoYweQWG5Wj_TN0uB2pl0tSXo-rZtMGPeDbDhI,493
2677
2681
  openfisca_france/parameters/prestations_sociales/education/pass_culture/index.yaml,sha256=s7NkSSYQprKXjMke5S4b72oU61DeOoeYGYPYxqBqnXo,100
2678
2682
  openfisca_france/parameters/prestations_sociales/education/pass_culture/montants.yaml,sha256=ZQwaw9AuDTNVYeVRbUIoR6FYWisDtLWysHnC9o9VOi0,1039
@@ -4019,8 +4023,8 @@ tests/test_parameters.py,sha256=9ByrtcJpaV32qCE-u4FY4fzCugFUW8utc5_KUAmYKG8,354
4019
4023
  tests/test_preprocessing.py,sha256=BBMFR4GlFFqu86XfVcrHRbps_SpoWb1QS1lmu3c5bCE,6973
4020
4024
  tests/test_scenarios.py,sha256=A7SmVt_iyDTbNTE45WgGQlQZkJ0uJ1ZGUhTV3ziwLUw,1009
4021
4025
  tests/test_tax_rates.py,sha256=B_CnSIqCijGYkKW7XVZlF8uot0otNJ-Sq-DKINPATfA,1551
4022
- OpenFisca_France-167.0.1.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4023
- OpenFisca_France-167.0.1.dist-info/METADATA,sha256=rtcNydMwNFZ82SBEI8MWBBcjwVYFPuOuFJ9LiaUUfXg,20517
4024
- OpenFisca_France-167.0.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
4025
- OpenFisca_France-167.0.1.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4026
- OpenFisca_France-167.0.1.dist-info/RECORD,,
4026
+ OpenFisca_France-167.0.2.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4027
+ OpenFisca_France-167.0.2.dist-info/METADATA,sha256=hKFI6ojFa0vvuCzHIqgEoOMOm711jtuzx0pTBZfRf1o,20517
4028
+ OpenFisca_France-167.0.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
4029
+ OpenFisca_France-167.0.2.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4030
+ OpenFisca_France-167.0.2.dist-info/RECORD,,
@@ -0,0 +1,29 @@
1
+ from openfisca_france.model.base import Variable, MONTH, Individu
2
+ from numpy import datetime64
3
+
4
+
5
+ class pass_colo(Variable):
6
+ label = 'Éligibilité au Pass colo'
7
+ definition_period = MONTH
8
+ value_type = float
9
+ reference = ['https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000049339145',
10
+ 'https://www.jeunes.gouv.fr/passcolo']
11
+ entity = Individu
12
+ documentation = '''
13
+ Modélisation (2024) :
14
+ - Avoir un enfant né(e) en 2013, il/elle souhaite partir en colonie de vacances et le quotient familial est égal ou inférieur à 1500€.
15
+ '''
16
+
17
+ def formula_2024_01(individu, period, parameters):
18
+ parametres = parameters(period).prestations_sociales.education.pass_colo
19
+ annee_naissance_enfant = datetime64(str(parametres.annee_naissance_enfant))
20
+ annee_naissance_eligible = any(annee_naissance_enfant == year.astype('datetime64[Y]') for year in individu.famille.members('date_naissance', period))
21
+
22
+ rfr = individu.foyer_fiscal('rfr', period.n_2)
23
+ nbptr = individu.foyer_fiscal('nbptr', period.n_2)
24
+ quotient_familial = rfr / nbptr
25
+
26
+ modalites = parametres.montants
27
+ montant = modalites.calc(quotient_familial)
28
+
29
+ return montant * annee_naissance_eligible
@@ -0,0 +1,10 @@
1
+ description: Condition de date de naissance en 2013 pour l'enfant
2
+ values:
3
+ 2024-01-01:
4
+ value: 2013
5
+ metadata:
6
+ short_label: Année de naissance de l'enfant
7
+ unit: year
8
+ reference:
9
+ 2024-03-29:
10
+ href: https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000049339146
@@ -0,0 +1,10 @@
1
+ description: Le Pass colo permettant de rendre accessibles les départs en colonies de vacances
2
+ metadata:
3
+ short_label: PassColo
4
+ reference:
5
+ 2024-03-28:
6
+ title: Décret n° 2024-277 du 28 mars 2024 relatif au « Pass'colo »
7
+ href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000049339141
8
+ order:
9
+ - montants
10
+ - annee_naissance_enfant
@@ -0,0 +1,46 @@
1
+ description: Montant du Pass Colo
2
+ brackets:
3
+ - threshold:
4
+ 2024-01-01:
5
+ value: 0
6
+ amount:
7
+ 2024-01-01:
8
+ value: 350
9
+ - threshold:
10
+ 2024-01-01:
11
+ value: 201
12
+ amount:
13
+ 2024-01-01:
14
+ value: 300
15
+ - threshold:
16
+ 2024-01-01:
17
+ value: 701
18
+ amount:
19
+ 2024-01-01:
20
+ value: 250
21
+ - threshold:
22
+ 2024-01-01:
23
+ value: 1200
24
+ amount:
25
+ 2024-01-01:
26
+ value: 200
27
+ - threshold:
28
+ 2024-01-01:
29
+ value: 1500
30
+ amount:
31
+ 2024-01-01:
32
+ value: 200
33
+ - threshold:
34
+ 2024-01-01:
35
+ value: 1501
36
+ amount:
37
+ 2024-01-01:
38
+ value: 0
39
+ metadata:
40
+ short_label: Montant
41
+ reference:
42
+ 2024-03-28:
43
+ title: Décret n° 2024-277 du 28 mars 2024 relatif au « Pass'colo »
44
+ href: https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000049339145
45
+ threshold_unit: year
46
+ type: single_amount