frenchplotlib 0.1.0__py3-none-any.whl → 0.3.0__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.
@@ -0,0 +1,212 @@
1
+ Metadata-Version: 2.4
2
+ Name: frenchplotlib
3
+ Version: 0.3.0
4
+ Summary: French-themed matplotlib markers and colormaps
5
+ Home-page: https://github.com/PhilZPhaZ/frenchplotlib
6
+ Author: philzphaz
7
+ Requires-Python: >=3.6
8
+ Description-Content-Type: text/markdown
9
+ Requires-Dist: matplotlib
10
+ Requires-Dist: numpy
11
+ Dynamic: author
12
+ Dynamic: home-page
13
+ Dynamic: requires-python
14
+
15
+ # 🥖 frenchplotlib
16
+
17
+ Une bibliothèque Python pour ajouter une touche française à vos visualisations matplotlib avec des marqueurs personnalisés et des palettes de couleurs inspirées de la France.
18
+
19
+ ## 📝 Description
20
+
21
+ **frenchplotlib** enrichit vos graphiques matplotlib avec :
22
+
23
+ - 🥐 **17 marqueurs personnalisés** en forme d'icônes françaises (baguette, croissant, vin, fromage, etc.)
24
+ - 🎨 **15 palettes de couleurs** inspirées de la culture française (tricolore, lavande de Provence, Bordeaux, etc.)
25
+
26
+ ## 🚀 Installation
27
+
28
+ ```bash
29
+ pip install frenchplotlib
30
+ ```
31
+
32
+ ## 📦 Prérequis
33
+
34
+ - Python >= 3.6
35
+ - matplotlib
36
+ - numpy
37
+
38
+ ## 💡 Utilisation
39
+
40
+ ### Marqueurs personnalisés
41
+
42
+ ```python
43
+ import matplotlib.pyplot as plt
44
+ import numpy as np
45
+ from frenchplotlib import baguetteplot
46
+
47
+ # Données d'exemple
48
+ x = np.linspace(-1, 1, 20)
49
+ y = np.sin(x)
50
+
51
+ # Utilisation d'un marqueur en forme de boule de pain
52
+ plt.figure(figsize=(10, 6))
53
+ plt.scatter(x, y, marker=baguetteplot.boule, s=500)
54
+ plt.title("Graphique avec marqueur français")
55
+ plt.show()
56
+ ```
57
+
58
+ ### Palettes de couleurs
59
+
60
+ ```python
61
+ import matplotlib.pyplot as plt
62
+ import numpy as np
63
+ from frenchplotlib import baguetteplot, dorures
64
+
65
+ # Données d'exemple
66
+ x = np.linspace(-1, 1, 20)
67
+ y = np.sin(x)
68
+
69
+ # Combinaison marqueur + palette de couleurs
70
+ plt.figure(figsize=(12, 6))
71
+ plt.scatter(x, y, c=y, marker=baguetteplot.boule, s=1000, cmap=dorures.escargot_persil)
72
+ plt.colorbar(label='Valeurs')
73
+ plt.title("Visualisation à la française")
74
+ plt.show()
75
+ ```
76
+
77
+ ## 🥐 Marqueurs disponibles (baguetteplot)
78
+
79
+ - `baguette` - Une baguette traditionnelle
80
+ - `pain_de_mie` - Pain de mie
81
+ - `croissant` - Croissant doré
82
+ - `pain_au_chocolat` - Pain au chocolat (ou chocolatine 😉)
83
+ - `boule` - Boule de pain
84
+ - `brioche` - Brioche dorée
85
+ - `bretzel` - Bretzel alsacien
86
+ - `fougasse` - Fougasse provençale
87
+ - `pita` - Pain pita
88
+ - `vin` - Verre de vin
89
+ - `fromage` - Morceau de fromage
90
+ - `eclair` - Éclair au chocolat
91
+ - `macaron` - Macaron parisien
92
+ - `camembert` - Camembert de Normandie
93
+ - `madeleine` - Madeleine de Proust
94
+ - `religieuse` - Religieuse au chocolat
95
+ - `escargot` - Escargot de Bourgogne
96
+
97
+ ## 🎨 Palettes de couleurs (dorures)
98
+
99
+ ### Palettes gourmandes
100
+
101
+ - `pain_dore` - Du blanc crème au brun doré
102
+ - `baguette_bien_cuite` - Dégradé de cuisson parfaite
103
+ - `croissant_beurre` - Or brillant et miel
104
+ - `fromage` - Palette des fromages français
105
+ - `macaron` - Couleurs pastel gourmandes
106
+
107
+ ### Palettes régionales
108
+
109
+ - `tricolore` - Drapeau français (bleu, blanc, rouge)
110
+ - `lavande` - Lavande de Provence
111
+ - `cote_azur` - Mer et ciel méditerranéens
112
+ - `bourgogne` - Couleurs d'automne bourguignonnes
113
+ - `versailles` - Or et splendeur royale
114
+
115
+ ### Palettes viticoles
116
+
117
+ - `bordeaux` - Du rosé au rouge profond
118
+ - `champagne` - Pétillant et doré
119
+
120
+ ### Palettes spéciales
121
+
122
+ - `escargot_persil` - Marron gris-vert
123
+ - `french_kiss` - Rouge passionnel
124
+ - `je_m_en_fous` - Gris perle élégant
125
+
126
+ ## 📊 Exemples avancés
127
+
128
+ ### Graphique multi-marqueurs
129
+
130
+ ```python
131
+ import matplotlib.pyplot as plt
132
+ import numpy as np
133
+ from frenchplotlib import baguetteplot, dorures
134
+
135
+ fig, ax = plt.subplots(figsize=(12, 8))
136
+
137
+ # Différents marqueurs
138
+ marqueurs = [baguetteplot.croissant, baguetteplot.vin, baguetteplot.fromage, baguetteplot.macaron]
139
+ couleurs = ['#FFD700', '#8B0000', '#F5DEB3', '#FFB6C1']
140
+ labels = ['Croissant', 'Vin', 'Fromage', 'Macaron']
141
+
142
+ for i, (marker, color, label) in enumerate(zip(marqueurs, couleurs, labels)):
143
+ x = np.random.randn(10) + i*2
144
+ y = np.random.randn(10) + i
145
+ ax.scatter(x, y, marker=marker, s=800, c=color, label=label, alpha=0.7)
146
+
147
+ ax.legend(loc='best')
148
+ ax.set_title('Les délices de France', fontsize=16)
149
+ plt.show()
150
+ ```
151
+
152
+ ### Heatmap avec palette française
153
+
154
+ ```python
155
+ import matplotlib.pyplot as plt
156
+ import numpy as np
157
+ from frenchplotlib import dorures
158
+
159
+ # Données aléatoires
160
+ data = np.random.rand(10, 10)
161
+
162
+ plt.figure(figsize=(10, 8))
163
+ plt.imshow(data, cmap=dorures.tricolore, aspect='auto')
164
+ plt.colorbar(label='Intensité')
165
+ plt.title('Heatmap tricolore')
166
+ plt.show()
167
+ ```
168
+
169
+ ## 🛠️ Développement
170
+
171
+ ### Installation en mode développement
172
+
173
+ ```bash
174
+ git clone https://github.com/PhilZPhaZ/frenchplotlib.git
175
+ cd frenchplotlib
176
+ pip install -e .
177
+ ```
178
+
179
+ ### Structure du projet
180
+
181
+ ```
182
+ frenchplotlib/
183
+ ├── frenchplotlib/
184
+ │ ├── __init__.py
185
+ │ ├── baguetteplot.py # Marqueurs personnalisés
186
+ │ └── dorures.py # Palettes de couleurs
187
+ ├── main.py # Exemple d'utilisation
188
+ ├── setup.py
189
+ ├── pyproject.toml
190
+ └── README.md
191
+ ```
192
+
193
+ ## 📄 Licence
194
+
195
+ Ce projet est sous licence MIT.
196
+
197
+ ## 🤝 Contribution
198
+
199
+ Les contributions sont les bienvenues ! N'hésitez pas à :
200
+
201
+ - Signaler des bugs
202
+ - Proposer de nouvelles fonctionnalités
203
+ - Ajouter de nouveaux marqueurs ou palettes
204
+ - Améliorer la documentation
205
+
206
+ ## 🙏 Remerciements
207
+
208
+ Merci à matplotlib pour son excellente bibliothèque de visualisation qui rend tout cela possible.
209
+
210
+ ---
211
+
212
+ *Créé avec ❤️ et 🥖 en France*
@@ -21,7 +21,7 @@ frenchplotlib/assets/religieuse.svg,sha256=cUXtqA5610bz_8XT16BxPLiQEw3SYY09gKbCp
21
21
  frenchplotlib/assets/vin.svg,sha256=3BibINXh2o_e_Aso6NUfyUe4Kicor_51igwIV10lv6w,6451
22
22
  frenchplotlib/assets/nous/mathis.svg,sha256=kHfrZUAh3IP2gSu0NKHGnifjXMzgh5LJsMgGhhnoSMM,69048
23
23
  frenchplotlib/assets/nous/moi.svg,sha256=IIALtyrJe4boi_9Yp9GKQv7dzkbk2YtDbxX1ef106dQ,345870
24
- frenchplotlib-0.1.0.dist-info/METADATA,sha256=-EZa5Tz1c4efV6cIyTDiVhJCY4Brzh3ol15ToZ5CM-U,315
25
- frenchplotlib-0.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
26
- frenchplotlib-0.1.0.dist-info/top_level.txt,sha256=oitgsanLokGFVInAGAje6_UuNo1zIm0vd-2_QsYwIp8,14
27
- frenchplotlib-0.1.0.dist-info/RECORD,,
24
+ frenchplotlib-0.3.0.dist-info/METADATA,sha256=GlRPNIaXmJpebOtPA9K7Uwp8T2BISNrSnLqJaFuPkfU,5331
25
+ frenchplotlib-0.3.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
26
+ frenchplotlib-0.3.0.dist-info/top_level.txt,sha256=oitgsanLokGFVInAGAje6_UuNo1zIm0vd-2_QsYwIp8,14
27
+ frenchplotlib-0.3.0.dist-info/RECORD,,
@@ -1,12 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: frenchplotlib
3
- Version: 0.1.0
4
- Summary: French-themed matplotlib markers and colormaps
5
- Home-page: https://github.com/PhilZPhaZ/frenchplotlib
6
- Author: philzphaz
7
- Requires-Python: >=3.6
8
- Requires-Dist: matplotlib
9
- Requires-Dist: numpy
10
- Dynamic: author
11
- Dynamic: home-page
12
- Dynamic: requires-python