Skip to content

Commit 474e427

Browse files
committed
fix: restore Creative Commons license and update badge
- Restore original CC BY-NC 4.0 license text with proper formatting - Update GitHub URLs to correct repository name - Change license badge to display CC BY-NC 4.0 instead of MIT - Keep bilingual license text as originally intended
1 parent dd8563c commit 474e427

File tree

2 files changed

+84
-22
lines changed

2 files changed

+84
-22
lines changed

LICENSE

Lines changed: 83 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,83 @@
1-
MIT License
2-
3-
Copyright (c) 2025 Ismail Moudden
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
# 📄 License
2+
3+
## English Version
4+
5+
**Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)**
6+
Copyright (c) 2025 **Ismail Moudden**
7+
8+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software, source code, documentation, figures, or related materials (the "Work"), to **use, copy, modify, and distribute** the Work, subject to the following conditions:
9+
10+
### 1. Attribution
11+
Any use of the Work must give **appropriate credit** to the original author, **Ismail Moudden**, and include a clear reference to the source:
12+
- [https://github.com/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge](https://github.com/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge)
13+
- [https://siraedge.com](https://siraedge.com)
14+
15+
### 2. NonCommercial Use
16+
The Work **may not** be used, in whole or in part, for **commercial purposes**.
17+
This includes, but is not limited to:
18+
- Selling or licensing the Work
19+
- Integrating the Work into paid products or services
20+
- Using the Work in consulting or proprietary financial platforms without prior written permission
21+
22+
### 3. No Warranty
23+
The Work is provided **"as is"**, without warranty of any kind, express or implied, including but not limited to:
24+
- Merchantability
25+
- Fitness for a particular purpose
26+
- Non-infringement
27+
28+
In no event shall the author be liable for any claim, damages, or other liability arising from the use of the Work.
29+
30+
### 4. Derivative Works
31+
You may create modifications or derivative works, provided that:
32+
- They remain under the same license (CC BY-NC 4.0)
33+
- They clearly cite **Ismail Moudden** as the original author
34+
35+
### 5. Integrity of Attribution
36+
You may not remove, obscure, or alter the author's name from source files, documentation, or redistributed versions of the Work.
37+
38+
---
39+
40+
Full license text: [https://creativecommons.org/licenses/by-nc/4.0/](https://creativecommons.org/licenses/by-nc/4.0/)
41+
42+
---
43+
44+
## Version Française
45+
46+
**Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)**
47+
Copyright (c) 2025 **Ismail Moudden**
48+
49+
L'autorisation est accordée, gratuitement, à toute personne obtenant une copie de ce logiciel, code source, documentation, figures ou matériaux associés (le « Travail »), d'**utiliser, copier, modifier et distribuer** le Travail, sous réserve des conditions suivantes :
50+
51+
### 1. Attribution
52+
Toute utilisation du Travail doit **mentionner clairement** l'auteur original, **Ismail Moudden**, et inclure une référence visible à la source :
53+
- [https://github.com/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge](https://github.com/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge)
54+
- [https://siraedge.com](https://siraedge.com)
55+
56+
### 2. Utilisation non commerciale
57+
Le Travail **ne peut pas** être utilisé, en tout ou en partie, à des fins **commerciales**.
58+
Cela inclut, sans s'y limiter :
59+
- La vente ou la licence payante du Travail
60+
- L'intégration du Travail dans un produit ou service payant
61+
- L'utilisation du Travail dans une plateforme financière propriétaire ou un cadre de consulting sans autorisation préalable
62+
63+
### 3. Absence de garantie
64+
Le Travail est fourni **« tel quel »**, sans garantie d'aucune sorte, expresse ou implicite, y compris mais sans s'y limiter :
65+
- La qualité marchande
66+
- L'adéquation à un usage particulier
67+
- La non-contrefaçon
68+
69+
L'auteur ne pourra en aucun cas être tenu responsable de tout dommage ou réclamation résultant de l'utilisation du Travail.
70+
71+
### 4. Travaux dérivés
72+
Vous pouvez créer des modifications ou travaux dérivés, à condition que :
73+
- Ils restent sous la même licence (CC BY-NC 4.0)
74+
- Ils citent clairement **Ismail Moudden** comme auteur original
75+
76+
### 5. Intégrité de l'attribution
77+
Vous ne pouvez pas supprimer, masquer ou altérer le nom de l'auteur dans les fichiers source, la documentation ou les versions redistribuées du Travail.
78+
79+
---
80+
81+
Texte complet de la licence : [https://creativecommons.org/licenses/by-nc/4.0/](https://creativecommons.org/licenses/by-nc/4.0/)
82+
83+
---

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![GitHub Release](https://img.shields.io/github/v/release/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge?style=for-the-badge)](https://github.com/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge/releases)
44
[![GitHub Stars](https://img.shields.io/github/stars/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge?style=for-the-badge)](https://github.com/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge/stargazers)
5-
[![GitHub License](https://img.shields.io/github/license/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge?style=for-the-badge)](https://github.com/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge/blob/main/LICENSE)
5+
[![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg?style=for-the-badge)](https://creativecommons.org/licenses/by-nc/4.0/)
66
[![Python Version](https://img.shields.io/badge/python-3.8%2B-blue?style=for-the-badge)](https://www.python.org/)
77
[![Test Status](https://img.shields.io/github/actions/workflow/status/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge/test.yml?branch=main&style=for-the-badge&label=tests)](https://github.com/IsmailMoudden/Portfolio-Optimization-Module-SiraEdge/actions)
88

0 commit comments

Comments
 (0)