Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename to alpax #3

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,56 @@

### Build

* build: fix detection of semantic release output ([`6b78cfd`](https://github.com/kmontag/alpacks/commit/6b78cfdf7fc482f246c34352b9c972f104dd2d56))
- build: fix detection of semantic release output ([`6b78cfd`](https://github.com/kmontag/alpax/commit/6b78cfdf7fc482f246c34352b9c972f104dd2d56))

* build: install hatch during semantic release execution ([`e3ee436`](https://github.com/kmontag/alpacks/commit/e3ee4363122fbec47283bf8812742ffa32a3bdd0))
- build: install hatch during semantic release execution ([`e3ee436`](https://github.com/kmontag/alpax/commit/e3ee4363122fbec47283bf8812742ffa32a3bdd0))

* build: update semantic release build command ([`bbc20df`](https://github.com/kmontag/alpacks/commit/bbc20df150279d3055651952c7692344e16870e5))
- build: update semantic release build command ([`bbc20df`](https://github.com/kmontag/alpax/commit/bbc20df150279d3055651952c7692344e16870e5))

* build: use standard actions for PyPi and GitHub Releases publish ([`c73227d`](https://github.com/kmontag/alpacks/commit/c73227d3a8f9a2c20ce8a31fa35cd12fdcd950e1))
- build: use standard actions for PyPi and GitHub Releases publish ([`c73227d`](https://github.com/kmontag/alpax/commit/c73227d3a8f9a2c20ce8a31fa35cd12fdcd950e1))

### Chore

* chore: fixes in semantic release workflow ([`a145bbe`](https://github.com/kmontag/alpacks/commit/a145bbe583c4fa0dd252561b8c635e0a23edf2c5))
- chore: fixes in semantic release workflow ([`a145bbe`](https://github.com/kmontag/alpax/commit/a145bbe583c4fa0dd252561b8c635e0a23edf2c5))

* chore: update fetch depth in semantic release action ([`dfdd7f6`](https://github.com/kmontag/alpacks/commit/dfdd7f69d4d10762b469182a7ed3f0b363a37fb2))
- chore: update fetch depth in semantic release action ([`dfdd7f6`](https://github.com/kmontag/alpax/commit/dfdd7f69d4d10762b469182a7ed3f0b363a37fb2))

### Documentation

* docs: fix github actions badge ([`c6fb7bf`](https://github.com/kmontag/alpacks/commit/c6fb7bf525ce1bce72a21f56c794edfc7359fe87))
- docs: fix github actions badge ([`c6fb7bf`](https://github.com/kmontag/alpax/commit/c6fb7bf525ce1bce72a21f56c794edfc7359fe87))

### Refactor

* refactor: add semantic release and PyPi upload (#2) ([`be088ec`](https://github.com/kmontag/alpacks/commit/be088eceed561ffe7c7a6ceca828682d719224ee))
- refactor: add semantic release and PyPi upload (#2) ([`be088ec`](https://github.com/kmontag/alpax/commit/be088eceed561ffe7c7a6ceca828682d719224ee))

## v0.0.1 (2024-07-02)

### Unknown

* v0.0.1 ([`11f9beb`](https://github.com/kmontag/alpacks/commit/11f9beb244c5ec65004befec4807fc5cd09eee57))
- v0.0.1 ([`11f9beb`](https://github.com/kmontag/alpax/commit/11f9beb244c5ec65004befec4807fc5cd09eee57))

* Add github workflows (#1)
- Add github workflows (#1)

* Add github workflow for testing/linting
- Add github workflow for testing/linting

* Change test command
- Change test command

* Drop python 3.8, fixes for pre-3.12 versions
- Drop python 3.8, fixes for pre-3.12 versions

* Remove Tuple import
- Remove Tuple import

* Rename workflow file, add badge to README ([`f06e324`](https://github.com/kmontag/alpacks/commit/f06e3240660f604c810676c686445c97e83bd997))
- Rename workflow file, add badge to README ([`f06e324`](https://github.com/kmontag/alpax/commit/f06e3240660f604c810676c686445c97e83bd997))

* Linter fixes ([`258e7f0`](https://github.com/kmontag/alpacks/commit/258e7f0bc70c8a10e363189ca50806a534d60e42))
- Linter fixes ([`258e7f0`](https://github.com/kmontag/alpax/commit/258e7f0bc70c8a10e363189ca50806a534d60e42))

* Bump version ([`bc7d608`](https://github.com/kmontag/alpacks/commit/bc7d608d205f04143f9613067431947f28d6a782))
- Bump version ([`bc7d608`](https://github.com/kmontag/alpax/commit/bc7d608d205f04143f9613067431947f28d6a782))

* Fix errors when writing async packs ([`5d4d461`](https://github.com/kmontag/alpacks/commit/5d4d461beccd879a164c7615d846c6d14de4e5d2))
- Fix errors when writing async packs ([`5d4d461`](https://github.com/kmontag/alpax/commit/5d4d461beccd879a164c7615d846c6d14de4e5d2))

* Change package name again, needs to differ sufficiently from 'alpacka' ([`e39bfcd`](https://github.com/kmontag/alpacks/commit/e39bfcd7c59180fd03c48db59d23dce29eaf0b29))
- Change package name again, needs to differ sufficiently from 'alpacka' ([`e39bfcd`](https://github.com/kmontag/alpax/commit/e39bfcd7c59180fd03c48db59d23dce29eaf0b29))

* Ignore build artifacts ([`ad8e5bf`](https://github.com/kmontag/alpacks/commit/ad8e5bf870cdd5946e7fa2913b18fdd3b4262e23))
- Ignore build artifacts ([`ad8e5bf`](https://github.com/kmontag/alpax/commit/ad8e5bf870cdd5946e7fa2913b18fdd3b4262e23))

* Change package name, the original is taken ([`2b713e7`](https://github.com/kmontag/alpacks/commit/2b713e7bab13f80edd782caff7f01312aa648907))
- Change package name, the original is taken ([`2b713e7`](https://github.com/kmontag/alpax/commit/2b713e7bab13f80edd782caff7f01312aa648907))

* Initial commit ([`8ab60af`](https://github.com/kmontag/alpacks/commit/8ab60af515761bf4bb29bb74c677f025294dc2e5))
- Initial commit ([`8ab60af`](https://github.com/kmontag/alpax/commit/8ab60af515761bf4bb29bb74c677f025294dc2e5))
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# alpacks
# alpax

[![PyPI - Version](https://img.shields.io/pypi/v/alpacks.svg)](https://pypi.org/project/alpacks)
![Test & Release](https://github.com/kmontag/alpacks/actions/workflows/test_and_release.yml/badge.svg?branch=main)
[![PyPI - Version](https://img.shields.io/pypi/v/alpax.svg)](https://pypi.org/project/alpax)
![Test & Release](https://github.com/kmontag/alpax/actions/workflows/test_and_release.yml/badge.svg?branch=main)

---

`alpacks` allows you to generate custom Ableton Live packs. It supports
`alpax` allows you to generate custom Ableton Live packs. It supports
adding audio previews and Live 12 tags to the pack content.

Currently, only directory-based packs can be created - **generating
Expand All @@ -21,13 +21,13 @@ you run into trouble._
## Installation

```console
pip install alpacks
pip install alpax
```

## Usage

```python
from alpacks import DirectoryPackWriter
from alpax import DirectoryPackWriter
from time import time

with DirectoryPackWriter(
Expand All @@ -50,7 +50,7 @@ An async variant is also available:

```python
import asyncio
from alpacks import DirectoryPackWriterAsync
from alpax import DirectoryPackWriterAsync
from time import time

async def run():
Expand Down
22 changes: 11 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "alpacks"
name = "alpax"
dynamic = ["version"]
description = 'Generate custom Ableton Live packs'
readme = "README.md"
Expand All @@ -26,12 +26,12 @@ classifiers = [
dependencies = []

[project.urls]
Documentation = "https://github.com/kmontag/alpacks#readme"
Issues = "https://github.com/kmontag/alpacks/issues"
Source = "https://github.com/kmontag/alpacks"
Documentation = "https://github.com/kmontag/alpax#readme"
Issues = "https://github.com/kmontag/alpax/issues"
Source = "https://github.com/kmontag/alpax"

[tool.hatch.version]
path = "src/alpacks/__about__.py"
path = "src/alpax/__about__.py"

# [tool.hatch.envs.hatch-test]
# extra-dependencies = [
Expand All @@ -43,19 +43,19 @@ extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/alpacks tests}"
check = "mypy --install-types --non-interactive {args:src/alpax tests}"

[tool.coverage.run]
source_pkgs = ["alpacks", "tests"]
source_pkgs = ["alpax", "tests"]
branch = true
parallel = true
omit = [
"src/alpacks/__about__.py",
"src/alpax/__about__.py",
]

[tool.coverage.paths]
alpacks = ["src/alpacks", "*/alpacks/src/alpacks"]
tests = ["tests", "*/alpacks/tests"]
alpax = ["src/alpax", "*/alpax/src/alpax"]
tests = ["tests", "*/alpax/tests"]

[tool.coverage.report]
exclude_lines = [
Expand Down Expand Up @@ -92,7 +92,7 @@ major_on_zero = true
allow_zero_version = true
no_git_verify = false
tag_format = "v{version}"
version_variables = ["src/alpacks/__about__.py:__version__"]
version_variables = ["src/alpax/__about__.py:__version__"]

[tool.semantic_release.branches.main]
match = "main"
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions tests/test_alpacks.py → tests/test_alpax.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import tempfile

import alpacks
import alpax


def test_directory() -> None:
Expand All @@ -11,7 +11,7 @@ def test_directory() -> None:
with tempfile.TemporaryDirectory() as output_dir:
path = "test.txt"
version = "2.3.4"
with alpacks.DirectoryPackWriter(
with alpax.DirectoryPackWriter(
output_dir,
name=name,
unique_id=unique_id,
Expand Down Expand Up @@ -55,7 +55,7 @@ def test_simple_directory_async() -> None:
with tempfile.TemporaryDirectory() as output_dir:

async def run() -> None:
async with alpacks.DirectoryPackWriterAsync(output_dir, name="Test", unique_id="test.id") as pack_writer:
async with alpax.DirectoryPackWriterAsync(output_dir, name="Test", unique_id="test.id") as pack_writer:
# Simple test, just make sure the write can happen
# without errors.
await pack_writer.set_file_content("path.adg", b"content")
Expand Down
Loading