Giter VIP home page Giter VIP logo

python-cjdns's People

Contributors

kyrias avatar thefinn93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-cjdns's Issues

dumpTable with page=0 fails

Trying to use NodeStore_dumpTable() with page=0 fails with {u'txid': u'0UEZDK65EY', u'error': u'Entry [page] is required and must be of type [Int]'}, but trying to run the same query with cexec works.

Use logger for logging

We should use the widely-used logger module for logging, and also capture deprecationWarnings from the API and log them properly.

Produces an invalid json

Output produced by python-cjdns fails validation by jq. It deviates from the standard in two ways:

  • it uses single quotes instead of the double-quotes
  • 'u' isn't a valid symbol to label the unicode strings. Uncode characters use "\u", for example \u00f8C. No need to prefix every string.

No API calls working, all Python versions

I get AttributeError: 'module' object has no attribute 'InterfaceController_peerStats' (or similar errors if using different admin API functions). Tested using Python 3.6 and Python 2.7, neither works. I installed the library with pip install --user cjdns (and pip2.7 install --user cjdns ofc). Help would be greatly appreciated.

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.