Git Product home page Git Product logo

power_ranker's People

Contributors

rynecarbone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

power_ranker's Issues

Empty league history issue

For a first year league, exception for empty league history is throwing the InvalidLeagueExeption in utils.py. Only the plots are generated for the website; team names etc. not pulling from league history page.

Create historical records between players

First of all, congratulations for this project! It has been awesome for my league.

Is it possible to create a table for all-time PVP records from the historical data (especially ESPN pre-2018)?

something like this:
image

If so, I can try to help with the PR if you can give directions

Thanks!

Traceback errors after latest updates

Getting traceback errors now after the latest update, please see the attached output file, seems it has to do with the LSQ changes?

Traceback (most recent call last): File "/usr/local/bin/power_ranker", line 11, in <module> load_entry_point('power-ranker==1.1.1', 'console_scripts', 'power_ranker')() File "/home/jcadig1/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/jcadig1/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point return ep.load() File "/home/jcadig1/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2443, in load return self.resolve() File "/home/jcadig1/.local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python3.6/dist-packages/power_ranker-1.1.1-py3.6.egg/scripts/command_line.py", line 9, in <module> from power_ranker.league import League File "/usr/local/lib/python3.6/dist-packages/power_ranker-1.1.1-py3.6.egg/power_ranker/league.py", line 17, in <module> from .lsq import LSQ ImportError: cannot import name 'LSQ'

Still getting errors

Is this currently functional for you? If so, what are you running this on?

I am still having issues after updating to 1b0a4e7:

Using MY_LOCAL_CONFIG.cfg to generate power rankings Traceback (most recent call last): File "/usr/local/bin/power_ranker", line 11, in <module> load_entry_point('power-ranker==1.1.1', 'console_scripts', 'power_ranker')() File "/home/jcadig1/.local/lib/python3.6/site-packages/scripts/command_line.py", line 90, in main run_cl_rankings(args.config, private_league=args.private) File "/home/jcadig1/.local/lib/python3.6/site-packages/scripts/command_line.py", line 20, in run_cl_rankings my_league = League(config_file) File "/home/jcadig1/.local/lib/python3.6/site-packages/power_ranker/league.py", line 38, in __init__ self._scrape_league() File "/home/jcadig1/.local/lib/python3.6/site-packages/power_ranker/league.py", line 57, in _scrape_league data = r.json() File "/home/jcadig1/.local/lib/python3.6/site-packages/requests/models.py", line 897, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 2 column 2 (char 2)

Originally posted by @jcadig1 in #2 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.