Git Product home page Git Product logo

python-commonkit's Issues

Get Factors of Number

factors_of(): Given an integer, return the list of integers that are factors of the number.

Table to CSV

It could be handy for the Table instance to include a to_csv() method. A simplistic implementation is fairly straight forward. Deal with quotes and such like takes a little more work.

Read JSON

With a couple of recent projects, I've found the need to constantly read JSON files. This would be shortcut function for read_json() which takes a path and optionally a class for instantiating Python objects based on the contents of a JSON file.

Incorporate ETL Component

This would entail collecting the various ETL libraries we've created over the past couple of years and standardizing on a single interface. It could be a separate package, but as all of these libraries already utilize commonkit, it might be a good fit here.

Also note that the Django ETL libraries will definitely become a separate package which depends upon this ETL component, regardless of whether it is incorporated into commonkit.

Remove Log Parameter from Database Init

Instead, debug=log? Then when debug is True, provide a log-like interface that simply prints the output. This would be cleaner and more flexible, I think.

Exceptions Raised From Create Engine

The database component makes use of SQL Alchemy. The Base backends init calls create_engine() without attempting to trap errors. I can't grok what exceptions might be raised. It looks like a TypeError from strategies?

Is Prime Number

is_prime(): Determine whether a given integer is a prime number. See #4.

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.