-
Notifications
You must be signed in to change notification settings - Fork 5
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
Import reader/writer from amiga-brain-api #19
Merged
Merged
Changes from 9 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c81945f
update reader/writer acoording to public brain api
edgarriba c68fc03
update reader/writer acoording to public brain api
edgarriba 3bef927
disable mypy
edgarriba 47a01f5
update name to farm_ng_core
edgarriba 6d1c26f
Undo renaming
edgarriba 7bfe494
import only core
edgarriba 0b70815
rename to farm_ng_core
edgarriba 3578186
undo package_dir
edgarriba 90dd8bd
remove init
edgarriba 9671abd
set version
edgarriba 427eb37
fix proto linkage
edgarriba 0cbca14
set version for farm_ng_core
edgarriba 8fd7766
fix readme
edgarriba 04a6ebe
sync reader from workspace
edgarriba 9fff4d4
parse protobuf descriptor
edgarriba 89fd065
use v0.1.1 of cmake.
ethanrublee c056595
WIP fixing up format.
ethanrublee b1aecd8
Test passing.
ethanrublee b9b3cb4
More coverage.
ethanrublee f3d9966
Unused imports.
ethanrublee 24858af
Version bump to 0.1.0 on python to match c++
ethanrublee 36f7b50
seek working, TODO rethink the behavior here.
ethanrublee b3ca197
offsets -> event index.
ethanrublee 82c05ae
Add c++ reader/writer first pass.
ethanrublee d976d30
Write in c++ manually verified read in python.
ethanrublee 9e9b7c9
Get rid of filelength assert.
ethanrublee 4b3030f
add more tests and typings
edgarriba 3e7f070
fix length test
edgarriba 9b94b07
enable mypy again
edgarriba 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"python.testing.pytestArgs": [ | ||
"py" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true, | ||
"python.linting.enabled": true, | ||
"python.linting.pylintEnabled": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# farm-ng-core [python] | ||
|
||
## Install | ||
|
||
Install `pip3` & `virtualenv`: | ||
|
||
```bash | ||
sudo apt-get install python3-pip | ||
sudo pip3 install virtualenv | ||
``` | ||
|
||
Clone the project: | ||
|
||
```bash | ||
git clone https://github.com/farm-ng/farm-ng-core.git | ||
``` | ||
|
||
Move to the python code directory: | ||
|
||
```bash | ||
cd farm-ng-core/py | ||
``` | ||
|
||
Start a virtual environment: | ||
|
||
```bash | ||
# assuming you're already in the amiga-brain-api/ directory | ||
edgarriba marked this conversation as resolved.
Show resolved
Hide resolved
|
||
python3 -m venv venv | ||
source venv/bin/activate | ||
``` | ||
|
||
Create and install the `farm_ng.core` package: | ||
|
||
```bash | ||
# install to system | ||
pip3 install . | ||
|
||
# or for development mode | ||
pip3 install -e .[dev] | ||
``` | ||
|
||
Verify that you have installed the package | ||
|
||
```bash | ||
python3 -c "import farm_ng; print(farm_ng.__version__)" | ||
``` |
This file was deleted.
Oops, something went wrong.
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.
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.
@ethanrublee adding this seems to work fine in vscode but still not recognized during the pre-commit stage
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.
"pm Grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS".