Skip to content

Commit

Permalink
Merge pull request #42 from NodeJSmith/feature/remove_cli
Browse files Browse the repository at this point in the history
Feature/remove cli
  • Loading branch information
NodeJSmith authored Sep 8, 2024
2 parents b5d8d10 + 1979678 commit a37c1bd
Show file tree
Hide file tree
Showing 14 changed files with 100 additions and 979 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "0.5.1"
current_version = "0.6.0"

parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(?:-(?P<dev_l>dev)(?P<dev>0|[1-9]\\d*))?"

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: check-yaml
args: [--unsafe]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.9
rev: v0.6.4
hooks:
- id: ruff
language_version: python3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Simple API client for interacting with the OrangeTheory Fitness APIs.


This library allows access to the OrangeTheory API to retrieve workouts and performance data, class schedules, studio information, and bookings. It is a work in progress, currently only allowing access to GET calls, but my goal is to expand it to include POST, PUT, and DELETE calls as well.
This library allows access to the OrangeTheory API to retrieve workouts and performance data, class schedules, studio information, and bookings.

## Installation
```bash
Expand Down
213 changes: 93 additions & 120 deletions poetry.lock

Large diffs are not rendered by default.

11 changes: 2 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "otf-api"
version = "0.5.1"
version = "0.6.0"
description = "Python OrangeTheory Fitness API Client"
authors = ["Jessica Smith <[email protected]>"]
license = "MIT"
Expand All @@ -22,7 +22,7 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.10"
aiohttp = "3.9.5"
aiohttp = "3.8.*"
humanize = "^4.9.0"
inflection = "0.5.*"
loguru = "0.7.2"
Expand All @@ -31,8 +31,6 @@ pint = "0.24.*"
pycognito = "2024.5.1"
pydantic = "2.7.3"
python-box = "^7.2.0"
readchar = "^4.1.0"
typer = "^0.12.3"

[tool.poetry.group.dev.dependencies]
aioresponses = "0.7.6"
Expand Down Expand Up @@ -70,14 +68,9 @@ setuptools = "^70.0.0"
virtualenv = "^20.26.2"


[tool.poetry.group.cli.dependencies]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
pythonpath = ["src"]

[tool.poetry.scripts]
otf = "otf_api.cli:base_app"
2 changes: 1 addition & 1 deletion src/otf_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .api import Otf
from .auth import OtfUser

__version__ = "0.5.1"
__version__ = "0.6.0"


__all__ = ["Otf", "OtfUser"]
Expand Down
4 changes: 0 additions & 4 deletions src/otf_api/cli/__init__.py

This file was deleted.

60 changes: 0 additions & 60 deletions src/otf_api/cli/_utilities.py

This file was deleted.

172 changes: 0 additions & 172 deletions src/otf_api/cli/app.py

This file was deleted.

Loading

0 comments on commit a37c1bd

Please sign in to comment.