-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from uberfastman/release/v15.0.0
Release v15.0.0
- Loading branch information
Showing
280 changed files
with
14,616 additions
and
2,293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# macOS | ||
**.DS_Store | ||
|
||
# JetBrains | ||
.idea/ | ||
|
||
# Python | ||
**__pycache__ | ||
**.pytest_cache | ||
|
||
# environment | ||
**.env* | ||
!**.env.template* | ||
.venv | ||
|
||
# auth secrets | ||
**private*.json | ||
!**private.template.json | ||
**token*.json | ||
!**token.template.json | ||
|
||
# Docker | ||
compose*.yaml | ||
.dockerignore | ||
docker/Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
name: Bug Report | ||
about: 'Report any bugs, errors, problems, etc. found in YFPY. ' | ||
title: "[Bug] Short Description of Erroneous/Problematic Behavior" | ||
labels: bug | ||
assignees: uberfastman | ||
|
||
--- | ||
|
||
## Description of Issue | ||
Please put a longer description of the bug/issue/problem you are encountering here, as well as anything else you think might be relevant or helpful to reproduce the issue. | ||
|
||
## Additional Information as Applicable | ||
|
||
#### Yahoo Fantasy Sports League ID | ||
XXXXXX... | ||
|
||
#### Yahoo Fantasy Sports League Privacy | ||
Public/Private | ||
|
||
#### Operating System/Environment | ||
macOS/Windows/Linux/Docker/etc. | ||
|
||
#### Other | ||
Any other setup/environment/configuration information you might deem potentially relevant. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest a new idea/feature for YFPY. | ||
title: "[Feature Request] Short Description of New Idea/Feature" | ||
labels: feature | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Description | ||
Please describe what new idea/feature would like to see added to the YFPY package. | ||
|
||
## Use case | ||
Please elaborate on how your idea/feature request will provide additional value/functionality. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# DO NOT EDIT - VERSIONING CONTROLLED BY GIT TAGS | ||
__version__ = "v13.0.0" | ||
__version__ = "v15.0.0" |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
services: | ||
package: | ||
build: | ||
# DO NOT EDIT PYTHON VERSION BUILD ARGUMENTS - VERSIONING CONTROLLED BY GIT TAGS | ||
args: | ||
- PYTHON_VERSION_MAJOR=3 | ||
- PYTHON_VERSION_MINOR=11 | ||
context: . | ||
dockerfile: docker/Dockerfile | ||
image: ghcr.io/uberfastman/yfpy:15.0.0 # DO NOT EDIT IMAGE - VERSIONING CONTROLLED BY GIT TAGS | ||
platform: linux/amd64 | ||
environment: | ||
- RUNTIME_ENVIRONMENT=docker | ||
env_file: | ||
- ./auth/.env | ||
ports: | ||
- 5001:5000 | ||
volumes: | ||
- /etc/localtime:/etc/localtime | ||
# UNCOMMENT LOCAL CODE REPOSITORY MOUNT BELOW FOR LOCAL CHANGES TO BE REFLECTED WITHIN THE RUNNING DOCKER CONTAINER | ||
#- .:/opt/yfpy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
ARG PYTHON_VERSION_MAJOR=$PYTHON_VERSION_MAJOR | ||
ARG PYTHON_VERSION_MINOR=$PYTHON_VERSION_MINOR | ||
|
||
# set base image | ||
FROM --platform=linux/amd64 python:${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}-slim | ||
|
||
LABEL "org.opencontainers.image.source"="https://github.com/uberfastman/yfpy" | ||
|
||
# update package index list | ||
RUN apt update && \ | ||
apt upgrade && \ | ||
apt install -y git | ||
|
||
# set the working directory in the container | ||
WORKDIR /opt/yfpy | ||
|
||
# set python environment variables | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
ENV PYTHONUNBUFFERED 1 | ||
|
||
## copy the project root contents to the working directory | ||
COPY .. . | ||
|
||
# install dependencies | ||
RUN pip install --upgrade pip && \ | ||
pip install -r requirements.txt | ||
|
||
RUN chmod +x ./docker/docker-entrypoint.sh | ||
|
||
# specify docker as package runtime environment | ||
ENV RUNTIME_ENVIRONMENT docker | ||
|
||
ENTRYPOINT ["./docker/docker-entrypoint.sh"] | ||
|
||
# command to run on container start | ||
CMD tail -f /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
# startup message | ||
/bin/echo "YFPY is ready!" | ||
|
||
# execute CMD from Dockerfile | ||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
yfpy.models.Pick | ||
================ | ||
|
||
.. currentmodule:: yfpy.models | ||
|
||
.. autoclass:: Pick | ||
:members: | ||
:show-inheritance: | ||
:inherited-members: | ||
:special-members: __call__, __add__, __mul__ | ||
|
||
|
||
|
||
.. rubric:: Methods | ||
|
||
.. autosummary:: | ||
:nosignatures: | ||
|
||
~Pick.clean_data_dict | ||
~Pick.from_json | ||
~Pick.serialized | ||
~Pick.subclass_dict | ||
~Pick.to_json | ||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ | |
OutcomeTotals | ||
Ownership | ||
PercentOwned | ||
Pick | ||
Player | ||
PlayerAdvancedStats | ||
PlayerPoints | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,5 +71,6 @@ | |
.. autosummary:: | ||
|
||
~YahooFantasySportsQuery.YFO | ||
~YahooFantasySportsQuery.runtime_environment_is_docker | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 97ec4bc4af03b9613a945ece5253f01a | ||
config: fae182cad2c5b57636b1822573cedae6 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Oops, something went wrong.