Giter Site home page Giter Site logo

elephant's People

Contributors

ejmichaud avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

elephant's Issues

Allow quizzing on subsets of deck

It would be great to add arguments to the elephant quiz command so that a review session only quizzes you on cards containing the listed phrases. This effectively adds card grouping support.

For example, a user could create a bunch of cards while learning the tensorflow api, and mention "tensorflow" in each of these questions... ie:
question: "In tensorflow 1.8, where is the relu activation function located?"

If the user phrased all tensorflow questions in this way, they could review only these cards with a simple command.

Support multi-phrase searching

It would be nice to search for cards that contain phrase1 and phrase2 and phrase3... etc so as to identify sub-groups and sub-sub-groups of card topics.

Please add!

Add support for non-flashcard notes

It would be great if single notes were supported, and not just flashcards. Sometimes you just want to write down a piece of information and have it be searchable, without wanting to memorize it.

Removing cards causes ID duplicates

Say you have 3 cards, with ids 0, 1, 2. Then you remove cards 0 and 1. Then you add 2 more cards, which are given ids of 1 and 2. You now have 2 cards with an id of 2. Uh oh!

Trouble running after install.

After I ran the clone, cd and pip install, I got this message when trying to run any elephant command (other than just $ elephant) such as:
daniel@eduroam-169-233-152-187:~/projects/elephant$elephant ls Traceback (most recent call last): File "/anaconda3/bin/elephant", line 11, in <module> sys.exit(main()) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/anaconda3/lib/python3.7/site-packages/elephant.py", line 118, in ls c.execute('SELECT * FROM cards LIMIT ?', (limit,)) sqlite3.OperationalError: no such table: cards

My environment: Python=3.7, conda=4.5.12, OSX=Mojave

Add fancy output?

It might look nice to have questions and answers presented inside a box like this:

+---------------------+
|                     |
|  What is the        |
|  approximate shape  |
|  of earth?          |
|                     |
+---------------------+

Limits don't work as expected

Specifying a search or a ls --limit currently doesn't change the number of results that are printed, but instead the number of cards that are searched for this command. This often leads to failure if there are more than the given limit cards in the deck.

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.