Code Monkey home page Code Monkey logo

pyberry's Introduction

Howdy!

By day, I run a large Kubernetes platform. In my spare time, I like TTRPGs, retrogaming, and drinking coffee.

I like writing C#, Python, and modern Bash. I'm slowly learning Rust and liking it.

Quick facts

  • Cats: 2
  • Dogs: 1
  • Education: BA CS Ripon College
  • Pronouns: he/him

pyberry's People

Contributors

bjschafer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

arjanraj

pyberry's Issues

Track Lending of Books

Write functionality that will enable Pyberry to track lending of books to other people. It should be flexible, so that somebody could do so little as provide the name of the borrower, or provide full information such as name, address, phone number, etc. Obviously this should be linked to the book record.

Verify tags storage

It's unknown if tags are storing correctly in books. Please verify the storage and retrieval of them.

Making use of them is a whole other ball game...

'items' not in dictionary

When attempting to pull book information by title from Google Books, it returns an error that says something to the effect of "'items' not in dictionary". It should be, according to Google's API docs, so I may have to figure a workaround.

Test

Test for Mylyn Integration

Change author to list

Authors should be stored as a list and handled thusly, because it occurs frequently that a book has more than one author.

Then, like tags, the author storing and handling needs to be verified.

Handle Unicode in Book Information

When there are unicode characters in any part of the book information (e.g. I was testing with "Gödel, Escher, Bach", these characters are not displayed properly). Either properly support the unicode or convert them into plain ascii where it wouldn't cause confusion?

Verify DB location

Any location can be entered when changing the DB location, we need to compensate for this.

Input Checking on DB Location Chooser

The DB Location chooser in the user interface (option 5) needs to have the user location at least checked for validity, perhaps based on platform? Perhaps test writing the database right away to make sure it's a valid location and there'll be no errors later.

Multiple Authors Support

At the moment, Pyberry does not support having multiple authors on a work. Improve so that it supports storing and retrieving multiple authors, as well as providing them from Google Book Search or while adding books manually.

Crash on lookup

When looking up based on title or ISBN, Pyberry crashes (while displaying the results for title search, anyways).

The following are the results.  Please enter the number of the

        result you'd like.  Press any key to display them.j
1) Title: Handbook of Applied Cryptography, Authors: u'Alfred J. Menezes', u'Paul C. van Oorschot', u'Scott A. Vanstone'

Traceback (most recent call last):
  File "/Users/braxton/Development/git/pyberry/Pyberry/com/bjschafer/pyberry/PyBerry.py", line 400, in <module>
    addBook()
  File "/Users/braxton/Development/git/pyberry/Pyberry/com/bjschafer/pyberry/PyBerry.py", line 223, in addBook
    str(book['volumeInfo']['authors']).strip('[]'))
KeyError: 'authors'

I don't think I've changed anything in lookup.py for a while, so did Google change their API?

Permit Editing of Books

Right now, it's not possible to edit books. The only workaround is to delete a book and re-add it with the changed information. Add an option to the main menu allowing any field of any book to be edited.

L in long numbers

When there's long numbers, they are sometimes displayed with an L at the end. This is annoying and needs to go away.

Auto Increment Primary Key for Barcode?

Right now the barcode, when randomly generated, is generated by a PRNG. It adds the absolute value of two random numbers in an effort to reduce collisions. After this summer, I've learned about the possibility of auto-incrementing the Primary Key of a SQL database. This might be something to consider, as it's a bit simpler and cheaper to code.

The caveats, though: it's not backwards compatible, which, as there's not a lot of use, isn't a huge deal. I'm also not sure if it would be possible to have a manually chosen barcode.

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.