[![Language][language-badge]][language-link]
[![Code Style][code-style-badge]][code-style-link]
[![Type Checked][type-checking-badge]][type-checking-link]
[![PEP8][pep-8-badge]][pep-8-link]
[![Code Coverage][code-coverage-badge]][code-coverage-link]
[![License][license-badge]][license-link]
---
[![Python package][python-package-badge]][python-package-link]
[![PyPI version][pypi-badge]][pypi-link]
[![PyPI download total][pypi-downloads-badge]][pypi-downloads-link]
---
[language-badge]: http://img.shields.io/badge/language-python-brightgreen.svg
[language-link]: http://www.python.org/
[code-style-badge]: https://img.shields.io/badge/code%20style-black-000000.svg
[code-style-link]: https://black.readthedocs.io/en/stable/
[type-checking-badge]: http://www.mypy-lang.org/static/mypy_badge.svg
[type-checking-link]: http://mypy-lang.org/
[pep-8-badge]: https://img.shields.io/badge/code%20style-pep8-brightgreen.svg
[pep-8-link]: https://www.python.org/dev/peps/pep-0008/
[code-coverage-badge]: https://codecov.io/gh/fulcrumgenomics/pybedlite/branch/main/graph/badge.svg
[code-coverage-link]: https://codecov.io/gh/fulcrumgenomics/pybedlite
[license-badge]: http://img.shields.io/badge/license-MIT-blue.svg
[license-link]: https://github.com/fulcrumgenomics/pybedlite/blob/main/LICENSE
[python-package-badge]: https://github.com/fulcrumgenomics/pybedlite/workflows/Python%20package/badge.svg
[python-package-link]: https://github.com/fulcrumgenomics/pybedlite/actions?query=workflow%3A%22Python+package%22
[pypi-badge]: https://badge.fury.io/py/pybedlite.svg
[pypi-link]: https://pypi.python.org/pypi/pybedlite
[pypi-downloads-badge]: https://img.shields.io/pypi/dm/pybedlite
[pypi-downloads-link]: https://pypi.python.org/pypi/pybedlite
# pybedlite
See documentation on [pybedlite.readthedocs.org][rtd-link].
```
pip install pybedlite
```
OR
```
conda install -c bioconda pybedlite
```
OR
```
conda create -n pybedlite pybedlite
conda activate pybedlite
```
[rtd-link]: http://pybedlite.readthedocs.org/en/stable
**Requires python 3.8+** (for python < 3.8, please use pybedlite <= 0.0.3)
# Getting Setup for Development Work
Clone the repository to your local machine. Note that pybedlite >= 0.0.4 includes [cgranges][cgranges-link] as a submodule, so you must use the `--recurse-submodules` option:
```
git clone --recurse-submodules https://github.com/fulcrumgenomics/pybedlite.git
```
[Poetry][poetry-link] is used to manage the python development environment.
A simple way to create an environment with the desired version of python and poetry is to use [conda][conda-link]. E.g.:
```bash
conda create -n pybedlite python=3.8 poetry
conda activate pybedlite
poetry install
```
If the methods listed above do not work try the following:
```bash
mamba create -n pybedlite -c conda-forge "python=3.9.16" "poetry=1.6.1"
mamba activate pybedlite
poetry install
```
If, during `poetry install` on Mac OS X errors are encountered running gcc/clang to build `pybedtools` or other packages with native code, try setting the following and re-running `poetry install`:
```bash
export CFLAGS="-stdlib=libc++"
```
[poetry-link]: https://github.com/python-poetry/poetry
[conda-link]: https://docs.conda.io/en/latest/miniconda.html
[cgranges-link]: https://github.com/lh3/cgranges
## Checking the Build
### Run all checks with:
```bash
./ci/check.sh
```
Raw data
{
"_id": null,
"home_page": "https://github.com/fulcrumgenomics/pybedlite",
"name": "pybedlite",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0.0,>=3.8.0",
"maintainer_email": null,
"keywords": "bioinformatics",
"author": "Nils Homer",
"author_email": "nils@fulcrumgenomics.com",
"download_url": "https://files.pythonhosted.org/packages/ef/fb/810854634eac996cdcb4026e12ede0882ebb56035630bee8149832de66f1/pybedlite-1.0.0.tar.gz",
"platform": null,
"description": "\n[![Language][language-badge]][language-link]\n[![Code Style][code-style-badge]][code-style-link]\n[![Type Checked][type-checking-badge]][type-checking-link]\n[![PEP8][pep-8-badge]][pep-8-link]\n[![Code Coverage][code-coverage-badge]][code-coverage-link]\n[![License][license-badge]][license-link]\n\n---\n\n[![Python package][python-package-badge]][python-package-link]\n[![PyPI version][pypi-badge]][pypi-link]\n[![PyPI download total][pypi-downloads-badge]][pypi-downloads-link]\n\n---\n\n[language-badge]: http://img.shields.io/badge/language-python-brightgreen.svg\n[language-link]: http://www.python.org/\n[code-style-badge]: https://img.shields.io/badge/code%20style-black-000000.svg\n[code-style-link]: https://black.readthedocs.io/en/stable/ \n[type-checking-badge]: http://www.mypy-lang.org/static/mypy_badge.svg\n[type-checking-link]: http://mypy-lang.org/\n[pep-8-badge]: https://img.shields.io/badge/code%20style-pep8-brightgreen.svg\n[pep-8-link]: https://www.python.org/dev/peps/pep-0008/\n[code-coverage-badge]: https://codecov.io/gh/fulcrumgenomics/pybedlite/branch/main/graph/badge.svg\n[code-coverage-link]: https://codecov.io/gh/fulcrumgenomics/pybedlite\n[license-badge]: http://img.shields.io/badge/license-MIT-blue.svg\n[license-link]: https://github.com/fulcrumgenomics/pybedlite/blob/main/LICENSE\n[python-package-badge]: https://github.com/fulcrumgenomics/pybedlite/workflows/Python%20package/badge.svg\n[python-package-link]: https://github.com/fulcrumgenomics/pybedlite/actions?query=workflow%3A%22Python+package%22\n[pypi-badge]: https://badge.fury.io/py/pybedlite.svg\n[pypi-link]: https://pypi.python.org/pypi/pybedlite\n[pypi-downloads-badge]: https://img.shields.io/pypi/dm/pybedlite\n[pypi-downloads-link]: https://pypi.python.org/pypi/pybedlite\n\n# pybedlite\n\nSee documentation on [pybedlite.readthedocs.org][rtd-link].\n\n```\npip install pybedlite\n```\nOR\n```\nconda install -c bioconda pybedlite\n```\nOR\n```\nconda create -n pybedlite pybedlite\nconda activate pybedlite\n```\n\n[rtd-link]: http://pybedlite.readthedocs.org/en/stable\n\n**Requires python 3.8+** (for python < 3.8, please use pybedlite <= 0.0.3)\n\n# Getting Setup for Development Work\n\nClone the repository to your local machine. Note that pybedlite >= 0.0.4 includes [cgranges][cgranges-link] as a submodule, so you must use the `--recurse-submodules` option:\n```\ngit clone --recurse-submodules https://github.com/fulcrumgenomics/pybedlite.git\n```\n\n[Poetry][poetry-link] is used to manage the python development environment.\n\nA simple way to create an environment with the desired version of python and poetry is to use [conda][conda-link]. E.g.:\n\n```bash\nconda create -n pybedlite python=3.8 poetry\nconda activate pybedlite\npoetry install\n```\n\nIf the methods listed above do not work try the following:\n```bash\nmamba create -n pybedlite -c conda-forge \"python=3.9.16\" \"poetry=1.6.1\"\nmamba activate pybedlite\npoetry install\n```\n\nIf, during `poetry install` on Mac OS X errors are encountered running gcc/clang to build `pybedtools` or other packages with native code, try setting the following and re-running `poetry install`:\n```bash\nexport CFLAGS=\"-stdlib=libc++\"\n``` \n\n[poetry-link]: https://github.com/python-poetry/poetry\n[conda-link]: https://docs.conda.io/en/latest/miniconda.html\n[cgranges-link]: https://github.com/lh3/cgranges\n\n## Checking the Build\n### Run all checks with:\n```bash\n./ci/check.sh\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python classes for interfacing with bed intervals",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/fulcrumgenomics/pybedlite",
"Repository": "https://github.com/fulcrumgenomics/pybedlite"
},
"split_keywords": [
"bioinformatics"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cf83b3f2091eca1b0d86b9a5dfdf3fe253b57ebb3bb1e2bc625a49e318a17d8b",
"md5": "b9a0aa165858dfdf493ab2fdf960363c",
"sha256": "f75a313c1a30435e18cb4f1c905ff742b90e41dd99013bcebcc0e6923ccd6177"
},
"downloads": -1,
"filename": "pybedlite-1.0.0-cp312-cp312-macosx_14_0_x86_64.whl",
"has_sig": false,
"md5_digest": "b9a0aa165858dfdf493ab2fdf960363c",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": "<4.0.0,>=3.8.0",
"size": 186760,
"upload_time": "2024-08-02T16:31:32",
"upload_time_iso_8601": "2024-08-02T16:31:32.616190Z",
"url": "https://files.pythonhosted.org/packages/cf/83/b3f2091eca1b0d86b9a5dfdf3fe253b57ebb3bb1e2bc625a49e318a17d8b/pybedlite-1.0.0-cp312-cp312-macosx_14_0_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "effb810854634eac996cdcb4026e12ede0882ebb56035630bee8149832de66f1",
"md5": "361bb382c3b279c9d27c31694541aa3c",
"sha256": "c87a246a673f69b929103176b744b6ad6978b63fae45f1ca6becc315a72d671c"
},
"downloads": -1,
"filename": "pybedlite-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "361bb382c3b279c9d27c31694541aa3c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.8.0",
"size": 131273,
"upload_time": "2024-08-02T16:31:33",
"upload_time_iso_8601": "2024-08-02T16:31:33.845026Z",
"url": "https://files.pythonhosted.org/packages/ef/fb/810854634eac996cdcb4026e12ede0882ebb56035630bee8149832de66f1/pybedlite-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-02 16:31:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fulcrumgenomics",
"github_project": "pybedlite",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pybedlite"
}