Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Filipe A Ximenes
    @filipeximenes
    Hey, some updates:
    • Migrated documentation to rst, md was missing a lot of features and making it harder to do stuff
    • Merged @era automatic camelCase conversion
    • Finally go some time to write it's documentation, and now we have support for serializers. For now, only for deserializations.
    We are very close to launching version 1
    Filipe A Ximenes
    @filipeximenes
    Documentation on how to make new flavours available here: http://tapioca-wrapper.readthedocs.org/en/latest/newflavour.html
    This is ready for version 1.0, so it contains references to code it is not yet on pip
    Use the stable docs for the current version on pip
    Álvaro Justen
    @turicas
    :+1:
    tuxayo
    @tuxayo
    Hello, is there someone? :smile:
    Rômulo Collopy
    @romulocollopy
    hello, Maybe I cannot help much now, but if it's something simple
    tuxayo
    @tuxayo
    Thanks! I'm planning to make a client for this simple API http://api.citybik.es/v2/ and I was wondering if it was worthwhile to make a Tapioca wrapper for it. But right now I'm realizing how simple it is(here is a Ruby wrapper) and finding about the Request package I'm pretty sure it isn't really worthwhile.
    Unless I'm missing something awesome about Tapioca?
    Rômulo Collopy
    @romulocollopy
    well, Tapioca more than requests, actually, it uses requests. First you will have autocompletion for you endpoints when working in a ipython-like shell. You can get the data already in the correct type, as Python objects, you can make easier the configuration proccess..
    Filipe A Ximenes
    @filipeximenes
    Also, you will be able to access response attributes as Python objects instead of dictionary
    And others will be abe able to easily download your project and use it (considering you are going to upload it to pip)
    tuxayo
    @tuxayo
    Thanks for those details, I had quickly seen the slides but not the talk itself so I missed some stuff! :)
    romika
    @romika
    Hey, I want to use tapioca to write a client for the ThingWorx API. But I'm confused about the auth mechanism. I want to use an application-key, but I don't understand the options oauth2/1 or basic_auth. Should I use none of the provided auth options and pass a custom header? Because that's how I do it when I'm using the requests module.
    Filipe A Ximenes
    @filipeximenes
    @romika yes, that's right. It offers basic and oauth options because those are pretty popular and standardized, but you should remove those and pass the token in the header :)
    Thiago Medeiros
    @medeirosthiago
    hi guys! is this gitter live? :)
    André Ericson
    @aericson
    yep, sup?
    Thiago Medeiros
    @medeirosthiago
    hey @aericson :smile:
    I’m developing a new flavour https://github.com/medeirosthiago/tapioca-desk
    but I have no idea how to create the tests :worried:
    I took a look on some others flavours but couldn’t figure this out by myself
    Filipe A Ximenes
    @filipeximenes
    @medeirosthiago ye, this is actually a problem. Unless you want to test the integration, there's no much you can do regarding tests.
    Ideally you have a test account and make real requests to verify if things are working properly. But this is hard to do and it's easy to get false positives in the process due to any kind of temporary problems in the service
    Because of that, unless it's a critical integration I tend not to test this kind of things
    Thiago Medeiros
    @medeirosthiago
    oh thanks @filipeximenes
    I was having a hard time trying to figure this out :P
    Filipe A Ximenes
    @filipeximenes
    :)
    Joel Wallis Jucá
    @joelwallis
    Hi! I'm new to both Python and Tapioca Wrapper, and I'm looking to write some flavours for Tapioca Wrapper as my first public project
    I'm an experienced developer, tho. So, while I'll be struggling to meet Python's specific quality standards, I'm used to software development as an activity
    Question: is there any alternative example of how to create a flavour that does not use cookiecutter? I'm reading "Build a Wrapper" but I can't find a proper documentation of how to do it. https://tapioca-wrapper.readthedocs.io/en/stable/buildingawrapper.html
    I'm mostly reading the source code of existing wrappers - but it's clearly not as productive as it could be
    Filipe A Ximenes
    @filipeximenes
    Hi Joel, sorry for the delay. There's really no much to building a flavour, I do recommend copying from other flavour or just taking a look on what is in the cookiecutter
    Let me know if you have some trouble with some specific part, happy to help