Giter Club home page Giter Club logo

amplitude-python's People

Contributors

atveit avatar

Stargazers

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

Watchers

 avatar  avatar

amplitude-python's Issues

new v2 API support

Hi @atveit and thanks so much for your efforts in building this library. I was wondering if you are planning to support the new v2 API anytime soon.

Thanks so much!

Supporting Unicode?

When checking if we have a valid user_id like so:

    def _is_None_or_not_str(self,value):
        if value is None or type(value) is not str:
            return True

...we are missing Unicode strings, which are the default in Python 3 and very common earlier. What about this?

    def _is_None_or_not_str(self,value):
        if value is None or not isinstance(value, basestring):
            return True

Would that be reasonable?

user_properties is missing

even though user_properties is mentioned in the code comment, but when it's passed in as argument it is omitted.

I have a PR that fixes it. #5

Issues on elastic beanstalk with old version of argparser

This library is very old.
It's uses testtools which uses unittest2 which uses and older version of argparse before it got introduced into python officially (Back when it was only here - https://github.com/bewest/argparse)

Causing this issue:

argparse.ArgumentParser('PROG', allow_abbrev=True)
3.6.8 (default, Aug  2 2019, 17:42:44) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]
Traceback (most recent call last):
  File "<console>", line 1, in <module>
TypeError: __init__() got an unexpected keyword argument 'allow_abbrev'

If you use this on elastic beanstalk you would encounter an error.

Solution probably to fork it and update the package

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.