OpenFisca-France 168.0.0__py3-none-any.whl → 168.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,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 168.0.2 [2336](https://github.com/openfisca/openfisca-france/pull/2336)
4
+
5
+ * Changement mineur.
6
+ * Périodes concernées : à partir du 2024-01-01.
7
+ * Zones impactées : `model.prestations.prestations_familiales.aeeh`.
8
+ * Détails :
9
+ - Remplacement de janvier par `period` pour récupérer l'`age`, `en_couple` et `handicap`.
10
+
11
+ ## 168.0.1 [2332](https://github.com/openfisca/openfisca-france/pull/2332)
12
+
13
+ * Changement mineur.
14
+ * Périodes concernées : toutes.
15
+ * Zones impactées :
16
+ - `openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/*`
17
+
18
+ * Détails :
19
+ - Met à jour la description
20
+ - Ajoute une référence, le `short_label` et `last_value_still_valid_on`
21
+
3
22
  ## 168.0.0 [2331](https://github.com/openfisca/openfisca-france/pull/2331)
4
23
 
5
24
  * Amélioration technique.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 168.0.0
3
+ Version: 168.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-168.0.0.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=-qlLMfpTJHyj9lqToFCTucYmN0ELSHojsmobBEsM5M0,446389
2
- OpenFisca_France-168.0.0.data/data/share/openfisca/openfisca-france/README.md,sha256=nIa6V4zevZpj2DX1rcpgs6AATTerCCy4622S1D3-CDI,18642
1
+ OpenFisca_France-168.0.2.data/data/share/openfisca/openfisca-france/CHANGELOG.md,sha256=wf9VG--OjgsXGJf9Jc2i9i1QIKhbLYHNPDfWQizL4vU,447087
2
+ OpenFisca_France-168.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
@@ -126,7 +126,7 @@ openfisca_france/model/prestations/minima_sociaux/cs/css.py,sha256=aWKN99IF-xWYV
126
126
  openfisca_france/model/prestations/minima_sociaux/cs/eligibilite.py,sha256=3Y4eAlMUk3zPlA6SkBHGfTpPz3UALwk1BXEG3i4IF9o,1612
127
127
  openfisca_france/model/prestations/minima_sociaux/cs/ressources.py,sha256=IbxBHslyqPHQRs1cjvQ9ax84QyERgTzKIzrJNt1urm0,7552
128
128
  openfisca_france/model/prestations/prestations_familiales/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
129
- openfisca_france/model/prestations/prestations_familiales/aeeh.py,sha256=6a0KZq3hG1O1SvFJGdF1etq0yzcmEU3TNiY9wCENkDQ,5574
129
+ openfisca_france/model/prestations/prestations_familiales/aeeh.py,sha256=3rJg62yCMOYJ0iaj7tnAHDwXIOMLC3_sU5RT0qaWvqA,5526
130
130
  openfisca_france/model/prestations/prestations_familiales/af.py,sha256=HWvFcxV2hETSrrTHLgAYZmNBrO8aN22OJYI4zwj-B1c,18369
131
131
  openfisca_france/model/prestations/prestations_familiales/ars.py,sha256=mW3gyOTtC3oWOdZeB23WUHZml0fCyLoIBVRPwX-k33k,5344
132
132
  openfisca_france/model/prestations/prestations_familiales/asf.py,sha256=0eZiUM6kUGKFrNB-J-ebVdQEiTfNG3VWSFgdUEOBtxg,3581
@@ -886,11 +886,11 @@ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/ab
886
886
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/max.yaml,sha256=H79qPbTO3YKZCTa-fFaxNjmV4s6Fw72KWWHPrg4KkFc,8916
887
887
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min.yaml,sha256=luM5f3hH5yjidN7pD2ILQA8NR67oeM9BcHMMi8Szb8s,6796
888
888
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min2.yaml,sha256=6S5OKpeXtQiTqBiURl8Z4NFSn1rm9AIayTl5F3hSVn0,4442
889
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/index.yaml,sha256=8RGJdwFdPsQjuQUIoB1rb5g5DQghMNSw22FpxG5Pe6o,48
890
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux1.yaml,sha256=izeXfKj_K4cTJWda39RDy2qj-7nFIVjA496zPhshHeM,87
891
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux2.yaml,sha256=5dijASMwaEDHysCXoKAcfQZWNEqn9ZrtLZXdnS25vds,87
892
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux3.yaml,sha256=WKlnHmV6vQbyx3BK3a5q71DiQgukesTp4UyUAiFipQg,87
893
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux4.yaml,sha256=hEVVNos4qolQV88BVhiUPwiuDaN3iKzvdUijZaDJclc,91
889
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/index.yaml,sha256=VcPGmLuGNogHwg58ivW2SIHNzbwMQcYPMY1ad5CLyW8,99
890
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux1.yaml,sha256=8KP65wZuc90TOFHCc9Rkw5hU6qahs33wziqaf2O5wPQ,392
891
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux2.yaml,sha256=_-EhJUn_wuH7jhy7M4hJxFqogEjT--3oNy_qsCY99Wg,415
892
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux3.yaml,sha256=eDA02d29DERhKJaZzShOEYPsPXeuyNGNe5JYPSdNZjQ,416
893
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux4.yaml,sha256=CEcIhCY91QBAVP8x9ZwgFKYjolfFGLueiwhA4-xuaSk,421
894
894
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/exo_ir/index.yaml,sha256=vL36RKug6rqOrsHF2g4B2N_k9y7RNeD4iTZ14HUfAFo,219
895
895
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/exo_ir/conditions_ressources_exoneration_ir/apprentis_a_partir_2005.yaml,sha256=6hZK9B2JdvSynKIwjteDVfSk_z-ItPtnLDhNTkasmTY,623
896
896
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/exo_ir/conditions_ressources_exoneration_ir/apprentis_avant_2005.yaml,sha256=CYC8Yj1PZnNTGcG9tIkx_y9weCF5x0dQ8F5ocCy26Ic,2192
@@ -4015,8 +4015,8 @@ tests/test_parameters.py,sha256=9ByrtcJpaV32qCE-u4FY4fzCugFUW8utc5_KUAmYKG8,354
4015
4015
  tests/test_preprocessing.py,sha256=BBMFR4GlFFqu86XfVcrHRbps_SpoWb1QS1lmu3c5bCE,6973
4016
4016
  tests/test_scenarios.py,sha256=A7SmVt_iyDTbNTE45WgGQlQZkJ0uJ1ZGUhTV3ziwLUw,1009
4017
4017
  tests/test_tax_rates.py,sha256=B_CnSIqCijGYkKW7XVZlF8uot0otNJ-Sq-DKINPATfA,1551
4018
- OpenFisca_France-168.0.0.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4019
- OpenFisca_France-168.0.0.dist-info/METADATA,sha256=E_XhzkfTgeCDBW4XV1JZdBofRPG-zOow8f3Aj0qehCk,20517
4020
- OpenFisca_France-168.0.0.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
4021
- OpenFisca_France-168.0.0.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4022
- OpenFisca_France-168.0.0.dist-info/RECORD,,
4018
+ OpenFisca_France-168.0.2.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4019
+ OpenFisca_France-168.0.2.dist-info/METADATA,sha256=hHs8WwDVwQWWE9TzYv_NEEL1VpgPWaeCmMwFChduL3I,20517
4020
+ OpenFisca_France-168.0.2.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
4021
+ OpenFisca_France-168.0.2.dist-info/top_level.txt,sha256=hmd7WhmLN_CyB52sP702pN9WlJqO9YMVuzeBRNp3hfs,23
4022
+ OpenFisca_France-168.0.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (71.1.0)
2
+ Generator: setuptools (72.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -13,7 +13,7 @@ class aeeh(Variable):
13
13
  value_type = float
14
14
  entity = Famille
15
15
  label = "Allocation d'éducation de l'enfant handicapé"
16
- reference = 'http://vosdroits.service-public.fr/particuliers/N14808.xhtml'
16
+ reference = 'https://www.service-public.fr/particuliers/vosdroits/F14809'
17
17
  definition_period = MONTH
18
18
  set_input = set_input_divide_by_period
19
19
  calculate_output = calculate_output_add
@@ -21,7 +21,7 @@ class aeeh(Variable):
21
21
  def formula_2006_01_01(famille, period, parameters):
22
22
  '''Allocation d'éducation de l'enfant handicapé.
23
23
 
24
- Rremplace l'allocation d'éducation spéciale (AES) depus le 1er janvier 2006.
24
+ Remplace l'allocation d'éducation spéciale (AES) depuis le 1er janvier 2006.
25
25
  Ce montant peut être majoré par un complément accordé par la Cdaph qui prend en compte :
26
26
  le coût du handicap de l'enfant,
27
27
  la cessation ou la réduction d'activité professionnelle d'un ou l'autre des deux parents,
@@ -29,22 +29,20 @@ class aeeh(Variable):
29
29
  Une majoration est versée au parent isolé bénéficiaire d'un complément d'Aeeh lorsqu'il cesse ou réduit
30
30
  son activité professionnelle ou lorsqu'il embauche une tierce personne rémunérée.
31
31
  '''
32
- janvier = period.this_year.first_month
33
- isole = not_(famille('en_couple', janvier))
32
+ isole = not_(famille('en_couple', period))
34
33
  prestations_familiales = parameters(period).prestations_sociales.prestations_familiales
35
34
 
36
35
  base = prestations_familiales.education_presence_parentale.aeeh.base
37
36
  complement_d_allocation = prestations_familiales.education_presence_parentale.aeeh.complement_allocation
38
37
  majoration = prestations_familiales.education_presence_parentale.aeeh.majoration_parent_isole
39
38
 
40
- age = famille.members('age', janvier)
41
- handicap = famille.members('handicap', janvier)
39
+ age = famille.members('age', period)
40
+ handicap = famille.members('handicap', period)
42
41
  niveau_handicap = famille.members('aeeh_niveau_handicap', period)
42
+
43
43
  # Indicatrice d'isolement pour les indidivus
44
44
  isole = famille.project(isole)
45
-
46
45
  enfant_handicape = handicap * (age < prestations_familiales.education_presence_parentale.aeeh.age_maximum_enfant)
47
-
48
46
  montant_par_enfant = enfant_handicape * prestations_familiales.bmaf.bmaf * (
49
47
  base
50
48
  + (niveau_handicap == 1) * complement_d_allocation._children['1ere_categorie']
@@ -81,7 +79,7 @@ class aes(Variable):
81
79
 
82
80
  def formula_2002_04_01(famille, period, parameters):
83
81
  janvier = period.this_year.first_month
84
- isole = not_(famille('en_couple', janvier))
82
+ # isole = not_(famille('en_couple', janvier))
85
83
  prestations_familiales = parameters(period).prestations_sociales.prestations_familiales
86
84
 
87
85
  base = prestations_familiales.education_presence_parentale.aes.base
@@ -92,7 +90,7 @@ class aes(Variable):
92
90
  handicap = famille.members('handicap', janvier)
93
91
  niveau_handicap = famille.members('aeeh_niveau_handicap', period)
94
92
  # Indicatrice d'isolement pour les indidivus
95
- isole = famille.project(isole)
93
+ # isole = famille.project(isole)
96
94
 
97
95
  enfant_handicape = handicap * (age < prestations_familiales.education_presence_parentale.aes.age_maximum_enfant)
98
96
 
@@ -1 +1 @@
1
- description: Rentes viagères à titre onéreux
1
+ description: Taux de déduction des revenus imposables pour les rentes viagères à titre onéreux
@@ -1,6 +1,12 @@
1
- description: Moins de 50 ans
1
+ description: Taux imposable pour les rentes viagères des personnes de moins de 50 ans
2
2
  values:
3
- 2002-01-01:
3
+ 1979-07-01:
4
4
  value: 0.7
5
5
  metadata:
6
+ last_value_still_valid_on: "2024-07-30"
6
7
  unit: /1
8
+ short_label: Moins de 50 ans
9
+ reference:
10
+ 1979-07-01:
11
+ title: Art. 158 du Code général des impôts
12
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006307959/1979-07-01/
@@ -1,6 +1,12 @@
1
- description: De 50 à 59 ans
1
+ description: Taux imposable pour les rentes viagères à titre onéreux des personnes âgées de 50 à 59 ans
2
2
  values:
3
- 2002-01-01:
3
+ 1979-07-01:
4
4
  value: 0.5
5
5
  metadata:
6
+ last_value_still_valid_on: "2024-07-30"
6
7
  unit: /1
8
+ short_label: De 50 à 59 ans
9
+ reference:
10
+ 1979-07-01:
11
+ title: Art. 158 du Code général des impôts
12
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042978882/1979-07-01/
@@ -1,6 +1,12 @@
1
- description: De 60 à 69 ans
1
+ description: Taux imposables pour les rentes viagères à titre onéreux des personnes âgées de 60 à 69 ans
2
2
  values:
3
- 2002-01-01:
3
+ 1979-07-01:
4
4
  value: 0.4
5
5
  metadata:
6
+ last_value_still_valid_on: "2024-07-30"
6
7
  unit: /1
8
+ short_label: De 60 à 69 ans
9
+ reference:
10
+ 1979-07-01:
11
+ title: Art. 158 du Code général des impôts
12
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042978882/1979-07-01/
@@ -1,6 +1,12 @@
1
- description: À partir de 70 ans
1
+ description: Taux imposables pour les rentes viagères à titre onéreux des personnes âgées de plus de 70 ans
2
2
  values:
3
- 2002-01-01:
3
+ 1979-07-01:
4
4
  value: 0.3
5
5
  metadata:
6
+ last_value_still_valid_on: "2024-07-30"
6
7
  unit: /1
8
+ short_label: A partir de 70 ans
9
+ reference:
10
+ 1979-07-01:
11
+ title: Art. 158 du Code général des impôts
12
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042978882/1979-07-01/