A domain-specific language intended for event-driven acquisition, analysis, and visualization of data.
Project description
Data Visualization DSL
Access the powerful data-processing and visualization capabilities of the python ecosystem as well as programmatic dynamic updating using a friendly syntax.
Development
Getting started
In order to start developing the project, follow these simple steps:
- Clone the repository if you haven't already
- In the root project directory, run
make init
(Make should be installed). Follow the output of this script closely and make sure you perform and required actions. - When this is done, you should have a Python virtual environment set up directly
in the project. You can use the command
make run
to run the main program. - Have fun!
JetBrains IDE setup (Tested for IntelliJ)
It might be useful to run, test, and debug the program through the IDE. To set up JetBrains configurations with the correct environment, follow these steps:
- Open the project normally in the IDE.
- In project structure (File > Project Structure on Mac), go to the SDKs tab under Platform Settings.
- Click the
+
button to add an SDK. Select "Add Python SDK". - From the list of options, select "Pipenv Environment". Check that the base
interpreter path points to a valid Python 3.8 installation, and "Install packages
from Pipfile" is checked. Click
OK
and wait for the process to complete. - Go to the Project tab and make sure Project SDK is set to "Pipenv
(cpsc410_project1_team17) Python 3.8.5". In Modules , click cpsc410_project1_team17.
In the Dependencies tab, make sure Module SDK is set to "Project SDK Pipenv
". Click
OK
. - When editing a Python file, if you see an option to "Use Pipenv Interpreter", click it, and click install from Pipfile.
Create a run configuration
- Click "ADD CONFIGURATION". Click
+
and select "Python" from the list. - Call the configuration "Main". For the main script, select
main.py
in the root project directory. Check the box for "Use SDK of module" (the module should be cpsc410_project1_team17). ClickOK
.
Create a testing configuration
- Click "ADD CONFIGURATION". Click
+
and select "Python tests / Unittests" from the list. - Call the configuration "Tests" and select "Custom" as the target.
- In the Additional Arguments field, past the following:
discover -s tests -p "test_*.py"
Choose to use the SDK of the main module as before. Click OK
.
FAQ
-
How do I add source code?
Simply edit or add python files to those found in the
code
directory. -
How do I add tests?
Add test cases to the files in the
test
directory where appropriate. See the unittest docs for more info. If you need to add a new test file, it should be placed directly in the tests directory and have a name starting with "test_". -
How do I add dependencies?
Ideally, consult with the team and Dev Lead first. To add to the project, run
pipenv install <package>
from the root directory and make sure everybody runsmake-update
upon getting the new Pipfile. -
What tools do we use? Python (obviously) for our central logic, numpy for numerical computations, PyQtGraph for visualization.
Git Procedure:
- Create new branches for functionality that you're working on
- Commit and push to the branch (make sure you run tests first!)
- Create a pull request to master when you're ready
- Try to keep pull requests small
- Squash commits into one if your pull request includes multiple
- Pull requests require at least one approver to be merged in
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mystix-0.1.2.tar.gz
.
File metadata
- Download URL: mystix-0.1.2.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270bedc7f206e99f1ce0cd7850a522b63cb7aebdae07f52329a3adb2e4ec819e |
|
MD5 | f1dfafed647610732acd6f64166154a8 |
|
BLAKE2b-256 | 4783ca9d47af4aee7685c41d9fccf4599a367f952759ef8045e9cfd60939702e |
File details
Details for the file mystix-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: mystix-0.1.2-py3-none-any.whl
- Upload date:
- Size: 60.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d6f7dda24361448ada78bfc4c099d12c3593a161eb4038bf2144490424b29d9 |
|
MD5 | 76ac51a4a0b3b40257c5d5cdf08d1d5f |
|
BLAKE2b-256 | 591cc894b4fff123746f4c9c10908ede511cb645e8dfdca4b6c8bf8ea0b3a6e6 |