Giter Site home page Giter Site logo

databasetools's Introduction

Database Tools

GuardRails badge

A collection of database tools written in Python for handling basic actions with CSV files, numpy dictionary, SQLite databases and MySQL databases.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

PyPi installation

PyPi distribution

pip install databasetools

Example Usage

Outlined below are basic uses of the main modules of the databasetools python package.

  • CSV - Import csv file as list or export data to csv file
  • JSON - Save or load data to or from a .json file
  • MySQL - Connect to MySQL database and execute queries
  • PHPArray - Encode data as a sequential or associative PHP array
  • Pickle - Read or write data to .pkl files
  • SQLiteTools - Generate and execute SQLite queries with a single call

Built With

  • differentiate - Compare multiple data sets and retrieve the unique, non-repeated elements.
  • looptools - Logging output, timing processes and counting iterations.
  • mysql-connector - Self-container driver for communication with MySQL servers
  • tqdm - A fast, extensible progress bar for Python

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

databasetools's People

Contributors

dependabot[bot] avatar guardrails[bot] avatar sfneal avatar

Stargazers

 avatar

Watchers

 avatar

databasetools's Issues

MySQLTools select method returning odd flat list

When calling MySQLTools.select and only specifying a single a column, an oddly formatted list of tuples is returned in which each value is wrapped inside ('val', ),

This does not happen when selecting more than one column.

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.