Skip to main content

A distributed Celery application to export time-domain data periodically from Microsoft Graph API into a buffer key-value store.

Project description

MsGraphExporter

Python 3.6+ Code style: black License: MIT ReadTheDocs Build Status

MsGraphExporter is an application that performs periodic export of time-domain data like Azure AD user signins from Microsoft Graph API into a buffer key-value store (currently supports Redis) for subsequent processing. It uses Celery task queue for parallel processing, gevent greenlets for concurrent uploads, relies on the Graph API pagination to control memory footprint and respects Graph API throttling. The application could be deployed as a single-container worker or as a set of multiple queue-specific workers for high reliability and throughput.

Getting Started

Follow these instructions to use the application.

Installing

MsGraphExporter is distributed through the Python Package Index. Run the following command to:

  • install a specific version

    pip install "ms-graph-exporter==0.1"
    
  • install the latest version

    pip install "ms-graph-exporter"
    
  • upgrade to the latest version

    pip install --upgrade "ms-graph-exporter"
    
  • install optional DEV dependencies like pytest framework and plugins necessary for performance and functional testing

    pip install "ms-graph-exporter[test]"
    

Requirements

  • Python >= 3.6

Built using

Versioning

We use Semantic Versioning Specification as a version numbering convention.

Release History

For the available versions, see the tags on this repository. Specific changes for each version are documented in CHANGELOG.md.

Also, conventions for git commit messages are documented in CONTRIBUTING.md.

Authors

  • Oleksiy Kuzmenko - OK-UNDP@GitHub - Initial design and implementation

Acknowledgments

  • Hat tip to all individuals shaping design of this project by sharing their knowledge in articles, blogs and forums.

License

Unless otherwise stated, all authors (see commit logs) release their work under the MIT License. See LICENSE.md for details.

Contributing

There are plenty of ways you could contribute to this project. Feel free to:

  • submit bug reports and feature requests
  • outline, fix and expand documentation
  • peer-review bug reports and pull requests
  • implement new features or fix bugs

See CONTRIBUTING.md for details on code formatting, linting and testing frameworks used by this project.

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

ms-graph-exporter-0.1.0rc2.dev201909283.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file ms-graph-exporter-0.1.0rc2.dev201909283.tar.gz.

File metadata

File hashes

Hashes for ms-graph-exporter-0.1.0rc2.dev201909283.tar.gz
Algorithm Hash digest
SHA256 4d29ecdd7bbd6742fc022a1e30f23628aabaf445c00f351cc2302a5f9f0ce913
MD5 fa6ba741946145236d70e054a56b9642
BLAKE2b-256 b6d8e1f26dac7c8c4ab9c2ff7edd16504d8b889b454e7b2a689d99f93e8039e5

See more details on using hashes here.

File details

Details for the file ms_graph_exporter-0.1.0rc2.dev201909283-py3-none-any.whl.

File metadata

File hashes

Hashes for ms_graph_exporter-0.1.0rc2.dev201909283-py3-none-any.whl
Algorithm Hash digest
SHA256 a0da4256636cb8ff20a9f2e3121e161edb38ef6c0ed2314d8db7504ba3926a11
MD5 a98403611cd96639a2197e3edbedd7c0
BLAKE2b-256 f783d2375c47fdb5de5969e5d6e3a708583942212a19f34a7456918ba3066d5f

See more details on using hashes here.

Supported by

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