-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐍 Add a .pyi
file for integration with type checking, documentation, and IDE auto-completion
#604
Draft
marcelwa
wants to merge
45
commits into
main
Choose a base branch
from
python-interface
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 39 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
8afbc7e
:snake: Added a `pyfiction.pyi` file with an example for setting up t…
marcelwa 6b04f4d
:art: Replace `offset_area`, `cube_area`, and `siqad_area` with `area…
marcelwa 9458338
:art: Fix duplicated `namespace py = pybind11;`
marcelwa d421796
:label: Complete type interface for coordinates
marcelwa 0ad8c54
:label: Type interface for all coordinate layouts
marcelwa b468f54
:label: Type interface for all clocked layouts
marcelwa edf4b03
:label: Type interface for all gate-level layouts
marcelwa 7f82138
:label: Type interface for all cell-level layouts
marcelwa 559237d
:pencil2: Fix copy-paste error
marcelwa 6113fd5
:label: Type interface for all obstruction layouts
marcelwa 5641f9f
:label: Type interface for `technology_network`
marcelwa 7d19916
:label: Type interface for `dynamic_truth_table`
marcelwa 189a135
:label: Type interface for `a_star`
marcelwa 6fbfef9
:label: Adjusted type interface for `a_star`
marcelwa 4e06684
:label: Type interface for distance functions
marcelwa 73bf524
:label: Type interface for `enumerate_all_paths`
marcelwa e35e38a
:label: Type interface for `yen_k_shortest_paths`
marcelwa fb8d3d7
:label: Type interface for all network transformations
marcelwa ee344bf
:bug: Fixed copy-paste errors
marcelwa 236f63c
:label: Type interface for nm² area computations
marcelwa 086ec43
:label: Type interface for gate library application and CP/TP calcula…
marcelwa 3bf6811
:label: Type interface for `color_routing`
marcelwa 5528c98
:label: Type interface for `exact` and `orthogonal`
marcelwa f5bc1fb
:memo: Update pyfiction docstrings
actions-user c27082f
:label: Type interface for logic simulation
marcelwa 9acb053
Merge remote-tracking branch 'origin/python-interface' into python-in…
marcelwa e9fa1af
:label: Type interface for verification
marcelwa 7f6b767
:label: Type interface for most I/O functionality
marcelwa d4e2aea
:art: first test.
Drewniok ac2039e
:art: first test.
Drewniok 06ec97a
Merge branch 'main' into python-interface
Drewniok d38011d
🎨 Incorporated pre-commit fixes
pre-commit-ci[bot] 55e1d81
:snake: expose hexagonalization stats
simon1hofmann 1946f06
:label: Type interface for more physical design algorithms
simon1hofmann 1064ba7
🎨 Incorporated pre-commit fixes
pre-commit-ci[bot] 919d72f
:art: add SiDB functionality to pyi.
Drewniok 3c0fbd2
🎨 Incorporated pre-commit fixes
pre-commit-ci[bot] 7ebf04b
:art: add more functions to pyi.
Drewniok da13edd
🎨 Incorporated pre-commit fixes
pre-commit-ci[bot] c493ced
:bug: Fix compilation issue due to broken include
marcelwa b8609e7
:bug: Restore file that was mysteriously overwritten with a different…
marcelwa 3814730
:memo: Update pyfiction docstrings
actions-user d04cd5d
:bug: Fixed many errors, warnings, and inconsistencies in the Python …
marcelwa b500068
Merge remote-tracking branch 'origin/python-interface' into python-in…
marcelwa e670dc3
:rotating_light: Fixed a bunch more warnings and errors (still a long…
marcelwa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
#ifndef PYFICTION_LOGIC_SIMULATION_HPP | ||
#define PYFICTION_LOGIC_SIMULATION_HPP | ||
|
||
#include "pyfiction/documentation.hpp" | ||
#include "pyfiction/types.hpp" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. warning: 'pyfiction/types.hpp' file not found [clang-diagnostic-error] #include "pyfiction/types.hpp"
^ |
||
|
||
#include <fiction/utils/name_utils.hpp> | ||
|
@@ -16,6 +15,7 @@ | |
#include <pybind11/pybind11.h> | ||
#include <pybind11/stl.h> | ||
|
||
#include <cassert> | ||
#include <string> | ||
#include <unordered_map> | ||
#include <vector> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: included header sstream is not used directly [misc-include-cleaner]