point8 / data-science-learning-paths

Practical data science courses - from basic to intermediate
Other
23 stars 3 forks source link

Update license to 2024 #7

Closed jvonderecken closed 6 months ago

jvonderecken commented 6 months ago

We should update all notebooks from to

---
_This notebook is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/). Copyright © 2018-2024 [Point 8 GmbH](https://point-8.de)_
jvonderecken commented 6 months ago

Maybe @clstaudt or @Vanessa-Mueller can take it. There are several ways (find, rpl, sed....). I did it once ;-)

clstaudt commented 6 months ago

Maybe GPT4 can take it:

I have a set of notebooks in a folder called notebooks as well as subfolders.

Each notebook has a copyright notice in the last cell:

This notebook is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)](https://creativecommons.org/licenses/by-nc-sa/4.0/). Copyright © 2018-2022 [Point 8 GmbH](https://point-8.de/)

I want a Python script that updates the notice to the current year. The script should be run from the command line.

-> https://github.com/point8/data-science-learning-paths/pull/8

jvonderecken commented 6 months ago

hehe...a bit more than a single line in the command line. But as long it works out.

clstaudt commented 6 months ago

Preferring Python as the only dependency.

clstaudt commented 6 months ago

Closed via #8

jvonderecken commented 6 months ago

👍