diff --git a/.gitignore b/.gitignore index 88f7bfa..0e9533a 100644 --- a/.gitignore +++ b/.gitignore @@ -46,11 +46,20 @@ build/ venv/ .venv/ __pycache__/ +eggs/ +.eggs/ +wheels/ +share/python-wheels/ +dist/ +*.egg-info/ +*.egg *.pyc *.pyd *.pyo *.pyz *.so +.installed.cfg + # LaTeX diff --git a/activate.sh b/activate.sh new file mode 100755 index 0000000..1d115f5 --- /dev/null +++ b/activate.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash +# [TLP:AMBER] LIMITED DISTRIBUTION: WORK IN PROGRESS +# Author: Moussouni, Yaël (MSc student; yael.moussouni@etu.unistra.fr) +# Institution: Université de Strasbourg, CNRS, Observatoire astronomique +# de Strasbourg, UMR 7550, F-67000 Strasbourg, France +# Date: 2025-02-10 +# +# Licence: +# MSc2 Internship: SMACS Cluster +# Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) +# +# activate.sh +# Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see www.gnu.org/licenses/. + +source venv/bin/activate diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..7a17ae4 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,55 @@ +# [TLP:WHITE] FROM 2025-11-21 +# +# Author: Moussouni, Yaël (PhD student; yael.moussouni@astro.unistra.fr) +# Institution: Université de Strasbourg, CNRS, Observatoire astronomique +# de Strasbourg, UMR 7550, F-67000 Strasbourg, France +# Date: 2025-11-21 +# +# Licence: +# Python Matplotlib Style +# Copyright (C) 2025 Yaël Moussouni (yael.moussouni@astro.unistra.fr) +# +# pyproject.toml +# Copyright (C) 2025 Yaël Moussouni (yael.moussouni@astro.unistra.fr) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. + +[project] +name = "manchot-plot" +version = "0.0.1" +authors = [ + { name="Moussouni, Yaël", email="yael.moussouni@astro.unistra.fr" }, +] +description = "Python Matplotlib Style" + +readme = "README.md" +requires-python = ">=3.10" +classifiers = [ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", +] +dynamic = ["dependencies"] +license = "GPL-3.0-or-later" +license-files = ["COPYING.txt"] + +[project.urls] +Homepage = "https://codeberg.org/Yael-II/Matplotlib-Style/" +Issues = "https://codeberg.org/Yael-II/Matplotlib-Style/issues/" + +[build-system] +requires = ["setuptools>=80.9.0"] +build-backend = "setuptools.build_meta" + +[tool.setuptools.dynamic] +dependencies = {file = ["requirements.txt"]} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..43505df --- /dev/null +++ b/requirements.txt @@ -0,0 +1,12 @@ +cmcrameri==1.9 +contourpy==1.3.3 +cycler==0.12.1 +fonttools==4.60.1 +kiwisolver==1.4.9 +matplotlib==3.10.7 +numpy==2.3.5 +packaging==25.0 +pillow==12.0.0 +pyparsing==3.2.5 +python-dateutil==2.9.0.post0 +six==1.17.0 diff --git a/src/manchot-plot/__init__.py b/src/manchot-plot/__init__.py new file mode 100644 index 0000000..b779461 --- /dev/null +++ b/src/manchot-plot/__init__.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python +#[TLP:AMBER] LIMITED DISTRIBUTION: WORK IN PROGRESS +""" +__init__.py + +@ Author: Moussouni, Yaël (PhD student; yael.moussouni@astro.unistra.fr) +@ Institution: Université de Strasbourg, CNRS, Observatoire astronomique + de Strasbourg, UMR 7550, F-67000 Strasbourg, France +@ Date: 2025-11-21 + +Licence: +Python Matplotlib Style +Copyright (C) 2025 Yaël Moussouni (yael.moussouni@astro.unistra.fr) + +__init__.py +Copyright (C) 2025 Yaël Moussouni (yael.moussouni@astro.unistra.fr) + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see www.gnu.org/licenses/. +""" + +from manchot_plot import * diff --git a/src/manchot-plot/manchot-plot.py b/src/manchot-plot/manchot-plot.py new file mode 100644 index 0000000..a72f810 --- /dev/null +++ b/src/manchot-plot/manchot-plot.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python +#[TLP:AMBER] LIMITED DISTRIBUTION: WORK IN PROGRESS +""" +manchot_plot.py + +@ Author: Moussouni, Yaël (PhD student; yael.moussouni@astro.unistra.fr) +@ Institution: Université de Strasbourg, CNRS, Observatoire astronomique + de Strasbourg, UMR 7550, F-67000 Strasbourg, France +@ Date: 2025-11-21 + +Licence: +Python Matplotlib Style +Copyright (C) 2025 Yaël Moussouni (yael.moussouni@astro.unistra.fr) + +manchot_plot.py +Copyright (C) 2025 Yaël Moussouni (yael.moussouni@astro.unistra.fr) + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see www.gnu.org/licenses/. +""" + +a = 0 diff --git a/tests/test.py b/tests/test.py new file mode 100644 index 0000000..215e0ad --- /dev/null +++ b/tests/test.py @@ -0,0 +1,3 @@ +import manchot + +print(manchot.a)