Giter Site home page Giter Site logo

keller00 / snowflake-connector-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from snowflakedb/snowflake-connector-python

0.0 1.0 0.0 8.84 MB

Snowflake Connector for Python

Home Page: https://pypi.python.org/pypi/snowflake-connector-python/

License: Apache License 2.0

Shell 0.76% C++ 4.71% Python 93.92% Lua 0.08% Batchfile 0.11% Cython 0.31% Dockerfile 0.10%

snowflake-connector-python's Introduction

Snowflake Connector for Python

Build and Test codecov PyPi License Apache-2.0 Codestyle Black

This package includes the Snowflake Connector for Python, which conforms to the Python DB API 2.0 specification.

The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. It provides a programming alternative to developing applications in Java or C/C++ using the Snowflake JDBC or ODBC drivers.

The connector has no dependencies on JDBC or ODBC. It can be installed using pip on Linux, Mac OSX, and Windows platforms where Python 3.7.0 (or higher) is installed.

Snowflake Documentation is available at: https://docs.snowflake.com/

Feel free to file an issue or submit a PR here for general cases. For official support, contact Snowflake support at: https://community.snowflake.com/s/article/How-To-Submit-a-Support-Case-in-Snowflake-Lodge

How to build

Locally

Install Python 3.7.0 or higher. Clone the Snowflake Connector for Python repository, then run the following commands to create a wheel package using PEP-517 build:

git clone [email protected]:snowflakedb/snowflake-connector-python.git
cd snowflake-connector-python
python -m pip install -U pip setuptools wheel build
python -m build --wheel .

Find the snowflake_connector_python*.whl package in the ./dist directory.

In Docker

Or use our Dockerized build script ci/build_docker.sh and find the built wheel files in dist/repaired_wheels.

Note: ci/build_docker.sh can be used to compile only certain versions, like this: ci/build_docker.sh "3.7 3.8"

Code hygiene and other utilities

These tools are integrated into tox to allow us to easily set them up universally on any computer.

  • fix_lint: Runs pre-commit to check for a bunch of lint issues. This can be installed to run upon each time a commit is created locally, keep an eye out for the hint that this environment prints upon succeeding.
  • coverage: Runs coverage.py to combine generated coverage data files. Useful when multiple categories were run and we would like to have an overall coverage data file created for them.
  • flake8: (Deprecated) Similar to fix_lint, but only runs flake8 checks.

snowflake-connector-python's People

Contributors

smtakeda avatar sfc-gh-mkeller avatar sfc-gh-stakeda avatar sfc-gh-abhatnagar avatar dependabot[bot] avatar sfc-gh-jbahk avatar mayfield avatar sfc-gh-aling avatar sfc-gh-cshi avatar sfc-gh-kdama avatar sfc-gh-stan avatar sfc-gh-jdu avatar sfc-gh-kwagner avatar sfc-gh-sfan avatar sfc-gh-hchaturvedi avatar sfc-gh-aalam avatar sfc-gh-mmacintyre avatar sfc-gh-kzaveri avatar sfc-gh-wshangguan avatar sfc-gh-heshah avatar timgraham avatar sfc-gh-hpathak avatar jameslamb avatar sfc-gh-yixie avatar howryu avatar sfc-gh-jfan avatar sfc-gh-mknister avatar sfc-gh-cconner avatar sfc-gh-zblackwood avatar tjj5036 avatar

Watchers

 avatar

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.