nfelodcm 0.1.9__tar.gz → 0.1.10__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.
Files changed (48) hide show
  1. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/PKG-INFO +1 -1
  2. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Assignments/assignments/__init__.py +2 -1
  3. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/coaches.json +3 -3
  4. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/filmmargins.json +1 -1
  5. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/games.json +3 -2
  6. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/hfa.json +2 -2
  7. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/logos.json +1 -1
  8. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/market_data.json +1 -1
  9. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/participants.json +1 -1
  10. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/pbp.json +2 -2
  11. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/player_stats.json +2 -2
  12. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/players.json +2 -3
  13. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/qbelo.json +2 -2
  14. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/qbr.json +1 -1
  15. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/rosters.json +1 -1
  16. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/srs_ratings.json +2 -2
  17. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/wepa.json +1 -1
  18. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Maps/wt_ratings.json +2 -2
  19. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/tests.py +1 -1
  20. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm.egg-info/PKG-INFO +1 -1
  21. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm.egg-info/SOURCES.txt +40 -1
  22. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/pyproject.toml +1 -1
  23. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/README.md +0 -0
  24. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/__init__.py +0 -0
  25. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Assignments/__init__.py +0 -0
  26. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Assignments/assignment.py +0 -0
  27. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Assignments/assignments/desc_based_plays.py +0 -0
  28. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Assignments/assignments/fastr_team_repl.py +0 -0
  29. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Assignments/assignments/penalty_formatting.py +0 -0
  30. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Assignments/assignments/score_clean.py +0 -0
  31. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/DCMTable.py +0 -0
  32. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Primatives/DataPull.py +0 -0
  33. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Primatives/Freshness.py +0 -0
  34. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Primatives/LocalIO.py +0 -0
  35. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Primatives/TableMap.py +0 -0
  36. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/Primatives/__init__.py +0 -0
  37. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Engine/__init__.py +0 -0
  38. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Utilities/__init__.py +0 -0
  39. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Utilities/checks.py +0 -0
  40. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Utilities/extract_map.py +0 -0
  41. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Utilities/global_variables.json +0 -0
  42. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Utilities/retrieve_season_state.py +0 -0
  43. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/Utilities/set_season_state.py +0 -0
  44. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm/nfelodcm.py +0 -0
  45. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm.egg-info/dependency_links.txt +0 -0
  46. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm.egg-info/requires.txt +0 -0
  47. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/nfelodcm.egg-info/top_level.txt +0 -0
  48. {nfelodcm-0.1.9 → nfelodcm-0.1.10}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nfelodcm
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Python package for loading and caching CSVs hosted on github into pandas dataframes
5
5
  Author-email: Robert Greer <nfl@robbygreer.com>
6
6
  Maintainer-email: Robert Greer <nfl@robbygreer.com>
@@ -1,3 +1,4 @@
1
1
  from .fastr_team_repl import team_id_repl as fastr_team_id_repl
2
2
  from .penalty_formatting import penalty_formatting
3
- from .desc_based_plays import desc_based_plays
3
+ from .desc_based_plays import desc_based_plays
4
+ from .score_clean import score_clean
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "coaches",
3
3
  "description": "Aggregated head coaching stats",
4
- "last_local_update": "2024-07-07T23:13:39.454179",
4
+ "last_local_update": "2024-08-16T17:34:47.031765",
5
5
  "download_url": "https://raw.githubusercontent.com/greerreNFL/coaches/main/coaches.csv",
6
6
  "compression": null,
7
7
  "engine": "c",
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/greerreNFL/coaches/commits?path=coaches.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:06.701316+00:00"
13
+ "last_freshness_check": "2024-08-16T17:34:46.632833+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -54,6 +54,6 @@
54
54
  "teams": "object",
55
55
  "pfr_coach_image_url": "object",
56
56
  "pfr_coach_tree_hired_by": "object",
57
- "pfr_coach_tree_hired": "object"
57
+ "pfr_coach_tree_hired": "object"
58
58
  }
59
59
  }
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/greerreNFL/filmmargin/commits?path=film_margins.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:15:32.031946+00:00"
13
+ "last_freshness_check": "2024-08-16T17:28:48.212333+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -10,14 +10,15 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/nflverse/nfldata/commits",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 500,
13
- "last_freshness_check": "2024-07-10T17:15:31.355055+00:00"
13
+ "last_freshness_check": "2024-08-16T17:28:02.743038+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
17
17
  "start": null
18
18
  },
19
19
  "assignments": [
20
- "fastr_team_id_repl", "score_clean"
20
+ "fastr_team_id_repl",
21
+ "score_clean"
21
22
  ],
22
23
  "map": {
23
24
  "game_id": "object",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hfa",
3
3
  "description": "Estimated home field advantage by game",
4
- "last_local_update": null,
4
+ "last_local_update": "2024-08-16T17:34:48.544849",
5
5
  "download_url": "https://raw.githubusercontent.com/greerreNFL/nfelohfa/main/estimated_hfa.csv",
6
6
  "compression": null,
7
7
  "engine": "c",
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelohfa/commits?path=estimated_hfa.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:06.701316+00:00"
13
+ "last_freshness_check": "2024-08-16T17:34:48.026635+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-pbp/commits?path=teams_colors_logos.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:15:31.722504+00:00"
13
+ "last_freshness_check": "2024-08-16T17:28:47.897717+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelomarket_data/commits?path=Data/lines.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:07.623265+00:00"
13
+ "last_freshness_check": "2024-08-16T17:31:11.325128+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
11
11
  "gh_release_tag": "pbp_participation",
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:08.727121+00:00"
13
+ "last_freshness_check": "2024-08-16T17:31:12.360053+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": "season",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pbp",
3
3
  "description": "nflfastR play-by-play",
4
- "last_local_update": "2024-07-07T23:37:14.767747",
4
+ "last_local_update": "2024-08-16T17:30:48.412901",
5
5
  "download_url": "https://github.com/nflverse/nflverse-data/releases/download/pbp/play_by_play_{0}.csv.gz",
6
6
  "compression": "gzip",
7
7
  "engine": "c",
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
11
11
  "gh_release_tag": "pbp",
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:15:32.328227+00:00"
13
+ "last_freshness_check": "2024-08-16T17:28:48.503111+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": "season",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "player_stats",
3
3
  "description": "nflfastR player stats",
4
- "last_local_update": "2024-07-07T23:37:18.361644",
4
+ "last_local_update": "2024-08-16T17:31:08.070803",
5
5
  "download_url": "https://github.com/nflverse/nflverse-data/releases/download/player_stats/player_stats.csv.gz",
6
6
  "compression": "gzip",
7
7
  "engine": "c",
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
11
11
  "gh_release_tag": "player_stats",
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:05.954026+00:00"
13
+ "last_freshness_check": "2024-08-16T17:31:05.676678+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
11
11
  "gh_release_tag": "players",
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:27.390522+00:00"
13
+ "last_freshness_check": "2024-08-16T17:31:14.934544+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -51,7 +51,6 @@
51
51
  "headshot": "object",
52
52
  "suffix": "object",
53
53
  "uniform_number": "object",
54
- "draft_round": "float32",
55
- "season": "float32"
54
+ "draft_round": "float32"
56
55
  }
57
56
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qbelo",
3
3
  "description": "538/nfelo QB Elo model",
4
- "last_local_update": "2024-07-08T03:34:46.537617",
4
+ "last_local_update": "2024-08-16T17:31:09.930695",
5
5
  "download_url": "https://raw.githubusercontent.com/greerreNFL/nfeloqb/main/qb_elos.csv",
6
6
  "compression": null,
7
7
  "engine": "c",
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfeloqb/commits?path=qb_elos.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:07.189582+00:00"
13
+ "last_freshness_check": "2024-08-16T17:31:08.979510+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
11
11
  "gh_release_tag": "espn_data",
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:15:30.992561+00:00"
13
+ "last_freshness_check": "2024-08-16T17:28:02.465853+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/nflverse/nflverse-data/releases/tags",
11
11
  "gh_release_tag": "rosters",
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:08.157376+00:00"
13
+ "last_freshness_check": "2024-08-16T17:31:11.813338+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": "season",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srs",
3
3
  "description": "A Simple Ranking System implimentation for the NFL",
4
- "last_local_update": "2024-07-07T23:13:39.454179",
4
+ "last_local_update": "2024-08-16T17:31:10.910765",
5
5
  "download_url": "https://raw.githubusercontent.com/greerreNFL/nfelosrs/main/srs_ratings.csv",
6
6
  "compression": null,
7
7
  "engine": "c",
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelosrs/commits?path=srs_ratings.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:06.701316+00:00"
13
+ "last_freshness_check": "2024-08-16T17:31:10.266324+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/greerreNFL/wepa/commits?path=data/wepa_by_game_pit.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:06.701316+00:00"
13
+ "last_freshness_check": "2024-08-16T17:31:08.581074+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wt_ratings",
3
3
  "description": "Win Totals and ratings derived from win totals (WT Ratings)",
4
- "last_local_update": "2024-07-07T23:13:39.454179",
4
+ "last_local_update": "2024-08-16T17:34:47.737905",
5
5
  "download_url": "https://raw.githubusercontent.com/greerreNFL/nfelosrs/main/wt_ratings.csv",
6
6
  "compression": null,
7
7
  "engine": "c",
@@ -10,7 +10,7 @@
10
10
  "gh_api_endpoint": "https://api.github.com/repos/greerreNFL/nfelosrs/commits?path=wt_ratings.csv",
11
11
  "gh_release_tag": null,
12
12
  "sla_seconds": 900,
13
- "last_freshness_check": "2024-07-10T17:16:06.701316+00:00"
13
+ "last_freshness_check": "2024-08-16T17:34:47.329023+00:00"
14
14
  },
15
15
  "iter": {
16
16
  "type": null,
@@ -31,7 +31,7 @@ def test_all_maps():
31
31
  l2_start = time.time()
32
32
  get_df(table_map)
33
33
  l2_end = time.time()
34
- print(' 2st load completed in {0} seconds'.format(round(
34
+ print(' 2nd load completed in {0} seconds'.format(round(
35
35
  l2_end-l2_start,3
36
36
  )))
37
37
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nfelodcm
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Python package for loading and caching CSVs hosted on github into pandas dataframes
5
5
  Author-email: Robert Greer <nfl@robbygreer.com>
6
6
  Maintainer-email: Robert Greer <nfl@robbygreer.com>
@@ -1,4 +1,5 @@
1
1
  README.md
2
+ __init__.py
2
3
  pyproject.toml
3
4
  ./__init__.py
4
5
  ./nfelodcm/nfelodcm.py
@@ -39,8 +40,46 @@ pyproject.toml
39
40
  ./nfelodcm/Utilities/global_variables.json
40
41
  ./nfelodcm/Utilities/retrieve_season_state.py
41
42
  ./nfelodcm/Utilities/set_season_state.py
43
+ nfelodcm/nfelodcm.py
44
+ nfelodcm/tests.py
42
45
  nfelodcm.egg-info/PKG-INFO
43
46
  nfelodcm.egg-info/SOURCES.txt
44
47
  nfelodcm.egg-info/dependency_links.txt
45
48
  nfelodcm.egg-info/requires.txt
46
- nfelodcm.egg-info/top_level.txt
49
+ nfelodcm.egg-info/top_level.txt
50
+ nfelodcm/Engine/DCMTable.py
51
+ nfelodcm/Engine/__init__.py
52
+ nfelodcm/Engine/Assignments/__init__.py
53
+ nfelodcm/Engine/Assignments/assignment.py
54
+ nfelodcm/Engine/Assignments/assignments/__init__.py
55
+ nfelodcm/Engine/Assignments/assignments/desc_based_plays.py
56
+ nfelodcm/Engine/Assignments/assignments/fastr_team_repl.py
57
+ nfelodcm/Engine/Assignments/assignments/penalty_formatting.py
58
+ nfelodcm/Engine/Assignments/assignments/score_clean.py
59
+ nfelodcm/Engine/Primatives/DataPull.py
60
+ nfelodcm/Engine/Primatives/Freshness.py
61
+ nfelodcm/Engine/Primatives/LocalIO.py
62
+ nfelodcm/Engine/Primatives/TableMap.py
63
+ nfelodcm/Engine/Primatives/__init__.py
64
+ nfelodcm/Maps/coaches.json
65
+ nfelodcm/Maps/filmmargins.json
66
+ nfelodcm/Maps/games.json
67
+ nfelodcm/Maps/hfa.json
68
+ nfelodcm/Maps/logos.json
69
+ nfelodcm/Maps/market_data.json
70
+ nfelodcm/Maps/participants.json
71
+ nfelodcm/Maps/pbp.json
72
+ nfelodcm/Maps/player_stats.json
73
+ nfelodcm/Maps/players.json
74
+ nfelodcm/Maps/qbelo.json
75
+ nfelodcm/Maps/qbr.json
76
+ nfelodcm/Maps/rosters.json
77
+ nfelodcm/Maps/srs_ratings.json
78
+ nfelodcm/Maps/wepa.json
79
+ nfelodcm/Maps/wt_ratings.json
80
+ nfelodcm/Utilities/__init__.py
81
+ nfelodcm/Utilities/checks.py
82
+ nfelodcm/Utilities/extract_map.py
83
+ nfelodcm/Utilities/global_variables.json
84
+ nfelodcm/Utilities/retrieve_season_state.py
85
+ nfelodcm/Utilities/set_season_state.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nfelodcm"
7
- version = "0.1.9"
7
+ version = "0.1.10"
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.11"
10
10
  license = {text = "MIT"}
File without changes
File without changes
File without changes
File without changes