frenchplotlib 0.1.0__tar.gz → 0.2.0__tar.gz

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