Code Monkey home page Code Monkey logo

isbndb-py's People

Watchers

 avatar

isbndb-py's Issues

include license in the source tree

There's no license file included in the sources. The README does mention
LGPL, but not the exact version. It would be a good idea to clarify this a bit.

Original issue reported on code.google.com by [email protected] on 25 Nov 2007 at 12:46

include setup.py

I'm attaching a rudimentary setup.py. No cheeseshop integration included
and I'm a bit unsure how to declare the elementtree dependency
(celementtree/elementtree/the version included in 2.5), but at least it
does manage to install the library.

Original issue reported on code.google.com by [email protected] on 25 Nov 2007 at 12:45

Attachments:

should write error messages to stderr, not stdout

In keys.py, should use

sys.stderr.write

rather than sys.stdout.write. Using sys.stdout.write prevents console-based
client programs from functioning (unless they redirect the console, which
would be annoying for them to have to bother with).

Original issue reported on code.google.com by [email protected] on 26 Mar 2008 at 6:49

Key constructor should have default "name" argument

In isbndb/keys.py, the constructor should be changed to read:

def __init__(self, key, name = "", force_=False):

Otherwise, the line

            try:
                key = keys.Key(key)

(which is in _get_key in file internet.py) always fails, which means that
calls like


isbndb.IsbndbSearch(searchValue=AN_ISBN, key=MY_KEY)

won't work.


Original issue reported on code.google.com by [email protected] on 26 Mar 2008 at 6:43

where is the IsbndbGetter()

To show the problem:
python book.py isbnhere


This is the result that i get
Traceback (most recent call last):
  File "book.py", line 77, in <module>
    x = IsbndbGetter()
NameError: name 'IsbndbGetter' is not defined

This occurs with the code from the svn the code from the SVN repository.


Original issue reported on code.google.com by [email protected] on 23 Jun 2007 at 7:26

keys.py needs a removeKey() function

This will allow for removing keys from teh keyfile as needed. It is for
symetry, not necessarily anything else.

It should allow for removal by either key name or key value.

Original issue reported on code.google.com by [email protected] on 4 Dec 2007 at 3:46

doesn't work with python 2.5

What steps will reproduce the problem?
1. run any of the code

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "run_tests.py", line 6, in <module>
    import
helpers_test,cursors_test,book_test,setup_xml,setup_keys,params_test,key_test
  File "./tests/helpers_test.py", line 4, in <module>
    from isbndb.helpers import *
  File "/home/petrov/isbndb-py/isbndb/__init__.py", line 6, in <module>
    from cursors import *
  File "/home/petrov/isbndb-py/isbndb/cursors.py", line 5, in <module>
    from elementtree import ElementTree
ImportError: No module named elementtree


What version of the product are you using? On what operating system?

Python 2.5, Ubuntu 7.04

Please provide any additional information below.

In Python 2.5 the ElementTree code is in the standard library. To import
the code one needs to do 
from xml.etree import ElementTree 

Original issue reported on code.google.com by [email protected] on 23 Jun 2007 at 7:28

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.