Skip to main content

A Simple yet powerful bcp wrapper

Project description

Simple BCP

A Simple yet powerful Python bcp wrapper.
bcp (bulk copy program) is a command line tool that copies data from / into MSSQL.
You can read more about bcp here

Installation

You can install the package using pip:

pip install simple_bcp

Usage

import simple_bcp

bcp = simple_bcp.BCP()
database_parameters = simple_bcp.MsSqlDatabaseParameters(
    server_hostname="your-sql-server-hostname",
    username="user",
    password="pass"
)
output_file_path = bcp.download_table(table_name="your_table_name", database_parameters=database_parameters)
print("table data is available at ", output_file_path)

Requirements

Author

Noam Fisher

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_bcp-0.4.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_bcp-0.4.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file simple_bcp-0.4.0.tar.gz.

File metadata

  • Download URL: simple_bcp-0.4.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for simple_bcp-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1f803d0d32b22e073f7a6f22dbe07e9840715e0572a95c14f6bb4cb1324814e6
MD5 f46920d415daf32265c3e6652ca52985
BLAKE2b-256 9e670e0f3ae17237f9ad29ab7698d3658e233aceaf8aae06d209dd42a2256f86

See more details on using hashes here.

File details

Details for the file simple_bcp-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: simple_bcp-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for simple_bcp-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a99a2449ec9d5eead66a3009285c3518acba15b0db75fa65cf955248a7f8f72
MD5 612a008fe6c22a9308820f98c47346d2
BLAKE2b-256 5bbca2dc76cdbe6aec860ee70a3dcd06676621e23a1e18501808e49d5abcb946

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page