IRIDA Uploader
==============
[](https://github.com/phac-nml/irida-uploader/actions?query=branch%3Adevelopment)
[](https://irida-uploader.readthedocs.io/en/stable/?badge=stable)
[](http://bioconda.github.io/recipes/irida-uploader/README.html)
Download / Installation
--------------------
The IRIDA Uploader is available via `pip` and `bioconda`
Installation instructions can be found in our documentation.
[ReadTheDocs](https://irida-uploader.readthedocs.io/en/stable/)
Tutorial
--------
You can find a walkthrough and tutorial on the phac-nml github
https://github.com/phac-nml/irida-uploader-tutorial
Running the project from source code
--------------------------
You can build an environment and run the uploader from source code with the following commands:
$ make
$ source .virtualenv/bin/activate
$ irida-uploader --help
You can also build and run the GUI with:
$ make gui
$ source .virtualenv/bin/activate
$ irida-uploader-gui
Creating the Windows installer from source code
------------------------------
A new windows installer can be built on linux, so first see the installation instructions for installing on linux in our documentation.
You will also need `nsis` installed to create the windows installer.
$ sudo apt install nsis
Then run the command:
$ make windows
This will create a new installer in the folder `build/nsis/` with a name similar to `IRIDA_Uploader_GUI_0.X.X.exe`
Running Tests
-------------
#### Unit tests
Running the unittests can be done with the command:
$ make unittests
#### Integration tests
To run integration tests You will need to download and install chromedriver http://chromedriver.chromium.org/downloads
You will need to grant the IRIDA instance access to the mysql database needed for the tests
$ mysql -e "CREATE USER 'test'@'localhost' IDENTIFIED BY 'test'; GRANT ALL ON irida_uploader_test.* to 'test'@'localhost';"
Running the IRIDA integration tests can be done with the command:
$ make integrationtests branch=<IRIDA github branch to test against>
Example:
$ make integrationtests branch=development
Tests will be logged to `~/.cache/irida_uploader_test/log/irida-uploader.log`
#### PEP8 tests
You can run pep8 tests with:
$ make pep8
#### Test Coverage
You can run the entire test suite and generate a coverage report with the following command:
$ make coverage
To view the detailed report, open the generated `htmlcov/index.html` with your web browser.
Documentation
------------------------------
You can [ReadTheDocs](https://irida-uploader.readthedocs.io/en/stable/) here.
Alternatively, documentation is built locally using `mkdocs`.
It can be built with the command:
$ make docs
Or you can install mkdocs to your system:
$ sudo apt install mkdocs
$ mkdocs build
HTML docs will be generated to `site/` for local browsing
Raw data
{
"_id": null,
"home_page": "https://github.com/phac-nml/irida-uploader",
"name": "iridauploader",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "IRIDA NGS uploader",
"author": "Jeffrey Thiessen",
"author_email": "jeffrey.thiessen@canada.ca",
"download_url": "https://files.pythonhosted.org/packages/73/83/36a2934d3891a142ed1736bff0ff4597c28d7720b7bd555781198814b506/iridauploader-0.9.2.tar.gz",
"platform": null,
"description": "IRIDA Uploader\n==============\n\n[](https://github.com/phac-nml/irida-uploader/actions?query=branch%3Adevelopment)\n[](https://irida-uploader.readthedocs.io/en/stable/?badge=stable)\n[](http://bioconda.github.io/recipes/irida-uploader/README.html)\n\nDownload / Installation\n--------------------\n\nThe IRIDA Uploader is available via `pip` and `bioconda`\n\nInstallation instructions can be found in our documentation.\n\n[ReadTheDocs](https://irida-uploader.readthedocs.io/en/stable/)\n\nTutorial\n--------\n\nYou can find a walkthrough and tutorial on the phac-nml github\n\nhttps://github.com/phac-nml/irida-uploader-tutorial\n\nRunning the project from source code\n--------------------------\nYou can build an environment and run the uploader from source code with the following commands:\n\n $ make\n $ source .virtualenv/bin/activate\n $ irida-uploader --help\n\nYou can also build and run the GUI with:\n\n $ make gui\n $ source .virtualenv/bin/activate\n $ irida-uploader-gui\n\nCreating the Windows installer from source code\n------------------------------\n\nA new windows installer can be built on linux, so first see the installation instructions for installing on linux in our documentation.\n\nYou will also need `nsis` installed to create the windows installer.\n\n $ sudo apt install nsis\n\nThen run the command:\n\n $ make windows\n \nThis will create a new installer in the folder `build/nsis/` with a name similar to `IRIDA_Uploader_GUI_0.X.X.exe`\n\nRunning Tests\n-------------\n\n#### Unit tests\n\nRunning the unittests can be done with the command:\n\n $ make unittests\n\n#### Integration tests\n\nTo run integration tests You will need to download and install chromedriver http://chromedriver.chromium.org/downloads\n\nYou will need to grant the IRIDA instance access to the mysql database needed for the tests\n\n $ mysql -e \"CREATE USER 'test'@'localhost' IDENTIFIED BY 'test'; GRANT ALL ON irida_uploader_test.* to 'test'@'localhost';\"\n\nRunning the IRIDA integration tests can be done with the command:\n\n $ make integrationtests branch=<IRIDA github branch to test against>\n\nExample:\n\n $ make integrationtests branch=development\n\nTests will be logged to `~/.cache/irida_uploader_test/log/irida-uploader.log`\n\n#### PEP8 tests\n\nYou can run pep8 tests with:\n\n $ make pep8\n\n#### Test Coverage\n\nYou can run the entire test suite and generate a coverage report with the following command:\n\n $ make coverage\n\nTo view the detailed report, open the generated `htmlcov/index.html` with your web browser.\n\nDocumentation\n------------------------------\nYou can [ReadTheDocs](https://irida-uploader.readthedocs.io/en/stable/) here.\n\nAlternatively, documentation is built locally using `mkdocs`. \n\nIt can be built with the command:\n\n $ make docs\n\nOr you can install mkdocs to your system:\n\n $ sudo apt install mkdocs\n $ mkdocs build\n\nHTML docs will be generated to `site/` for local browsing\n\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "IRIDA uploader: upload NGS data to IRIDA system",
"version": "0.9.2",
"project_urls": {
"Homepage": "https://github.com/phac-nml/irida-uploader"
},
"split_keywords": [
"irida",
"ngs",
"uploader"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cc5155ca871d166dee302569e226b24d580a3b80727a53af4b51e8e312effe59",
"md5": "8f87aa2d804b069a0d732bb37914a7b2",
"sha256": "c52ff5ce5f84f4977578fb9003ebb8d99318ee5bd583e1e1189e0e4f7a5e90e5"
},
"downloads": -1,
"filename": "iridauploader-0.9.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8f87aa2d804b069a0d732bb37914a7b2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 174249,
"upload_time": "2023-05-16T14:35:43",
"upload_time_iso_8601": "2023-05-16T14:35:43.634213Z",
"url": "https://files.pythonhosted.org/packages/cc/51/55ca871d166dee302569e226b24d580a3b80727a53af4b51e8e312effe59/iridauploader-0.9.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "738336a2934d3891a142ed1736bff0ff4597c28d7720b7bd555781198814b506",
"md5": "8690a03332cadbe91303c6d8f2090ce9",
"sha256": "e4f5e8f56aefa7800eaae30bfa1bb994eedd98a0bbe5e72f503b8124d9561abe"
},
"downloads": -1,
"filename": "iridauploader-0.9.2.tar.gz",
"has_sig": false,
"md5_digest": "8690a03332cadbe91303c6d8f2090ce9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 116304,
"upload_time": "2023-05-16T14:35:46",
"upload_time_iso_8601": "2023-05-16T14:35:46.010223Z",
"url": "https://files.pythonhosted.org/packages/73/83/36a2934d3891a142ed1736bff0ff4597c28d7720b7bd555781198814b506/iridauploader-0.9.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-16 14:35:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "phac-nml",
"github_project": "irida-uploader",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "iridauploader"
}