cryptomonere 0.0.1__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.
@@ -0,0 +1,3 @@
1
+ [flake8]
2
+ max-line-length = 160
3
+ ignore = E501, W503, W504
@@ -0,0 +1,23 @@
1
+ name: lint
2
+ on:
3
+ pull_request:
4
+ branches: ['master']
5
+ workflow_dispatch:
6
+
7
+ jobs:
8
+ lint:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout Branch
12
+ uses: actions/checkout@v4
13
+ - name: Install Python
14
+ uses: actions/setup-python@v5
15
+ with:
16
+ python-version: '3.12'
17
+ - name: Update pip
18
+ run: |
19
+ pip install --upgrade pip
20
+ - name: Run pre-commit
21
+ run: |
22
+ pip install pre-commit
23
+ pre-commit run --all
@@ -0,0 +1,48 @@
1
+ name: release
2
+ on:
3
+ push:
4
+ tags: ['v[0-9]+.[0-9]+.[0-9]+']
5
+
6
+ jobs:
7
+ lint:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout Branch
11
+ uses: actions/checkout@v4
12
+ - name: Install Python
13
+ uses: actions/setup-python@v5
14
+ with:
15
+ python-version: '3.12'
16
+ - name: Update pip
17
+ run: |
18
+ pip install --upgrade pip
19
+ - name: Run pre-commit
20
+ run: |
21
+ pip install pre-commit
22
+ pre-commit run --all
23
+
24
+ publish:
25
+ name: Build and Publish
26
+ needs: lint
27
+ runs-on: ubuntu-latest
28
+ environment:
29
+ name: Release
30
+ steps:
31
+ - name: Checkout branch
32
+ uses: actions/checkout@v4
33
+ - name: Install Python
34
+ uses: actions/setup-python@v5
35
+ with:
36
+ python-version: "3.12"
37
+ - name: Update pip
38
+ run: pip install --upgrade pip
39
+ - name: Build distribution
40
+ run: |
41
+ pip install flit
42
+ flit build --format "wheel"
43
+ - name: Upload to PyPI
44
+ env:
45
+ FLIT_USERNAME: ${{ vars.PYPI }}
46
+ FLIT_PASSWORD: ${{ secrets.PYPI }}
47
+ run: |
48
+ flit publish
@@ -0,0 +1,50 @@
1
+ name: test
2
+ on:
3
+ push:
4
+ tags: ['test-v[0-9]+.[0-9]+.[0-9]+']
5
+
6
+ jobs:
7
+ lint:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout Branch
11
+ uses: actions/checkout@v4
12
+ - name: Install Python
13
+ uses: actions/setup-python@v5
14
+ with:
15
+ python-version: '3.12'
16
+ - name: Update pip
17
+ run: |
18
+ pip install --upgrade pip
19
+ - name: Run pre-commit
20
+ run: |
21
+ pip install pre-commit
22
+ pre-commit run --all
23
+
24
+ publish:
25
+ name: Build and Publish
26
+ needs: lint
27
+ runs-on: ubuntu-latest
28
+ environment:
29
+ name: test
30
+ steps:
31
+ - name: Checkout branch
32
+ uses: actions/checkout@v4
33
+ - name: Install Python
34
+ uses: actions/setup-python@v5
35
+ with:
36
+ python-version: "3.12"
37
+ - name: Update pip
38
+ run: pip install --upgrade pip
39
+ - name: Build distribution
40
+ run: |
41
+ pip install flit
42
+ flit build --format wheel
43
+ - name: Upload to PyPI
44
+ env:
45
+ TWINE_REPOSITORY: ${{ vars.TWINE_REPOSITORY }}
46
+ TWINE_USERNAME: ${{ vars.TWINE_USERNAME }}
47
+ TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
48
+ run: |
49
+ pip install twine
50
+ twine upload dist/* --verbose
@@ -0,0 +1,11 @@
1
+ __pycache__/*
2
+
3
+ src/cryptomonere/__pycache__/*
4
+
5
+
6
+ .python-version
7
+ dist/*
8
+ data/*
9
+ logs/*
10
+ legacy
11
+ notes
@@ -0,0 +1,28 @@
1
+ ---
2
+ files: ""
3
+
4
+ repos:
5
+ - repo: https://github.com/pre-commit/pre-commit-hooks
6
+ rev: v5.0.0
7
+ hooks:
8
+ - id: end-of-file-fixer
9
+ - id: trailing-whitespace
10
+
11
+ - repo: https://github.com/pycqa/isort
12
+ rev: 6.0.0
13
+ hooks:
14
+ - id: isort
15
+ name: isort (python)
16
+
17
+ - repo: https://github.com/psf/black
18
+ rev: 25.1.0
19
+ hooks:
20
+ - id: black
21
+ language_version: python3.12
22
+ args: [--target-version=py312]
23
+
24
+ - repo: https://github.com/pycqa/flake8
25
+ rev: 7.2.0
26
+ hooks:
27
+ - id: flake8
28
+ args: [--config=.flake8]