Git Product home page Git Product logo

anzu's People

Contributors

alanhogan avatar alekstorm avatar bdarnell avatar caseymrm avatar davidwilemski avatar eklitzke avatar eliast avatar fiam avatar finiteloop avatar fiorix avatar flodiebold avatar hanwentao avatar joerussbowman avatar joshstaiger avatar jparise avatar kmike avatar mark-kubacki avatar mikejthompson avatar milancermak avatar mmalecki avatar neilrahilly avatar nod avatar ovidiucp avatar rbu avatar sgala avatar slay2k avatar szeim avatar themoriarty avatar tomhogans avatar wojciechpolak avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

genelee

anzu's Issues

Unable to use RedisSession

Unable to use RedisSession:

in chatdemo.py:
...
import redis

class Application(anzu.web.Application):
def init(self):
settings = dict(
#other settings
#....
session_storage = "redis://", #redis://[auth@][host[:port]][/db]
)
anzu.web.Application.init(self, **settings)

result:
(anzu)unknown:chat bbergmann$ python chatdemo.py
Traceback (most recent call last):
File "chatdemo.py", line 203, in
main()
File "chatdemo.py", line 197, in main
app = Application()
File "chatdemo.py", line 52, in init
anzu.web.Application.init(self, **settings)
File "/Developer/anzu/lib/python2.7/site-packages/anzu-2.1.1-py2.7.egg/anzu/web.py", line 1290, in init
settings['session_storage'])
TypeError: unbound method _parse_connection_details() must be called with RedisSession instance as first argument (got str instance instead)

How do I make this work?

distinguish between validated and unvalidated arguments

In the current version request.input_values has the validated values along with the unvalidated ones, and the developer cannot distinguish which values have been run through a validator and which not.

Naturally, only the validated values shall be used, for the others an warning issued as it is no good programming practice to use those.

make dev-python/murmur an optional dependency

Surprisingly most Python developers using Windows don't have any C-compiler installed. Therefore they cannot install dev-python/murmur (i.e., from PyPI) and thus Anzu's Windows support promise cannot be kept.

Workaround: If murmur is installed, use it. Else resort to the old and slow SHA1 hashing.

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.