Skip to main content

Converts binary numbers to Gray Code. Grikod (Gray Code, Grey Code)

Project description

Grikod (Gri Kod, Gray Code)

FOSSA Status FOSSA Status FOSSA Status Documentation Status

DOI

WorkflowHub DOI WorkflowHub DOI

Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge Open Source MIT License

Python CI codecov Documentation Status Binder PyPI version PyPI Downloads Linted with Ruff


PyPI PyPI version
Conda conda-forge version
DOI DOI
License: MIT License


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

PyPI

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_12731345,
  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.12731345},
  url          = {https://doi.org/10.5281/zenodo.12731345},
}
@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 [Data set]. WorkflowHub. https://doi.org/10.48546/workflowhub.datafile.12.2

Keçeci, M. (2025). Grikod [Data set]. WorkflowHub. https://doi.org/10.48546/workflowhub.datafile.12.1

Keçeci, M. (2025). Grikod. Zenodo. https://doi.org/10.5281/zenodo.12731345


### Chicago

Keçeci, Mehmet. "Grikod" [Data set]. WorkflowHub, 2025. https://doi.org/10.48546/workflowhub.datafile.12.2

Keçeci, Mehmet. "Grikod" [Data set]. WorkflowHub, 2025. https://doi.org/10.48546/workflowhub.datafile.12.1

Keçeci, Mehmet. "Grikod". Zenodo, 06 Mayıs 2025. https://doi.org/10.5281/zenodo.12731345.



### Lisans (Türkçe) / License (English)

This project is licensed under the MIT License.

FOSSA Status

Grikod YouTube Video Linki

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grikod-1.1.5.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grikod-1.1.5-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file grikod-1.1.5.tar.gz.

File metadata

  • Download URL: grikod-1.1.5.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for grikod-1.1.5.tar.gz
Algorithm Hash digest
SHA256 169712ad29d9bb63e3d8871c1d9e29f16f748eb3ce9b0c6b8649710718dc3f01
MD5 b94e7dee54be4c8f81357b911c9c6c4f
BLAKE2b-256 2348278e6b3babf247bf3f6385799cda72be40d19fbcc1ba6b7d5221299a5a8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for grikod-1.1.5.tar.gz:

Publisher: workflow.yml on KuantumBS/grikod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file grikod-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: grikod-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for grikod-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 18dd6b4348307810183fc733aa4a8f72ce4115e52fc4f38ffdd1821cae78ac9e
MD5 4148d09d6912a7daa08f02d89b0adab8
BLAKE2b-256 b57afecd0d2865284d7f50faf95359292c2abadcb258605dd9e65130557a63b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for grikod-1.1.5-py3-none-any.whl:

Publisher: workflow.yml on KuantumBS/grikod

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page