# Grikod (Gri Kod, Gray Code)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_shield)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod.svg?type=shield&issueType=security)](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_shield&issueType=security)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod.svg?type=small)](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_small)
[![Documentation Status](https://readthedocs.org/projects/grikod/badge/?version=main)](https://grikod.readthedocs.io/en/main/?badge=main)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.12731346.svg)](https://doi.org/10.5281/zenodo.12731346)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14029245.svg)](https://doi.org/10.5281/zenodo.14029245)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14029276.svg)](https://doi.org/10.5281/zenodo.14029276)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14099425.svg)](https://doi.org/10.5281/zenodo.14099425)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14099659.svg)](https://doi.org/10.5281/zenodo.14099659)
[![Anaconda-Server Badge](https://anaconda.org/bilgi/grikod/badges/version.svg)](https://anaconda.org/bilgi/grikod)
[![Anaconda-Server Badge](https://anaconda.org/bilgi/grikod/badges/latest_release_date.svg)](https://anaconda.org/bilgi/grikod)
[![Anaconda-Server Badge](https://anaconda.org/bilgi/grikod/badges/platforms.svg)](https://anaconda.org/bilgi/grikod)
[![Anaconda-Server Badge](https://anaconda.org/bilgi/grikod/badges/license.svg)](https://anaconda.org/bilgi/grikod)
[![Open Source](https://img.shields.io/badge/Open%20Source-Open%20Source-brightgreen.svg)](https://opensource.org/)
[![MIT License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Apache License 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
---
## Tanım (Türkçe)
Gri Kod: Grikod İkili sayıları Gri Koda çevirir
## Description (English)
Gri Kod: Grikod converts binary numbers to Gray Code.
![Gri Kod](https://i.imgur.com/6wpucpo.png)
---
## Kurulum (Türkçe) / Installation (English)
### Python ile Kurulum / Install with pip, conda, mamba
```bash
git clone https://github.com/KuantumBS/grikod.git
cd grikod
python -m pip install .
```
```bash
pip install grikod -U
python -m pip install -U grikod
conda install bilgi::grikod -y
mamba install bilgi::grikod -y
```
```diff
- pip uninstall grikod -y
+ pip install -U grikod
+ python -m pip install -U grikod
```
[PyPI](https://pypi.org/project/grikod/)
### Test Kurulumu / Test Installation
```bash
pip install -i https://test.pypi.org/simple/ grikod -U
```
### Github Master Kurulumu / GitHub Master Installation
**Terminal:**
```bash
pip install git+https://github.com/KuantumBS/grikod.git
```
**Jupyter Lab, Notebook, Visual Studio Code:**
```python
!pip install git+https://github.com/KuantumBS/grikod.git
# or
%pip install git+https://github.com/KuantumBS/grikod.git
```
---
## Kullanım (Türkçe) / Usage (English)
```python
import grikod # Restart Kernel veya/or Restart Kernel and Clear Outputs
# veya/or
import importlib
import grikod
importlib.reload(grikod) # Modülünüzün ana dosyasını burada yeniden yükler
# Run this cell (Shift+Enter): Input: 100
# Output example
# 000:000
# 001:001
# 010:011
# 011:010
# 100:110
# 101:111
# 110:101
# 111:100
```
```python
import grikod
grikod.__version__
```
---
### Development
```
Terminal
git clone https://github.com/KuantumBS/grikod.git
cd grikod
python -m pip install -ve . # Install package in development mode
Notebook, Jupyterlab, Colab, Visual Studio Code
!python -m pip install git+https://github.com/KuantumBS/grikod.git
```
---
## Citation
If this library was useful to you in your research, please cite us. Following the [GitHub citation standards](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files), here is the recommended citation.
### BibTeX
```bibtex
@software{Kececi_Gri_Kod_2024,
author = {Keçeci, Mehmet},
license = {MIT},
month = nov,
title = {{Gri Kod}},
url = {https://pypi.org/project/grikod/},
version = {1.0.80},
year = {2024}
}
```
### APA
```
Keçeci, M. (2024). Gri Kod: Grikod converts binary numbers to Gray Code. (Version 1.0.80) [Computer software]. https://pypi.org/project/grikod/
```
### Chicago
```
Keçeci, Mehmet. “Grikod”. Anaconda, Inc., November 12, 2024. https://doi.org/10.5281/zenodo.14099659.
Keçeci, Mehmet. “Grikod”. PYPI, Python Package Index, Python Software Foundation, November 12, 2024. https://doi.org/10.5281/zenodo.14099425.
Keçeci, Mehmet. “Grikod”. Anaconda, Inc., November 01, 2024. https://zenodo.org/records/14029276.
Keçeci, Mehmet. “Grikod”. Python Package Index, November 01, 2024. https://zenodo.org/records/14029245.
Keçeci, Mehmet. “Grikod”. Python Package Index, October 29, 2024. https://doi.org/10.5281/zenodo.14004878.
Keçeci, Mehmet. “Grikod”. Anaconda, Inc., October 29, 2024. https://doi.org/10.5281/zenodo.14004846.
Keçeci, Mehmet. “Grikod.” PYPI, February 18, 2024. https://doi.org/10.5281/zenodo.12731346.
```
---
## Lisans (Türkçe) / License (English)
Açık Kaynak: MIT, Apache License 2.0, GNU General Public License (GPL), GPLv3
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_large)
[Grikod YouTube Video Linki](https://www.youtube.com/watch?v=IJnIpOuV92E)
Raw data
{
"_id": null,
"home_page": null,
"name": "grikod",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Gri Kod, Encoding, Binary, Gray Code",
"author": null,
"author_email": "Mehmet Ke\u00e7eci <mkececi@yaani.com>",
"download_url": "https://files.pythonhosted.org/packages/1f/ca/7e7cf69c185a6b5a58480ac131f25a13ee6ea562ae0676266a9e6e9b0ea4/grikod-1.0.80.tar.gz",
"platform": null,
"description": "# Grikod (Gri Kod, Gray Code)\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_shield)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod.svg?type=shield&issueType=security)](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_shield&issueType=security)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod.svg?type=small)](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_small)\n\n[![Documentation Status](https://readthedocs.org/projects/grikod/badge/?version=main)](https://grikod.readthedocs.io/en/main/?badge=main)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.12731346.svg)](https://doi.org/10.5281/zenodo.12731346)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14029245.svg)](https://doi.org/10.5281/zenodo.14029245)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14029276.svg)](https://doi.org/10.5281/zenodo.14029276)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14099425.svg)](https://doi.org/10.5281/zenodo.14099425)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14099659.svg)](https://doi.org/10.5281/zenodo.14099659)\n\n[![Anaconda-Server Badge](https://anaconda.org/bilgi/grikod/badges/version.svg)](https://anaconda.org/bilgi/grikod)\n[![Anaconda-Server Badge](https://anaconda.org/bilgi/grikod/badges/latest_release_date.svg)](https://anaconda.org/bilgi/grikod)\n[![Anaconda-Server Badge](https://anaconda.org/bilgi/grikod/badges/platforms.svg)](https://anaconda.org/bilgi/grikod)\n[![Anaconda-Server Badge](https://anaconda.org/bilgi/grikod/badges/license.svg)](https://anaconda.org/bilgi/grikod)\n\n[![Open Source](https://img.shields.io/badge/Open%20Source-Open%20Source-brightgreen.svg)](https://opensource.org/)\n[![MIT License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Apache License 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n---\n\n## Tan\u0131m (T\u00fcrk\u00e7e)\n\nGri Kod: Grikod \u0130kili say\u0131lar\u0131 Gri Koda \u00e7evirir\n\n## Description (English)\n\nGri Kod: Grikod converts binary numbers to Gray Code.\n\n![Gri Kod](https://i.imgur.com/6wpucpo.png)\n\n---\n\n## Kurulum (T\u00fcrk\u00e7e) / Installation (English)\n\n### Python ile Kurulum / Install with pip, conda, mamba\n\n```bash\ngit clone https://github.com/KuantumBS/grikod.git\ncd grikod\npython -m pip install .\n```\n\n```bash\npip install grikod -U\n\npython -m pip install -U grikod\n\nconda install bilgi::grikod -y\n\nmamba install bilgi::grikod -y\n```\n\n```diff\n- pip uninstall grikod -y\n+ pip install -U grikod\n+ python -m pip install -U grikod\n```\n\n[PyPI](https://pypi.org/project/grikod/)\n\n### Test Kurulumu / Test Installation\n\n```bash\npip install -i https://test.pypi.org/simple/ grikod -U\n```\n\n### Github Master Kurulumu / GitHub Master Installation\n\n**Terminal:**\n\n```bash\npip install git+https://github.com/KuantumBS/grikod.git\n```\n\n**Jupyter Lab, Notebook, Visual Studio Code:**\n\n```python\n!pip install git+https://github.com/KuantumBS/grikod.git\n# or\n%pip install git+https://github.com/KuantumBS/grikod.git\n```\n\n---\n\n## Kullan\u0131m (T\u00fcrk\u00e7e) / Usage (English)\n\n```python\nimport grikod # Restart Kernel veya/or Restart Kernel and Clear Outputs\n\n# veya/or\nimport importlib\nimport grikod\nimportlib.reload(grikod) # Mod\u00fcl\u00fcn\u00fcz\u00fcn ana dosyas\u0131n\u0131 burada yeniden y\u00fckler\n\n# Run this cell (Shift+Enter): Input: 100\n# Output example\n# 000:000\n# 001:001\n# 010:011\n# 011:010\n# 100:110\n# 101:111\n# 110:101\n# 111:100\n```\n```python\nimport grikod\ngrikod.__version__\n```\n---\n\n### Development\n\n```\nTerminal\ngit clone https://github.com/KuantumBS/grikod.git\ncd grikod\npython -m pip install -ve . # Install package in development mode\n\nNotebook, Jupyterlab, Colab, Visual Studio Code\n!python -m pip install git+https://github.com/KuantumBS/grikod.git\n```\n---\n\n## Citation\n\nIf this library was useful to you in your research, please cite us. Following the [GitHub citation standards](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files), here is the recommended citation.\n\n### BibTeX\n\n```bibtex\n@software{Kececi_Gri_Kod_2024,\n author = {Ke\u00e7eci, Mehmet},\n license = {MIT},\n month = nov,\n title = {{Gri Kod}},\n url = {https://pypi.org/project/grikod/},\n version = {1.0.80},\n year = {2024}\n}\n```\n\n### APA\n\n```\nKe\u00e7eci, M. (2024). Gri Kod: Grikod converts binary numbers to Gray Code. (Version 1.0.80) [Computer software]. https://pypi.org/project/grikod/\n```\n\n### Chicago\n\n```\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Anaconda, Inc., November 12, 2024. https://doi.org/10.5281/zenodo.14099659.\n\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. PYPI, Python Package Index, Python Software Foundation, November 12, 2024. https://doi.org/10.5281/zenodo.14099425.\n\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Anaconda, Inc., November 01, 2024. https://zenodo.org/records/14029276.\n\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Python Package Index, November 01, 2024. https://zenodo.org/records/14029245.\n\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Python Package Index, October 29, 2024. https://doi.org/10.5281/zenodo.14004878.\n\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Anaconda, Inc., October 29, 2024. https://doi.org/10.5281/zenodo.14004846.\n\nKe\u00e7eci, Mehmet. \u201cGrikod.\u201d PYPI, February 18, 2024. https://doi.org/10.5281/zenodo.12731346.\n```\n---\n\n## Lisans (T\u00fcrk\u00e7e) / License (English)\n\nA\u00e7\u0131k Kaynak: MIT, Apache License 2.0, GNU General Public License (GPL), GPLv3\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_large)\n\n[Grikod YouTube Video Linki](https://www.youtube.com/watch?v=IJnIpOuV92E)\n",
"bugtrack_url": null,
"license": "A\u00e7\u0131k Kaynak: Open Source MIT Apache License 2.0 ",
"summary": "\u0130kili say\u0131lar\u0131 Gri Koda \u00e7evirir. Grikod (Gri Kod, Gray Code, Grey Code)",
"version": "1.0.80",
"project_urls": {
"Homepage": "https://github.com/KuantumBS/grikod/"
},
"split_keywords": [
"gri kod",
" encoding",
" binary",
" gray code"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "246d4db3fe27cee5acad30c02519ac3b628f77b23a8276ccba9ebf6c984595f8",
"md5": "be6a061124c0b4cfcc563cc5091f9907",
"sha256": "cfa7e88084149d8aa502a5a489343e61880702c08d3b4d34247f4d0fbc3c5cc3"
},
"downloads": -1,
"filename": "grikod-1.0.80-py3-none-any.whl",
"has_sig": false,
"md5_digest": "be6a061124c0b4cfcc563cc5091f9907",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5099,
"upload_time": "2024-11-13T17:31:50",
"upload_time_iso_8601": "2024-11-13T17:31:50.715003Z",
"url": "https://files.pythonhosted.org/packages/24/6d/4db3fe27cee5acad30c02519ac3b628f77b23a8276ccba9ebf6c984595f8/grikod-1.0.80-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1fca7e7cf69c185a6b5a58480ac131f25a13ee6ea562ae0676266a9e6e9b0ea4",
"md5": "11f57e519518754e0f0e30fcf5a7b2bc",
"sha256": "6594a62d3186107361c7c734257c4ecabc450b49ce2b2b3d0bb1b23c91bbdd08"
},
"downloads": -1,
"filename": "grikod-1.0.80.tar.gz",
"has_sig": false,
"md5_digest": "11f57e519518754e0f0e30fcf5a7b2bc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5216,
"upload_time": "2024-11-13T17:31:51",
"upload_time_iso_8601": "2024-11-13T17:31:51.944899Z",
"url": "https://files.pythonhosted.org/packages/1f/ca/7e7cf69c185a6b5a58480ac131f25a13ee6ea562ae0676266a9e6e9b0ea4/grikod-1.0.80.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-13 17:31:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "KuantumBS",
"github_project": "grikod",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "grikod"
}