cellpack


Namecellpack JSON
Version 1.0.8 PyPI version JSON
download
home_pagehttps://github.com/mesoscope/cellpack
Summaryalgorithm to pack molecular recipes
upload_time2024-04-02 22:32:04
maintainerNone
docs_urlNone
authorMegan Riel-Mehan
requires_python>=3.8
licenseMIT license
keywords cellpack
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cellPack

[![Build Status](https://github.com/mesoscope/cellpack/workflows/Build%20Main/badge.svg)](https://github.com/mesoscope/cellpack/actions)
[![Documentation](https://github.com/mesoscope/cellpack/workflows/Documentation/badge.svg)](https://mesoscope.github.io/cellpack/)
[![Code Coverage](https://codecov.io/gh/mesoscope/cellpack/branch/main/graph/badge.svg)](https://codecov.io/gh/mesoscope/cellpack)

algorithm to pack molecular recipes

### Prerequisite 
1. Install Conda: https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html

### Setup 
1. create a virtual env: `conda create -n autopack python=3.9`
2. `conda activate autopack`
3. `pip install -e .[dev]`

### Run pack code
1. example pack v1 recipe : `pack -r examples/recipes/v1/NM_Analysis_FigureB1.0.json -c examples/packing-configs/run.json`
2. example pack v2 recipe :  `pack -r examples/recipes/v2/one_sphere.json -c examples/packing-configs/run.json`
3. example pack from remote : `pack -r  github:recipes/NM_Analysis_FigureB1.0.json  -c examples/packing-configs/run.json`

### Run conversion code 
* To convert to simularium and view at https://staging.simularium.allencell.org/viewer
`convert -r [FULL_PATH_TO_INPUT_RECIPE_FILE] -p [FULL_PATH_TO_PACKING_RESULT] -o [OUTPUT_PATH]`
## Installation

**Stable Release:** `pip install cellpack`<br>
**Development Head:** `pip install git+https://github.com/mesoscope/cellpack.git`

## Documentation

For full package documentation please visit [mesoscope.github.io/cellpack](https://mesoscope.github.io/cellpack).

## Development

See [CONTRIBUTING.md](CONTRIBUTING.md) for information related to developing the code.

### Contributing cheat sheet

1. `pip install -e .[dev]`

    This will install your package in editable mode with all the required development
    dependencies (i.e. `tox`).

2. `make build`

    This will run `tox` which will run all your tests in both Python 3.7
    and Python 3.8 as well as linting your code.

3. `make clean`

    This will clean up various Python and build generated files so that you can ensure
    that you are working in a clean environment.

4. `make docs`

    This will generate and launch a web browser to view the most up-to-date
    documentation for your Python package.

#### Suggested Git Branch Strategy

1. `main` is for the most up-to-date development, very rarely should you directly
   commit to this branch. GitHub Actions will run on every push and on a CRON to this
   branch but still recommended to commit to your development branches and make pull
   requests to main. If you push a tagged commit with bumpversion, this will also release to PyPI.
2. Your day-to-day work should exist on branches separate from `main`. Even if it is
   just yourself working on the repository, make a PR from your working branch to `main`
   so that you can ensure your commits don't break the development head. GitHub Actions
   will run on every push to any branch or any pull request from any branch to any other
   branch.
3. It is recommended to use "Squash and Merge" commits when committing PR's. It makes
   each set of changes to `main` atomic and as a side effect naturally encourages small
   well defined PR's.

## Introduction to Remote Databases 
### AWS S3
1. Pre-requisites
   * Obtain an AWS account for AICS. Please contact the IT team or the code owner. 
   * Generate an `aws_access_key_id` and `aws_secret_access_key` in your AWS account.

2. Step-by-step Guide
   * Download and install the [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)
   * Configure AWS CLI by running `aws configure`, then enter your credentials as prompted.
   * Ensure that Boto3, the AWS SDK for Python is installed and included in the requirements section of `setup.py`. 

### Firebase Firestore
1. Step-by-step Guide
   * Create a Firebase project in test mode with your google account, select `firebase_admin` as the SDK. [Firebase Firestore tutorial](https://firebase.google.com/docs/firestore)
   * Generate a new private key by navigating to "Project settings">"Service account" in the project's dashboard.

**MIT license**




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mesoscope/cellpack",
    "name": "cellpack",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "cellpack",
    "author": "Megan Riel-Mehan",
    "author_email": "meganr@alleninstitute.org",
    "download_url": "https://files.pythonhosted.org/packages/ab/bf/3485bfb950b2e5f5fb0760e75aa563f2bb66352d9e05e6d90daff4b55140/cellpack-1.0.8.tar.gz",
    "platform": null,
    "description": "# cellPack\n\n[![Build Status](https://github.com/mesoscope/cellpack/workflows/Build%20Main/badge.svg)](https://github.com/mesoscope/cellpack/actions)\n[![Documentation](https://github.com/mesoscope/cellpack/workflows/Documentation/badge.svg)](https://mesoscope.github.io/cellpack/)\n[![Code Coverage](https://codecov.io/gh/mesoscope/cellpack/branch/main/graph/badge.svg)](https://codecov.io/gh/mesoscope/cellpack)\n\nalgorithm to pack molecular recipes\n\n### Prerequisite \n1. Install Conda: https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html\n\n### Setup \n1. create a virtual env: `conda create -n autopack python=3.9`\n2. `conda activate autopack`\n3. `pip install -e .[dev]`\n\n### Run pack code\n1. example pack v1 recipe : `pack -r examples/recipes/v1/NM_Analysis_FigureB1.0.json -c examples/packing-configs/run.json`\n2. example pack v2 recipe :  `pack -r examples/recipes/v2/one_sphere.json -c examples/packing-configs/run.json`\n3. example pack from remote : `pack -r  github:recipes/NM_Analysis_FigureB1.0.json  -c examples/packing-configs/run.json`\n\n### Run conversion code \n* To convert to simularium and view at https://staging.simularium.allencell.org/viewer\n`convert -r [FULL_PATH_TO_INPUT_RECIPE_FILE] -p [FULL_PATH_TO_PACKING_RESULT] -o [OUTPUT_PATH]`\n## Installation\n\n**Stable Release:** `pip install cellpack`<br>\n**Development Head:** `pip install git+https://github.com/mesoscope/cellpack.git`\n\n## Documentation\n\nFor full package documentation please visit [mesoscope.github.io/cellpack](https://mesoscope.github.io/cellpack).\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for information related to developing the code.\n\n### Contributing cheat sheet\n\n1. `pip install -e .[dev]`\n\n    This will install your package in editable mode with all the required development\n    dependencies (i.e. `tox`).\n\n2. `make build`\n\n    This will run `tox` which will run all your tests in both Python 3.7\n    and Python 3.8 as well as linting your code.\n\n3. `make clean`\n\n    This will clean up various Python and build generated files so that you can ensure\n    that you are working in a clean environment.\n\n4. `make docs`\n\n    This will generate and launch a web browser to view the most up-to-date\n    documentation for your Python package.\n\n#### Suggested Git Branch Strategy\n\n1. `main` is for the most up-to-date development, very rarely should you directly\n   commit to this branch. GitHub Actions will run on every push and on a CRON to this\n   branch but still recommended to commit to your development branches and make pull\n   requests to main. If you push a tagged commit with bumpversion, this will also release to PyPI.\n2. Your day-to-day work should exist on branches separate from `main`. Even if it is\n   just yourself working on the repository, make a PR from your working branch to `main`\n   so that you can ensure your commits don't break the development head. GitHub Actions\n   will run on every push to any branch or any pull request from any branch to any other\n   branch.\n3. It is recommended to use \"Squash and Merge\" commits when committing PR's. It makes\n   each set of changes to `main` atomic and as a side effect naturally encourages small\n   well defined PR's.\n\n## Introduction to Remote Databases \n### AWS S3\n1. Pre-requisites\n   * Obtain an AWS account for AICS. Please contact the IT team or the code owner. \n   * Generate an `aws_access_key_id` and `aws_secret_access_key` in your AWS account.\n\n2. Step-by-step Guide\n   * Download and install the [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html)\n   * Configure AWS CLI by running `aws configure`, then enter your credentials as prompted.\n   * Ensure that Boto3, the AWS SDK for Python is installed and included in the requirements section of `setup.py`. \n\n### Firebase Firestore\n1. Step-by-step Guide\n   * Create a Firebase project in test mode with your google account, select `firebase_admin` as the SDK. [Firebase Firestore tutorial](https://firebase.google.com/docs/firestore)\n   * Generate a new private key by navigating to \"Project settings\">\"Service account\" in the project's dashboard.\n\n**MIT license**\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "algorithm to pack molecular recipes",
    "version": "1.0.8",
    "project_urls": {
        "Homepage": "https://github.com/mesoscope/cellpack"
    },
    "split_keywords": [
        "cellpack"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3cd4d5850a8dd083d803e60cdd4be95892f3eff214702a5d51d74c7b227036d8",
                "md5": "bd188ef1a6fd595d9170e4a2f7ce67f3",
                "sha256": "1e88321eba0fcb076e04bbe0453af42a8f6b997f4ccc2ec907ef31186b3af30c"
            },
            "downloads": -1,
            "filename": "cellpack-1.0.8-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bd188ef1a6fd595d9170e4a2f7ce67f3",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 338015,
            "upload_time": "2024-04-02T22:31:58",
            "upload_time_iso_8601": "2024-04-02T22:31:58.204058Z",
            "url": "https://files.pythonhosted.org/packages/3c/d4/d5850a8dd083d803e60cdd4be95892f3eff214702a5d51d74c7b227036d8/cellpack-1.0.8-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "abbf3485bfb950b2e5f5fb0760e75aa563f2bb66352d9e05e6d90daff4b55140",
                "md5": "fe48111ce4bc419285f6f44a3d0c0fbe",
                "sha256": "7a0323b1958def06dee851ea3d79a517df68ed6786a986e6181443c5e929c9e8"
            },
            "downloads": -1,
            "filename": "cellpack-1.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "fe48111ce4bc419285f6f44a3d0c0fbe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 313829,
            "upload_time": "2024-04-02T22:32:04",
            "upload_time_iso_8601": "2024-04-02T22:32:04.059793Z",
            "url": "https://files.pythonhosted.org/packages/ab/bf/3485bfb950b2e5f5fb0760e75aa563f2bb66352d9e05e6d90daff4b55140/cellpack-1.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-02 22:32:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mesoscope",
    "github_project": "cellpack",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "cellpack"
}
        
Elapsed time: 0.22601s