Giter VIP home page Giter VIP logo

Comments (6)

AmeliorateOr avatar AmeliorateOr commented on June 15, 2024 3

@nebulousdog and @westonplatter Thanks for giving me some tips to get this thing going. Okay so I've got pip3, python3, and pipenv up and a properly placed config.debug.ini file in the fast_arrow directory.

I'm still not quite there, but much closer, but I'll close this now and post again if I have any further issues. Thanks again.

from fast_arrow.

dreamalligator avatar dreamalligator commented on June 15, 2024

@AmeliorateOr, if you can get python3, pip3, and pipenv installed, you can simply do pipenv install fast-arrow, then check out @westonplatter's examples.

after that it is up to you! if you want to try interactive "homework"-like scripts, try Jupyter Notebooks maybe, or if youre trying to write an application with routing and such, maybe try Flask.

also, Weston! I just swapped from robin_stocks to this in my for-fun-and-probably-not-profit flask application after I noticed your repo in the category list. nice job! works great.

from fast_arrow.

AmeliorateOr avatar AmeliorateOr commented on June 15, 2024

@nebulousdog Thanks for getting back so quickly. I too was using robin_stocks, but after discovering this gem, I want to give this worthy try.

I have python3, pip3 already, but has never used pipenv. Is pipenv required to run this?

I was simply trying to copy/paste some of the example scripts and get them to run, no luck as I hit errors that I'm not skilled enough to know how to fix.

from fast_arrow.

AmeliorateOr avatar AmeliorateOr commented on June 15, 2024

Let me be more specific to save some time, I'm trying to simply authenticate and pull options data. I get stopped out hard at the authenticate step with the following error.


File "fast_arrow_auth.py", line 11, in
username = config['account']['username']
File "/usr/lib/python3.6/configparser.py", line 959, in getitem
raise KeyError(key)
KeyError: 'account'


from fast_arrow.

dreamalligator avatar dreamalligator commented on June 15, 2024

pipenv isnt necessary, but it makes life easier. instead of separately handling pip, virtualenv, requirements.txt, setup.py, (etc) you just have your Pipfile, and it keeps a Pipfile.lock like how Yarn keeps a package-lock file. All that said though, it is definitely not needed. There's a Pipefile and Pipfile.lock in this repo, so even if it isnt in the readme, it means the developer is using it. if you installed your dependencies with pipenv install --dev, you'd get better dependency versions. Also, it depends if youre intending to make a library, or an application, but since youre in the learning phase, it really doesnt matter.

if you want to copy-paste pieces, youre probably going to learn faster by using Jupyter notebooks. Give it a try, https://jupyter.org/try.

Per your output, it looks like you dont have a config file set up. Test using with this example. You'll need to create a config file set up like so.

from fast_arrow.

westonplatter avatar westonplatter commented on June 15, 2024

@nebulousdog thanks for chiming in the question. Great answers and context.

@AmeliorateOr try @nebulousdog's suggestion of creating a config.debug.ini file in the fast_arrow directory and add your username and password. config.debug.ini is explicitly gitignored to protect you from accidentally committing those secrets in code.

from fast_arrow.

Related Issues (20)

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.