OpenFisca-France-Local 6.17.3__py3-none-any.whl → 6.17.5__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.

@@ -0,0 +1,10 @@
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'
@@ -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_mutuelle_eligibilite_residence', period)
13
+ eligibilite_residentielle = famille.demandeur.menage('montpellier_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,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: OpenFisca-France-Local
3
- Version: 6.17.3
3
+ Version: 6.17.5
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
@@ -24,3 +24,14 @@ Provides-Extra: test
24
24
  Requires-Dist: nose; extra == "test"
25
25
  Provides-Extra: excel-reader
26
26
  Requires-Dist: openpyxl==3.1.2; extra == "excel-reader"
27
+ Dynamic: author
28
+ Dynamic: author-email
29
+ Dynamic: classifier
30
+ Dynamic: description-content-type
31
+ Dynamic: home-page
32
+ Dynamic: keywords
33
+ Dynamic: license
34
+ Dynamic: license-file
35
+ Dynamic: provides-extra
36
+ Dynamic: requires-dist
37
+ Dynamic: summary
@@ -1,4 +1,3 @@
1
- OpenFisca_France_Local-6.17.3.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
2
1
  openfisca_france_local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
2
  openfisca_france_local/aides_jeunes_reform.py,sha256=2Kf9AUH_oOelsfU8nKuzamX1X9VyJlImlJ35RrVqbDA,19055
4
3
  openfisca_france_local/convert_benefit_conditions_to_parameters.py,sha256=qMQNMQKJh-m77KWvbAaMxO2VHB8SwUtVw80c7r7YeFc,6304
@@ -24,8 +23,8 @@ openfisca_france_local/communes/illkirch_graffenstaden/base.py,sha256=L90ys8g0jd
24
23
  openfisca_france_local/communes/iwuy/aide_permis.py,sha256=Xr-5NCWux1Hk4oFGurkWFkIFyEhxVDWYsR1hszzngvQ,933
25
24
  openfisca_france_local/communes/le_cateau/aide_permis.py,sha256=Ms2PKH-35eZc0ibbRbVIjOLc5gIwS0aHHdZh-ef20FI,1238
26
25
  openfisca_france_local/communes/les_rues_des_vignes/aide_permis.py,sha256=bPTeIT7ap4suySmzKBXDOORDmFpBaNyCQMuL-LFVQqg,1058
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
26
+ openfisca_france_local/communes/montpellier/eligibilite.py,sha256=aC3UfG7dZ9qHFa_DPVqUHKJJC4IwZYV5YPh4zQatAzk,360
27
+ openfisca_france_local/communes/montpellier/montpellier_mutuelle_communale.py,sha256=h4i5HTuHoGMwh7O1m8hxyN5ul4-KjaI1qszEPNe6J28,764
29
28
  openfisca_france_local/communes/nantes/aide_carte_blanche.py,sha256=uGs6HUZgJzuqddClJIuVU9l731ZjVCKQTW9RWRCNhtc,871
30
29
  openfisca_france_local/communes/saint_louis/eligibilite.py,sha256=UoTy7S7WABNTMcEVZai-vhj-mC5gyhcsW456dw7-iyg,398
31
30
  openfisca_france_local/departements/cotes_d_armor/eligibilite.py,sha256=8-qOmLSEc2i9jcKOkM-AD1s9Ug9GeWxsgguym7t8WkE,448
@@ -150,6 +149,8 @@ openfisca_france_local/regions/occitanie/carte_transport_scolaire.py,sha256=VgWJ
150
149
  openfisca_france_local/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.py,sha256=JfXYR1S3P0Wu5IPwFwTc8QwTU51ambex9-cf425eCAA,1515
151
150
  openfisca_france_local/regions/pays_de_la_loire/epass_jeunes_culture_sport.py,sha256=jLDoKJkOGz88Zi5qWWNkMBGIbYF5E7TsfI98H1WXOA4,1373
152
151
  openfisca_france_local/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
152
+ openfisca_france_local-6.17.5.data/scripts/openfisca_local_test,sha256=M55UQ5tskwZpJVLXGqlIcVs1nVZ2pBr_-R9jh-z2tbw,128
153
+ openfisca_france_local-6.17.5.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
153
154
  sources_du_droit/departements/eure_et_loir/adefip/Conditions d'éligibilité et montants AdéFIP.docx,sha256=-DU99XHLzlABVVBSMMKzkTX6oD_9LtO2Bc57pu4ruHw,14338
154
155
  sources_du_droit/departements/eure_et_loir/adefip/Réglement Departemental RSA-AdéFIP.pdf,sha256=KjZ5Tw2sMFLcT1dka1fByqfwTVgQJlLb14HqS2gFdZM,31138
155
156
  sources_du_droit/metropoles/toulouse/2019-06-19 tisseo_transport.pdf,sha256=4TPfzkI01DLkUt1rfE2NLON1ltYB-45Z_-1mvdQEwuk,1446241
@@ -287,8 +288,7 @@ tests/regions/occitanie/carte_jeune_region.yml,sha256=t86RNkSuBYr2fEt60WZi0R115n
287
288
  tests/regions/occitanie/carte_transport_scolaire.yml,sha256=ZzVRWnH6i9nni7hatdfUX0ltcWR2BCwh4BLP7UpKuZE,318
288
289
  tests/regions/occitanie/msa_midi_pyrenees_sud/aide_permis.yml,sha256=zAI_NBTfsP_Q72pDabN2ChQnpK98xasXetIQJmq6LTc,439
289
290
  tests/regions/pays_de_la_loire/epass_jeunes_culture_sport.yaml,sha256=vgdq2hFtBWYWHHmO70bPV0lR_0wohJfmJGQb48A0EpQ,336
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,,
291
+ openfisca_france_local-6.17.5.dist-info/METADATA,sha256=XICL9qqyqMrxj58MQNRhWGVDlsuS84kjNMdQY_ntvnU,1391
292
+ openfisca_france_local-6.17.5.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
293
+ openfisca_france_local-6.17.5.dist-info/top_level.txt,sha256=DPfQtZjavxRdHDsGTetqu5AEeVMEEBtG1qdv7ijuwWQ,56
294
+ openfisca_france_local-6.17.5.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (79.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,18 +0,0 @@
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