OpenFisca-France-Local 6.17.2__py3-none-any.whl → 6.17.3__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.2
3
+ Version: 6.17.3
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.2.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
1
+ OpenFisca_France_Local-6.17.3.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
@@ -24,8 +24,8 @@ openfisca_france_local/communes/illkirch_graffenstaden/base.py,sha256=L90ys8g0jd
24
24
  openfisca_france_local/communes/iwuy/aide_permis.py,sha256=Xr-5NCWux1Hk4oFGurkWFkIFyEhxVDWYsR1hszzngvQ,933
25
25
  openfisca_france_local/communes/le_cateau/aide_permis.py,sha256=Ms2PKH-35eZc0ibbRbVIjOLc5gIwS0aHHdZh-ef20FI,1238
26
26
  openfisca_france_local/communes/les_rues_des_vignes/aide_permis.py,sha256=bPTeIT7ap4suySmzKBXDOORDmFpBaNyCQMuL-LFVQqg,1058
27
- openfisca_france_local/communes/montpellier/eligibilite.py,sha256=aC3UfG7dZ9qHFa_DPVqUHKJJC4IwZYV5YPh4zQatAzk,360
28
- openfisca_france_local/communes/montpellier/montpellier_mutuelle_communale.py,sha256=h4i5HTuHoGMwh7O1m8hxyN5ul4-KjaI1qszEPNe6J28,764
27
+ openfisca_france_local/communes/montpellier/eligibilite_metropole_mutuelle.py,sha256=WZivgwHGxObQBvlh6VcPpZnBY9vzb59ZfbmGJ7O_a5I,798
28
+ openfisca_france_local/communes/montpellier/montpellier_mutuelle_communale.py,sha256=AN9mdpk2AKHEulBS1O-k1p5Pjm5iy_bEgKcxkljAnuM,773
29
29
  openfisca_france_local/communes/nantes/aide_carte_blanche.py,sha256=uGs6HUZgJzuqddClJIuVU9l731ZjVCKQTW9RWRCNhtc,871
30
30
  openfisca_france_local/communes/saint_louis/eligibilite.py,sha256=UoTy7S7WABNTMcEVZai-vhj-mC5gyhcsW456dw7-iyg,398
31
31
  openfisca_france_local/departements/cotes_d_armor/eligibilite.py,sha256=8-qOmLSEc2i9jcKOkM-AD1s9Ug9GeWxsgguym7t8WkE,448
@@ -287,8 +287,8 @@ tests/regions/occitanie/carte_jeune_region.yml,sha256=t86RNkSuBYr2fEt60WZi0R115n
287
287
  tests/regions/occitanie/carte_transport_scolaire.yml,sha256=ZzVRWnH6i9nni7hatdfUX0ltcWR2BCwh4BLP7UpKuZE,318
288
288
  tests/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.yml,sha256=zAI_NBTfsP_Q72pDabN2ChQnpK98xasXetIQJmq6LTc,439
289
289
  tests/regions/pays_de_la_loire/epass_jeunes_culture_sport.yaml,sha256=vgdq2hFtBWYWHHmO70bPV0lR_0wohJfmJGQb48A0EpQ,336
290
- OpenFisca_France_Local-6.17.2.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
291
- OpenFisca_France_Local-6.17.2.dist-info/METADATA,sha256=s0RdzXyUfTXyJJVD3xk9NFdk_svJbZ7_rIpdrn1pwwg,1159
292
- OpenFisca_France_Local-6.17.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
293
- OpenFisca_France_Local-6.17.2.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
294
- OpenFisca_France_Local-6.17.2.dist-info/RECORD,,
290
+ OpenFisca_France_Local-6.17.3.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
291
+ OpenFisca_France_Local-6.17.3.dist-info/METADATA,sha256=qqA5npgKnSn8IoNxDsFojyriF1bgWdexFbdQ4dnwu9g,1159
292
+ OpenFisca_France_Local-6.17.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
293
+ OpenFisca_France_Local-6.17.3.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
294
+ OpenFisca_France_Local-6.17.3.dist-info/RECORD,,
@@ -0,0 +1,18 @@
1
+ from openfisca_france.model.base import Menage, MONTH, Variable
2
+
3
+ class montpellier_mutuelle_eligibilite_residence(Variable):
4
+ value_type = bool
5
+ entity = Menage
6
+ definition_period = MONTH
7
+ label = "Éligibilité résidentielle d'un ménage à la mutuelle communale de la métropole de Montpellier"
8
+ reference = "https://encommun.montpellier.fr/articles/2024-12-19-lagence-de-la-mutuelle-communale-de-montpellier-est-ouverte"
9
+
10
+ def formula(menage, period):
11
+ return sum(menage('depcom', period) == code for code in [
12
+ b'34172', # Montpellier
13
+ b'34077', # Clapiers
14
+ b'34090', # Le Crès
15
+ b'34179', # Murviel-lès-Montpellier
16
+ b'34256', # Saint-Geniès-des-Mourgues
17
+ b'34307' # Sussargues
18
+ ]) > 0
@@ -10,7 +10,7 @@ class montpellier_mutuelle_communale(Variable):
10
10
  ]
11
11
 
12
12
  def formula(famille, period):
13
- eligibilite_residentielle = famille.demandeur.menage('montpellier_eligibilite_residence', period)
13
+ eligibilite_residentielle = famille.demandeur.menage('montpellier_mutuelle_eligibilite_residence', period)
14
14
  css_participation_forfaitaire = famille('css_participation_forfaitaire', period)
15
15
  cmu_c = famille('cmu_c', period)
16
16
  eligibilite_css_cmu_c = (css_participation_forfaitaire > 0) | cmu_c
@@ -1,10 +0,0 @@
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'