Skip to content

[WIP] Refactoring: Python interface#237

Merged
chinmayshah99 merged 4 commits intoOpenMined:test-capifrom
alejandrosame:refactoring
Aug 12, 2020
Merged

[WIP] Refactoring: Python interface#237
chinmayshah99 merged 4 commits intoOpenMined:test-capifrom
alejandrosame:refactoring

Conversation

@alejandrosame
Copy link
Copy Markdown
Member

Description

Now it's possible to do

from pydp.algorithms.laplacian import Count
count = Count(epsilon=1)
count.result([1,1,1,1])

In order to avoid confusion, I also rename pydp.so to _pydp.so as it seems to be common practice when integrating Python code with C/C++ extensions.

How has this been tested?

  • Describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • List any relevant details for your test configuration.

Checklist

@chinmayshah99 chinmayshah99 merged commit 655d351 into OpenMined:test-capi Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants