OpenFisca-France-Local 6.17.0__py3-none-any.whl → 6.17.1__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.17.0
3
+ Version: 6.17.1
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.17.0.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
1
+ OpenFisca_France_Local-6.17.1.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
@@ -10,12 +10,12 @@ openfisca_france_local/simulation_reform.py,sha256=Ls1tTwOrsilIRtSHYG50FW2e44_Ss
10
10
  openfisca_france_local/test_dispositif.py,sha256=ceGZB4LTo4iqZn_c6GALHCadBwNO1bwZvGxhlZdSxUc,328
11
11
  openfisca_france_local/communes/alfortville/eligibilite.py,sha256=zcj9-0GuAHLzU4M5eS6Jvc3N6RMjHPGmEopFiHHDBE4,397
12
12
  openfisca_france_local/communes/alfortville/noel_enfants.py,sha256=pG7wB1do4AeE5udV_EuFRmV3EUBghsj5SappbpnfZDI,2898
13
- openfisca_france_local/communes/antony/antony_aide_depart_sejour_adapte.py,sha256=cnF4dzRQ-ZegU41sWjEsnSnRVg6tNQEeIezax5U4gi8,2037
13
+ openfisca_france_local/communes/antony/antony_aide_depart_sejour_adapte.py,sha256=JiPcv_B1PfuVjneIZdg-w9ZTxNCcZ7WNf5dspcLgh8k,2086
14
14
  openfisca_france_local/communes/antony/antony_bourse_communale.py,sha256=JkktWdtUbZLeYVDlkI_aB6Zp6sZfT1uWQCw61mAmFrs,1016
15
15
  openfisca_france_local/communes/antony/antony_bourse_conservatoire.py,sha256=AAsoM1GbNBnDdMOhiIiZ8giKszjMs7d5r7hJa-UJ2GQ,951
16
16
  openfisca_france_local/communes/antony/antony_bourse_famille_nombreuse.py,sha256=gs7Jq5HRC5klSzP0HeQKgDYfeM5RdI1cJ0_LHzEBnqY,1080
17
- openfisca_france_local/communes/antony/antony_noel_pour_tous.py,sha256=2Xeo6Bodz0myP5O__nF8BQCwu-2fBQVgbew2OA7TKQE,887
18
- openfisca_france_local/communes/antony/base_ressources.py,sha256=cDSUDZWNYD-OG708c9j4ZjA1vQYmEULbI7O52SZkjig,3062
17
+ openfisca_france_local/communes/antony/antony_noel_pour_tous.py,sha256=EWN5_FozkWecO_bjWwuk5g5P4CjAE5phPsYrjCK70eU,887
18
+ openfisca_france_local/communes/antony/base_ressources.py,sha256=GfZ9aIgEFo8fth7RSXJJA_hTrhgs87O_u6EOjk_dxRA,3010
19
19
  openfisca_france_local/communes/antony/eligibilite.py,sha256=8ogbRRd4wn2XMTKqat8aE9ZbI55Nbh4sNmLd1XKvWo8,388
20
20
  openfisca_france_local/communes/cambrai/aide_permis.py,sha256=AiRrJH-NoSSDohe6jX4Sk-gIWTgNzmKaKRgswyvAfsQ,1217
21
21
  openfisca_france_local/communes/carcassonne/aide_permis.py,sha256=CfvA1YFcousdxZETqYEKDoayd_BhMFcnfyC-VcE89mY,1145
@@ -204,7 +204,7 @@ tests/communes/alfortville/noel_enfants_base_ressource.yml,sha256=-IXtEfB0OoMDEK
204
204
  tests/communes/antony/aide_bourse_communale.yml,sha256=b-FBsWybl43i-z3itwM9vErK8DvSGgQ26VWiUW3JxlU,3301
205
205
  tests/communes/antony/aide_bourse_conservatoire.yml,sha256=QmP9jwSEzWqOLIiFaVv2n8KCM1jlqMMEZDQIMzdSv2c,2568
206
206
  tests/communes/antony/aide_bourse_famille_nombreuse.yml,sha256=PTkR7lBOMODEAq8bmGZOV8Xx66-1lJ-WEe3nIO4Ak98,2911
207
- tests/communes/antony/aide_depart_sejour_adapte.yml,sha256=rFrPJWRrkI-grYgL1QH7TkybuESEg3wPYzshlluZCIE,601
207
+ tests/communes/antony/aide_depart_sejour_adapte.yml,sha256=9jdPZaSqVRoFeggorz9g74lbIRoejxaXHUJX6DCtNag,2457
208
208
  tests/communes/antony/antony_noel_pour_tous.yml,sha256=BWjb4S7D14zQix5wPvbJqI-A6OG8ad7RerX-I0zgzl8,1696
209
209
  tests/communes/antony/base_ressources.yml,sha256=M7-FvWoMtklVCZ9YwNzyru1RucvQvOU-a4zIR5csRd4,12577
210
210
  tests/communes/antony/eligibilite.yml,sha256=syWbpvjPMwJZBnI-YLaQTFnzeKtQAaLzncIaOCsmfOw,145
@@ -283,8 +283,8 @@ tests/regions/occitanie/carte_jeune_region.yml,sha256=t86RNkSuBYr2fEt60WZi0R115n
283
283
  tests/regions/occitanie/carte_transport_scolaire.yml,sha256=ZzVRWnH6i9nni7hatdfUX0ltcWR2BCwh4BLP7UpKuZE,318
284
284
  tests/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.yml,sha256=zAI_NBTfsP_Q72pDabN2ChQnpK98xasXetIQJmq6LTc,439
285
285
  tests/regions/pays_de_la_loire/epass_jeunes_culture_sport.yaml,sha256=vgdq2hFtBWYWHHmO70bPV0lR_0wohJfmJGQb48A0EpQ,336
286
- OpenFisca_France_Local-6.17.0.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
287
- OpenFisca_France_Local-6.17.0.dist-info/METADATA,sha256=lJc7UU5YO9aEzyD4wjhgDxKFP3oKbcxHl0PyYJ_Mhs8,1166
288
- OpenFisca_France_Local-6.17.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
289
- OpenFisca_France_Local-6.17.0.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
290
- OpenFisca_France_Local-6.17.0.dist-info/RECORD,,
286
+ OpenFisca_France_Local-6.17.1.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
287
+ OpenFisca_France_Local-6.17.1.dist-info/METADATA,sha256=SKD3aazXoOskH0o7TGmnhXRCm5FcYq_hzGX4Cc0fGJU,1166
288
+ OpenFisca_France_Local-6.17.1.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
289
+ OpenFisca_France_Local-6.17.1.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
290
+ OpenFisca_France_Local-6.17.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.5.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -13,9 +13,9 @@ class antony_aide_depart_sejour_adapte(Variable):
13
13
 
14
14
  condition_ressources_remplies = famille('antony_eligibilite_ressources', period)
15
15
 
16
- handicap = famille.members('handicap', period)
16
+ nb_enfants_handicapes = famille.sum(famille.members('handicap', period), role = Famille.ENFANT)
17
17
  montant_individuel = famille('antony_aide_depart_sejour_adapte_montant_individuel', period)
18
- montant_total = famille.sum(montant_individuel * handicap)
18
+ montant_total = montant_individuel * nb_enfants_handicapes
19
19
 
20
20
  return residence_antony * condition_ressources_remplies * montant_total
21
21
 
@@ -7,7 +7,7 @@ class antony_noel_pour_tous(Variable):
7
7
  entity = Famille
8
8
  definition_period = MONTH
9
9
  label = "Éligibilité de la famille au Noël pour Tous de la ville de Antony"
10
- reference = "https://www.ville-antony.fr/actualites/noel-ccas-2023"
10
+ reference = "https://www.ville-antony.fr/actualites/noel-ccas-2024"
11
11
 
12
12
  def formula(famille, period, parameters):
13
13
  age_maximum = parameters(period).communes.antony.noel_pour_tous.age_maximum
@@ -9,9 +9,6 @@ class antony_base_ressources(Variable):
9
9
  label = "Base ressources d'une famille aux dispositifs d'Antony"
10
10
 
11
11
  def formula(famille, period, parameters):
12
- # N-1
13
- last_year = period.last_year
14
-
15
12
  # M-1 to M-3
16
13
  last_three_months = period.last_3_months
17
14
 
@@ -5,12 +5,93 @@
5
5
  output:
6
6
  antony_aide_depart_sejour_adapte_montant_individuel: [600, 300, 0]
7
7
 
8
- - name: Aide-départ-séjour-adapté
8
+ - name: Aide-départ-séjour-adapté-tranche-2
9
9
  period: 2021-11
10
10
  input:
11
- antony_eligibilite_residence: [true, false, true, true, true]
12
- handicap: [true, true, false, true, true]
13
- antony_eligibilite_ressources: [true, true, true, false, true]
14
- antony_aide_depart_sejour_adapte_montant_individuel: [300, 300, 300, 300, 600]
11
+ famille:
12
+ parents: [parent1, parent2]
13
+ enfants: [enfant1, enfant2, enfant3]
14
+ antony_aide_depart_sejour_adapte_montant_individuel: 600
15
+ individus:
16
+ parent1:
17
+ age: 52
18
+ parent2:
19
+ age: 50
20
+ enfant1:
21
+ age: 15
22
+ enfant2:
23
+ age: 16
24
+ enfant3:
25
+ date_naissance: 2018-04-01
26
+ handicap: true
27
+ menage:
28
+ personne_de_reference: parent1
29
+ conjoint: parent2
30
+ enfants: [enfant1, enfant2, enfant3]
31
+ antony_eligibilite_residence: true
32
+ foyer_fiscal:
33
+ declarants: [parent1, parent2]
34
+ personnes_a_charge: [enfant1, enfant2, enfant3]
15
35
  output:
16
- antony_aide_depart_sejour_adapte: [300, 0, 0, 0, 600]
36
+ antony_aide_depart_sejour_adapte: 600
37
+
38
+ - name: Aide-départ-séjour-adapté-tranche-1
39
+ period: 2021-11
40
+ input:
41
+ famille:
42
+ parents: [parent1, parent2]
43
+ enfants: [enfant1, enfant2, enfant3]
44
+ antony_aide_depart_sejour_adapte_montant_individuel: 300
45
+ individus:
46
+ parent1:
47
+ age: 52
48
+ parent2:
49
+ age: 50
50
+ enfant1:
51
+ age: 15
52
+ enfant2:
53
+ age: 16
54
+ enfant3:
55
+ date_naissance: 2018-04-01
56
+ handicap: true
57
+ menage:
58
+ personne_de_reference: parent1
59
+ conjoint: parent2
60
+ enfants: [enfant1, enfant2, enfant3]
61
+ antony_eligibilite_residence: true
62
+ foyer_fiscal:
63
+ declarants: [parent1, parent2]
64
+ personnes_a_charge: [enfant1, enfant2, enfant3]
65
+
66
+ output:
67
+ antony_aide_depart_sejour_adapte: 300
68
+
69
+ - name: Aide-départ-séjour-adapté-tranche-1
70
+ period: 2021-11
71
+ input:
72
+ famille:
73
+ parents: [parent1, parent2]
74
+ enfants: [enfant1, enfant2, enfant3]
75
+ antony_aide_depart_sejour_adapte_montant_individuel: 300
76
+ individus:
77
+ parent1:
78
+ age: 52
79
+ parent2:
80
+ age: 50
81
+ enfant1:
82
+ age: 15
83
+ enfant2:
84
+ age: 16
85
+ enfant3:
86
+ date_naissance: 2018-04-01
87
+ menage:
88
+ personne_de_reference: parent1
89
+ conjoint: parent2
90
+ enfants: [enfant1, enfant2, enfant3]
91
+ antony_eligibilite_residence: true
92
+ foyer_fiscal:
93
+ declarants: [parent1, parent2]
94
+ personnes_a_charge: [enfant1, enfant2, enfant3]
95
+
96
+ output:
97
+ antony_aide_depart_sejour_adapte: 0