Name | grikod JSON |
Version |
1.1.0
JSON |
| download |
home_page | https://github.com/KuantumBS/grikod |
Summary | Converts binary numbers to Gray Code. Grikod (Gray Code, Grey Code) |
upload_time | 2025-02-03 04:06:21 |
maintainer | None |
docs_url | None |
author | Mehmet Keçeci |
requires_python | >=3.8 |
license | MIT License
Copyright (c) 2024 Mehmet Keçeci
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
|
keywords |
gri kod
gray code
binary
encoding
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Grikod (Gri Kod, Gray Code)
[](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_shield)
[](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_shield&issueType=security)
[](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_small)
[](https://grikod.readthedocs.io/en/main/?badge=main)
[](https://doi.org/10.5281/zenodo.14148764)
[](https://doi.org/10.5281/zenodo.14147520)
[](https://doi.org/10.5281/zenodo.12731346)
[](https://doi.org/10.5281/zenodo.14029245)
[](https://doi.org/10.5281/zenodo.14029276)
[](https://doi.org/10.5281/zenodo.14099425)
[](https://doi.org/10.5281/zenodo.14099659)
[](https://anaconda.org/bilgi/grikod)
[](https://anaconda.org/bilgi/grikod)
[](https://anaconda.org/bilgi/grikod)
[](https://anaconda.org/bilgi/grikod)
[](https://opensource.org/)
[](https://opensource.org/licenses/MIT)
A Python library for converting binary numbers to Gray Code with ease.
---
## 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.
---
## Kurulum (Türkçe) / Installation (English)
### Python ile Kurulum / Install with pip, conda, mamba
```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
```bash
# Clone the repository
git clone https://github.com/KuantumBS/grikod.git
cd grikod
# Install in development mode
python -m pip install -ve . # Install package in development mode
# Run tests
pytest
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.1.0},
year = {2025}
}
```
```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. (2025). Gri Kod: Grikod converts binary numbers to Gray Code. (Version 1.1.0) [Computer software]. https://pypi.org/project/grikod/
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 13, 2024. https://doi.org/10.5281/zenodo.14148764.
Keçeci, Mehmet. “Grikod”. PYPI, Python Package Index, Python Software Foundation, November 13, 2024. https://doi.org/10.5281/zenodo.14147520.
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)
This project is licensed under the MIT License.
[](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": "https://github.com/KuantumBS/grikod",
"name": "grikod",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Gri Kod, Gray Code, Binary, Encoding",
"author": "Mehmet Ke\u00e7eci",
"author_email": "Mehmet Ke\u00e7eci <mkececi@yaani.com>",
"download_url": "https://files.pythonhosted.org/packages/7c/d8/113169e562cf212f3fc63d3bdd7bc1511af017e67dd098a3d82d49bc98f1/grikod-1.1.0.tar.gz",
"platform": null,
"description": "# Grikod (Gri Kod, Gray Code)\r\n\r\n[](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_shield)\r\n[](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_shield&issueType=security)\r\n[](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_small)\r\n[](https://grikod.readthedocs.io/en/main/?badge=main)\r\n[](https://doi.org/10.5281/zenodo.14148764)\r\n[](https://doi.org/10.5281/zenodo.14147520)\r\n[](https://doi.org/10.5281/zenodo.12731346)\r\n[](https://doi.org/10.5281/zenodo.14029245)\r\n[](https://doi.org/10.5281/zenodo.14029276)\r\n[](https://doi.org/10.5281/zenodo.14099425)\r\n[](https://doi.org/10.5281/zenodo.14099659)\r\n[](https://anaconda.org/bilgi/grikod)\r\n[](https://anaconda.org/bilgi/grikod)\r\n[](https://anaconda.org/bilgi/grikod)\r\n[](https://anaconda.org/bilgi/grikod)\r\n[](https://opensource.org/)\r\n[](https://opensource.org/licenses/MIT)\r\n\r\nA Python library for converting binary numbers to Gray Code with ease.\r\n\r\n---\r\n\r\n## Tan\u0131m (T\u00fcrk\u00e7e)\r\nGri Kod: Grikod \u0130kili say\u0131lar\u0131 Gri Koda \u00e7evirir.\r\n\r\n## Description (English)\r\nGri Kod: Grikod converts binary numbers to Gray Code.\r\n\r\n---\r\n\r\n## Kurulum (T\u00fcrk\u00e7e) / Installation (English)\r\n\r\n### Python ile Kurulum / Install with pip, conda, mamba\r\n```bash\r\npip install grikod -U\r\npython -m pip install -U grikod\r\nconda install bilgi::grikod -y\r\nmamba install bilgi::grikod -y\r\n```\r\n\r\n```diff\r\n- pip uninstall grikod -y\r\n+ pip install -U grikod\r\n+ python -m pip install -U grikod\r\n```\r\n\r\n[PyPI](https://pypi.org/project/grikod/)\r\n\r\n### Test Kurulumu / Test Installation\r\n\r\n```bash\r\npip install -i https://test.pypi.org/simple/ grikod -U\r\n```\r\n\r\n### Github Master Kurulumu / GitHub Master Installation\r\n\r\n**Terminal:**\r\n\r\n```bash\r\npip install git+https://github.com/KuantumBS/grikod.git\r\n```\r\n\r\n**Jupyter Lab, Notebook, Visual Studio Code:**\r\n\r\n```python\r\n!pip install git+https://github.com/KuantumBS/grikod.git\r\n# or\r\n%pip install git+https://github.com/KuantumBS/grikod.git\r\n```\r\n\r\n---\r\n\r\n## Kullan\u0131m (T\u00fcrk\u00e7e) / Usage (English)\r\n\r\n```python\r\nimport grikod # Restart Kernel veya/or Restart Kernel and Clear Outputs\r\n\r\n# veya/or\r\nimport importlib\r\nimport grikod\r\nimportlib.reload(grikod) # Mod\u00fcl\u00fcn\u00fcz\u00fcn ana dosyas\u0131n\u0131 burada yeniden y\u00fckler\r\n\r\n# Run this cell (Shift+Enter): Input: 100\r\n# Output example\r\n# 000:000\r\n# 001:001\r\n# 010:011\r\n# 011:010\r\n# 100:110\r\n# 101:111\r\n# 110:101\r\n# 111:100\r\n```\r\n```python\r\nimport grikod\r\ngrikod.__version__\r\n```\r\n---\r\n\r\n### Development\r\n```bash\r\n# Clone the repository\r\ngit clone https://github.com/KuantumBS/grikod.git\r\ncd grikod\r\n\r\n# Install in development mode\r\npython -m pip install -ve . # Install package in development mode\r\n\r\n# Run tests\r\npytest\r\n\r\nNotebook, Jupyterlab, Colab, Visual Studio Code\r\n!python -m pip install git+https://github.com/KuantumBS/grikod.git\r\n```\r\n---\r\n\r\n## Citation\r\n\r\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.\r\n\r\n### BibTeX\r\n\r\n```bibtex\r\n@software{Kececi_Gri_Kod_2024,\r\n author = {Ke\u00e7eci, Mehmet},\r\n license = {MIT},\r\n month = nov,\r\n title = {{Gri Kod}},\r\n url = {https://pypi.org/project/grikod/},\r\n version = {1.1.0},\r\n year = {2025}\r\n}\r\n```\r\n\r\n```bibtex\r\n@software{Kececi_Gri_Kod_2024,\r\n author = {Ke\u00e7eci, Mehmet},\r\n license = {MIT},\r\n month = nov,\r\n title = {{Gri Kod}},\r\n url = {https://pypi.org/project/grikod/},\r\n version = {1.0.80},\r\n year = {2024}\r\n}\r\n\r\n### APA\r\n\r\n```\r\nKe\u00e7eci, M. (2025). Gri Kod: Grikod converts binary numbers to Gray Code. (Version 1.1.0) [Computer software]. https://pypi.org/project/grikod/\r\n\r\nKe\u00e7eci, M. (2024). Gri Kod: Grikod converts binary numbers to Gray Code. (Version 1.0.80) [Computer software]. https://pypi.org/project/grikod/\r\n```\r\n\r\n### Chicago\r\n\r\n```\r\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Anaconda, Inc., November 13, 2024. https://doi.org/10.5281/zenodo.14148764.\r\n\r\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. PYPI, Python Package Index, Python Software Foundation, November 13, 2024. https://doi.org/10.5281/zenodo.14147520.\r\n\r\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Anaconda, Inc., November 12, 2024. https://doi.org/10.5281/zenodo.14099659.\r\n\r\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. PYPI, Python Package Index, Python Software Foundation, November 12, 2024. https://doi.org/10.5281/zenodo.14099425.\r\n\r\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Anaconda, Inc., November 01, 2024. https://zenodo.org/records/14029276.\r\n\r\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Python Package Index, November 01, 2024. https://zenodo.org/records/14029245.\r\n\r\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Python Package Index, October 29, 2024. https://doi.org/10.5281/zenodo.14004878.\r\n\r\nKe\u00e7eci, Mehmet. \u201cGrikod\u201d. Anaconda, Inc., October 29, 2024. https://doi.org/10.5281/zenodo.14004846.\r\n\r\nKe\u00e7eci, Mehmet. \u201cGrikod.\u201d PYPI, February 18, 2024. https://doi.org/10.5281/zenodo.12731346.\r\n```\r\n---\r\n\r\n## Lisans (T\u00fcrk\u00e7e) / License (English)\r\n\r\nThis project is licensed under the MIT License.\r\n\r\n[](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_large)\r\n\r\n[Grikod YouTube Video Linki](https://www.youtube.com/watch?v=IJnIpOuV92E)\r\n",
"bugtrack_url": null,
"license": "MIT License\r\n \r\n Copyright (c) 2024 Mehmet Ke\u00e7eci\r\n \r\n Permission is hereby granted, free of charge, to any person obtaining a copy\r\n of this software and associated documentation files (the \"Software\"), to deal\r\n in the Software without restriction, including without limitation the rights\r\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\n copies of the Software, and to permit persons to whom the Software is\r\n furnished to do so, subject to the following conditions:\r\n \r\n The above copyright notice and this permission notice shall be included in all\r\n copies or substantial portions of the Software.\r\n \r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\n SOFTWARE.\r\n ",
"summary": "Converts binary numbers to Gray Code. Grikod (Gray Code, Grey Code)",
"version": "1.1.0",
"project_urls": {
"Documentation": "https://kuantumbs.github.io/grikod/",
"Homepage": "https://github.com/KuantumBS/grikod/",
"Issues": "https://github.com/KuantumBS/grikod/issues",
"Repository": "https://github.com/KuantumBS/grikod/"
},
"split_keywords": [
"gri kod",
" gray code",
" binary",
" encoding"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "76728eb1e5763575c6f2ca06284c70997c48c3677ba772146225745cdcaf311c",
"md5": "549c5c6fa20c9b297ab9ebbf3b3329d0",
"sha256": "5879f6949ce9c8b039db9e46c2030c05db8cd6958c50369ced2fc46d1ce4d3c5"
},
"downloads": -1,
"filename": "grikod-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "549c5c6fa20c9b297ab9ebbf3b3329d0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6220,
"upload_time": "2025-02-03T04:06:20",
"upload_time_iso_8601": "2025-02-03T04:06:20.030455Z",
"url": "https://files.pythonhosted.org/packages/76/72/8eb1e5763575c6f2ca06284c70997c48c3677ba772146225745cdcaf311c/grikod-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "7cd8113169e562cf212f3fc63d3bdd7bc1511af017e67dd098a3d82d49bc98f1",
"md5": "e9162137f73705359b369518657dc01a",
"sha256": "03969d4aa0c157c4e37c0fd19daf6eedc3cfbb90037451f9561850817ac25950"
},
"downloads": -1,
"filename": "grikod-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e9162137f73705359b369518657dc01a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7591,
"upload_time": "2025-02-03T04:06:21",
"upload_time_iso_8601": "2025-02-03T04:06:21.320485Z",
"url": "https://files.pythonhosted.org/packages/7c/d8/113169e562cf212f3fc63d3bdd7bc1511af017e67dd098a3d82d49bc98f1/grikod-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-03 04:06:21",
"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"
}