Giter VIP home page Giter VIP logo

badges's Introduction

Hi there ๐Ÿ‘‹

Cube's GitHub stats

Cub's most used Languages

badges's People

Contributors

cube707 avatar

Watchers

 avatar

badges's Issues

Idea: use urllib inside `Badge` class

use utllib to represent the url and params parts inside the class and construct it on request, making it much more mantanable and reducing errors that might happen with the manuall sting manipulation

TODO: comandline interface

The interface should consist of these commands:

  • create a single badge.
  • generate a set of badges at once, from a dataset
  • check if a dataset is valid, not jet sure if fthis makes sens

TODO: create API

the api should consist of functions that a user can use to get the comandline functionalaty directly from within python. So the same functions are required:

  • create_badge() for a single badge
  • generate_badges() for multiple badges at once
  • check() or validate_dataset() to validate a dataset

Idea: make request async

the request should be async, so that the generate command can work on multiple badges in paralel while waiting for server responses.

TODO: check HTTP-header size

There is a limit on the total size of request headers we can accept (8192 bytes). From a practical perspective, this means the base64-encoded image text is limited to somewhere slightly under 8192 bytes depending on the rest of the request header.

Idea: option to disable webrequest

once #4 is implemented, only getting the svg data requires a internet connection, so it might be usefull to give an option to disable requests if a user wants to work offline

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.