develmaycare / python-commonkit Goto Github PK
View Code? Open in Web Editor NEWA collection of common resources and utilities to supercharge Python development.
License: BSD 3-Clause "New" or "Revised" License
A collection of common resources and utilities to supercharge Python development.
License: BSD 3-Clause "New" or "Revised" License
factors_of()
: Given an integer, return the list of integers that are factors of the number.
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.
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.
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.
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.
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()
: Determine whether a given integer is a prime number. See #4.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.