About
A collection of transforms for Microsoft Business Central 265 for the Apache beam python SDK.
Installation
- Using pip
pip install beam-bc3675
- From source
git clone git@github.com:Spazzy757/beam-bc365.git
cd beam-bc365
pip install .
Usage
The intended use of this libary is to Pull Data from Microsoft Central Business Central Web Services
import apache_beam as beam
from apache_beam.options.pipeline_options import PipelineOptions
from beam_bc365.io import bc_service
service_config = bc_service.ServiceConfiguration(
username='foo',
service_key='api-key',
companies=['Cranos'],
service='G_L_ENTRY',
instance='Sandbox',
instance_id="2E0B815D-A1AC-491B-BD09-0876DACC2A12"
)
with beam.Pipeline(options=PipelineOptions()) as p:
records = p | "Reading records from service" >> bc_service.ReadFromService(
service_config=service_config,
)
records | 'Writing to stdout' >> beam.Map(print)
Local Development
Install development dependencies
pip install -e .[dev]
Run tests
nosetests
Linting
please make sure to lint your code before contributing
pylint .
Bumpversion
NOTE: This should be done by CI/CD, this is only for exceptional cases
This library uses semantic versioning
bump2version --new-version $NEW_VERSION setup.py
Metadata
Release files for beam-bc365 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| beam-bc365-0.4.0.tar.gz | 5.4 kB | Without provenance | Details |
Release files / beam-bc365-0.4.0.tar.gz
| Download URL | beam-bc365-0.4.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e01147b14347dc478e3229a7e14809d35ff64858633d9638eb38f00050c3bd1d
|
|
BLAKE2b-256 checksum How to use checksums |
2e60d4bf98654740a755bd8632792fff820ac3308d5e1ff6b83cbd18e665ddb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.14
|
Security for beam-bc365 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.