Skip to content

Commit 3edc6d6

Browse files
committed
Update metadata, badge, and citation for 2025-05-28
1 parent 4bc6a79 commit 3edc6d6

4 files changed

Lines changed: 108 additions & 5 deletions

File tree

.zenodo.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"language": "eng",
66
"upload_type": "software",
77
"access_right": "open",
8-
"version": "2025-04-27-103-g1ec84a4f",
9-
"publication_date": "2025-05-27",
8+
"version": "2025-04-27-104-g4bc6a79e",
9+
"publication_date": "2025-05-28",
1010
"creators": [
1111
{
1212
"name": "Porter, Matthew A.",
@@ -18,7 +18,7 @@
1818
"keywords": ["AI","Education","Healthcare","Post-Quantum Cryptography","Quantum","data science","machine learning","python"],
1919
"related_identifiers": [
2020
{ "identifier": "https://github.com/qompassai/Python", "relation": "isSupplementTo", "resource_type": "software" },
21-
{ "identifier": "https://github.com/qompassai/Python/releases/tag/v2025-05-27", "relation": "isIdenticalTo", "resource_type": "software" },
21+
{ "identifier": "https://github.com/qompassai/Python/releases/tag/v2025-05-28", "relation": "isIdenticalTo", "resource_type": "software" },
2222
{ "identifier": "https://orcid.org/0000-0002-0302-4812", "relation": "isAuthorOf", "resource_type": "person" },
2323
{ "identifier": "https://github.com/qompassai/Python/actions", "relation": "isCompiledBy", "resource_type": "workflow" },
2424
{ "identifier": "https://loop.frontiersin.org/people/2230223", "relation": "isAuthorOf", "resource_type": "person" },

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ authors:
66
given-names: "Matthew A."
77
orcid: "https://orcid.org/0000-0002-0302-4812"
88
affiliation: "Qompass AI"
9-
version: "v2025-05-27"
10-
date-released: "2025-05-27"
9+
version: "v2025-05-28"
10+
date-released: "2025-05-28"
1111
repository-code: "https://github.com/qompassai/Python"
1212
license: "Q-CDA-1.0"
1313
keywords:

pip/pip.conf

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# ~/.config/pip/pip.conf
2+
# AI/ML Workloads Configuration with NVIDIA, Google, and Conda Integration
3+
4+
[global]
5+
break-system-packages = false
6+
cache-dir = ~/.cache/pip
7+
cert = /etc/ssl/certs/ca-certificates.crt
8+
disable-pip-version-check = true
9+
extra-index-url = https://download.pytorch.org/whl/cu128
10+
https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
11+
https://developer.download.nvidia.com/compute/redist
12+
index-url = https://pypi.org/simple/
13+
log = ~/.cache/pip/pip.log
14+
no-build-isolation = false
15+
only-binary = :all:
16+
prefer-binary = true
17+
progress-bar = on
18+
require-hashes = false
19+
retries = 5
20+
timeout = 300
21+
trusted-host = anaconda.org
22+
conda-forge.org
23+
developer.download.nvidia.com
24+
download.pytorch.org
25+
files.pythonhosted.org
26+
forest.rigetti.com
27+
pennylane.ai
28+
pypi.anaconda.org
29+
pypi.org
30+
pypi.python.org
31+
quantum-computing.ibm.com
32+
storage.googleapis.com
33+
test.pypi.org
34+
xanadu.ai
35+
36+
user = true
37+
verbose = 1
38+
39+
[freeze]
40+
all = true
41+
42+
[install]
43+
find-links = https://download.pytorch.org/whl/torch_stable.html
44+
https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
45+
upgrade-strategy = eager
46+
47+
[list]
48+
format = freeze

scripts/setup.sh

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/usr/bin/env bash
2+
# /qompassai/python/scripts/setup.sh
3+
# Copyright (C) 2025 Qompass AI, All rights reserved
4+
# -------------------------------------
5+
set -euo pipefail
6+
7+
echo "Creating Python environment directories..."
8+
mkdir -p "$HOME/.cache/black"
9+
mkdir -p "$HOME/.cache/huggingface"
10+
mkdir -p "$HOME/.cache/mypy"
11+
mkdir -p "$HOME/.cache/numba"
12+
mkdir -p "$HOME/.cache/poetry"
13+
mkdir -p "$HOME/.cache/pre-commit"
14+
mkdir -p "$HOME/.cache/pytest"
15+
mkdir -p "$HOME/.cache/torch"
16+
mkdir -p "$HOME/.config/ipython"
17+
mkdir -p "$HOME/.config/jupyter"
18+
mkdir -p "$HOME/.config/matplotlib"
19+
mkdir -p "$HOME/.config" # For pythonrc.py
20+
mkdir -p "$HOME/.local/share/poetry"
21+
mkdir -p "$HOME/.virtualenvs"
22+
PYTHON_VERSION=$(python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')
23+
mkdir -p "$HOME/.local/lib/python${PYTHON_VERSION}/site-packages"
24+
chmod 755 "$HOME/.cache" "$HOME/.config" "$HOME/.local" "$HOME/.virtualenvs" 2>/dev/null || true
25+
chmod -R 755 "$HOME/.cache"/* "$HOME/.config"/* "$HOME/.local"/* 2>/dev/null || true
26+
if [[ ! -f "$HOME/.config/pythonrc.py" ]]; then
27+
cat > "$HOME/.config/pythonrc.py" << 'EOF'
28+
# Python startup configuration
29+
import sys
30+
import os
31+
try:
32+
import readline
33+
import rlcompleter
34+
readline.parse_and_bind("tab: complete")
35+
except ImportError:
36+
pass
37+
38+
# Add current directory to path if not already there
39+
if '.' not in sys.path:
40+
sys.path.insert(0, '.')
41+
42+
print(f"Python {sys.version} on {sys.platform}")
43+
print(f"PYTHONPATH: {os.environ.get('PYTHONPATH', 'Not set')}")
44+
EOF
45+
echo "Created $HOME/.config/pythonrc.py"
46+
fi
47+
echo "✅ All Python environment directories created successfully!"
48+
echo "✅ Python startup file created at $HOME/.config/pythonrc.py"
49+
echo ""
50+
echo "Created directories:"
51+
echo " 📁 Cache: ~/.cache/{black,huggingface,mypy,numba,poetry,pre-commit,pytest,torch}"
52+
echo " 📁 Config: ~/.config/{ipython,jupyter,matplotlib}"
53+
echo " 📁 Local: ~/.local/share/poetry"
54+
echo " 📁 Python: ~/.local/lib/python${PYTHON_VERSION}/site-packages"
55+
echo " 📁 Virtual envs: ~/.virtualenvs"

0 commit comments

Comments
 (0)