Converts binary numbers to Gray Code. Grikod (Gray Code, Grey Code)
Project description
Grikod (Gri Kod, Gray Code)
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
pip install grikod -U
python -m pip install -U grikod
conda install bilgi::grikod -y
mamba install bilgi::grikod -y
- pip uninstall grikod -y
+ pip install -U grikod
+ python -m pip install -U grikod
Test Kurulumu / Test Installation
pip install -i https://test.pypi.org/simple/ grikod -U
Github Master Kurulumu / GitHub Master Installation
Terminal:
pip install git+https://github.com/KuantumBS/grikod.git
Jupyter Lab, Notebook, Visual Studio Code:
!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)
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
import grikod
grikod.__version__
Development
# 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, here is the recommended citation.
BibTeX
@software{kececi_2025_15351842,
author = {Keçeci, Mehmet},
title = {Grikod},
month = may,
year = 2025,
publisher = {GitHub, PYPI (Python Package Index, Python
Software Foundation), Anaconda, Zenodo
},
doi = {10.5281/zenodo.15351842},
url = {https://doi.org/10.5281/zenodo.15351842},
}
@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}
}
@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). Grikod. GitHub, PYPI (Python Package Index, Python Software Foundation), Anaconda, Zenodo. https://doi.org/10.5281/zenodo.15351842
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”. GitHub, PYPI (Python Package Index, Python Software Foundation), Anaconda, Zenodo, 06 Mayıs 2025. https://doi.org/10.5281/zenodo.15351842.
Keçeci, Mehmet. “Grikod”. PYPI, Python Package Index, Python Software Foundation, Anaconda, 03 Şubat 2025. https://doi.org/10.5281/zenodo.14793874.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grikod-1.1.2.tar.gz.
File metadata
- Download URL: grikod-1.1.2.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8953bbd6a0f9aae308ec664fe10020368e22c9d934cd7aa7325989a9626de361
|
|
| MD5 |
3c8155215fc27c142bf958cd9a9fca94
|
|
| BLAKE2b-256 |
956f28935ab0d27850a4944f011074b0dfd590a5f88225e6163d22d4dcf0fa4a
|
Provenance
The following attestation bundles were made for grikod-1.1.2.tar.gz:
Publisher:
workflow.yml on KuantumBS/grikod
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grikod-1.1.2.tar.gz -
Subject digest:
8953bbd6a0f9aae308ec664fe10020368e22c9d934cd7aa7325989a9626de361 - Sigstore transparency entry: 211270121
- Sigstore integration time:
-
Permalink:
KuantumBS/grikod@4582ce16f722d0a22e4365f5030564c0a9c60ffa -
Branch / Tag:
refs/heads/main - Owner: https://github.com/KuantumBS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@4582ce16f722d0a22e4365f5030564c0a9c60ffa -
Trigger Event:
push
-
Statement type:
File details
Details for the file grikod-1.1.2-py3-none-any.whl.
File metadata
- Download URL: grikod-1.1.2-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
689fd7d8c287af8610e0a107c18c81d3578d2a699c9452dd193570dd4ef3ebd0
|
|
| MD5 |
8bf7404ce408ed521d9d982c0440da23
|
|
| BLAKE2b-256 |
d5d0487c412e6fce6a022cdc9f044827f9c140d3a87cb654050fad9e45fe68a1
|
Provenance
The following attestation bundles were made for grikod-1.1.2-py3-none-any.whl:
Publisher:
workflow.yml on KuantumBS/grikod
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grikod-1.1.2-py3-none-any.whl -
Subject digest:
689fd7d8c287af8610e0a107c18c81d3578d2a699c9452dd193570dd4ef3ebd0 - Sigstore transparency entry: 211270127
- Sigstore integration time:
-
Permalink:
KuantumBS/grikod@4582ce16f722d0a22e4365f5030564c0a9c60ffa -
Branch / Tag:
refs/heads/main - Owner: https://github.com/KuantumBS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yml@4582ce16f722d0a22e4365f5030564c0a9c60ffa -
Trigger Event:
push
-
Statement type: