-
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.
update query to force inclusion of game_code, add support for transac…
…tions that include FAAB and/or draft picks, update docs, add simple Docker usage, and update package
- Loading branch information
1 parent
fc62699
commit 48545c0
Showing
279 changed files
with
14,567 additions
and
2,304 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
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,14 +1,14 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest a new idea/feature for the FFMWR app. | ||
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 app. | ||
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 be provide additional value and/or interesting information beyond what is already included in the generated reports. | ||
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__ = "v14.0.0" |
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
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: 325f953d1e0471bd06261a26c996b30e | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Oops, something went wrong.