GithubHelp home page GithubHelp logo

llunn / relaxed Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 80 KB

A python library for CouchDB

License: Apache License 2.0

Shell 5.77% Python 94.23%
couchdb couchdb-adapter couchdb-client library python python3

relaxed's People

Contributors

llunn avatar

Watchers

 avatar  avatar  avatar  avatar

relaxed's Issues

Documentation

Doc strings are needed for the majority of functions.

Python support for CouchDB is deplorable.

Develop a new python based API for CouchDB.

  • Implement Server endpoints
    • /
    • /_active_tasks
    • /_all_dbs
    • /_dbs_info
    • /_cluster_setup
    • /_db_updates
    • /_membership
    • /_replicate
    • /_scheduler/jobs
    • /_scheduler/docs
    • /_scheduler/docs/{replicator_db}
    • /_scheduler/docs/{replicator_db}/{docid}
    • /_node/{node-name}/_stats
    • /_node/{node-name}/_system
    • /_node/{node-name}/_restart
    • /_utils Will not implement
    • /_up
    • /_uuids
    • /favicon.ico Will not implement
    • /_session
      • Basic authentication
      • Cookie authentication
      • Proxy authentication
    • /_node/{node-name}/_config
    • /_node/{node-name}/_config/section
    • /_node/node/_config/section/key
  • Implement Database endpoints
    • /db
    • /db/_all_docs
    • /db/_design_docs
    • /db/_bulk_get
    • /db/_bulk_docs
    • /db/_find
    • /db/_index
    • /db/_explain
    • /db/_shards
    • /db/_shards/doc
    • /db/_sync_shards
    • /db/_changes
    • /db/_compact
    • /db/_compact/design-doc
    • /db/_ensure_full_commit
    • /db/_view_cleanup
    • /db/_security
    • /db/_purge
    • /db/_purged_infos_limit
    • /db/_missing_revs
    • /db/_revs_diff
    • /db/_revs_limit
  • Implement Documents endpoints
    • /db/doc
    • /db/doc/attachment
  • Implement Design Documents endpoints
    • /db/_design/design-doc
    • /db/_design/design-doc/attachment
    • /db/_design/design-doc/_info
    • /db/_design/design-doc/_view/view-name
    • /db/_design/design-doc/_show/show-name
    • /db/_design/design-doc/_show/show-name/doc-id
    • /db/_design/design-doc/_list/list-name/view-name
    • /db/_design/design-doc/_list/list-name/other-ddoc/view-name
    • /db/_design/design-doc/_update/update-name
    • /db/_design/design-doc/_update/update-name/doc-id
    • /db/_design/design-doc/_rewrite/path
  • Local (non-replicating) Documents
    • /db/_local_docs
    • /db/_local/id

Working examples need to be created.

Clear, easy to use understand working examples need to be written.

Examples should be designed in such a way to allow for copy pasta easy mode

db.exists() returns incorrect value

If a database does not exist, db.exists() returns None instead of a CouchError instance.

This is because the HEAD request in RelaxedDecorators is pulling the ETag and return it raw, which is None.

To fix:

  1. In db.exists(), in addition to testing couch_data for a CouchError instance, check for is None

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.