grikod
İkili sayıları Gri Koda çevirir. Grikod converts binary numbers to Gray Code.
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 25 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.7%) to scientific vocabulary
Keywords
Repository
İkili sayıları Gri Koda çevirir. Grikod converts binary numbers to Gray Code.
Basic Info
- Host: GitHub
- Owner: KuantumBS
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://kuantumbs.github.io/grikod/
- Size: 411 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 16
Topics
Metadata Files
README.md
Grikod (Gri Kod, Gray Code)
| PyPI |
|
| Conda |
|
| DOI |
|
| License: 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
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 grikod.ikili2gri_kod("1010")
'1111' ```
```python
Restart Kernel veya/or Restart Kernel and Clear Outputs
import importlib import grikod
Önce alt modülü yeniden yükleyin
import grikod.grikod # gerekirse otomatik import edilir importlib.reload(grikod.grikod) # grikod.py dosyasını yeniden çalıştır
Ardından paketi yeniden yükleyin (isteğe bağlı)
importlib.reload(grikod)
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
python
import grikod
grikod.main() # CLI'ı başlat
or
python
import importlib
import grikod
importlib.reload(grikod) # Modülü yeniden yükle grikod.main() # Şimdi çalışmalı
Enter a binary number (or 'q' to quit): 100 Gray Code number: 110 Enter a binary number (or 'q' to quit): 111 Gray Code number: 100 Enter a binary number (or 'q' to quit): q Exiting... ```
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, here is the recommended citation.
BibTeX
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},
}
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{KececiGriKod_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.1; https://doi.org/10.48546/workflowhub.datafile.12.2
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.1; https://doi.org/10.48546/workflowhub.datafile.12.2
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.
[](https://app.fossa.com/projects/git%2Bgithub.com%2FKuantumBS%2Fgrikod?ref=badge_large)
Owner
- Name: KBS
- Login: KuantumBS
- Kind: organization
- Repositories: 3
- Profile: https://github.com/KuantumBS
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Gray Code
message: >-
If you use this software, please cite it using the
metadata from this file. / Eğer bu yazılımı
kullanıyorsanız, lütfen bu dosyadaki meta verileri
kullanarak atıfta bulunun.
type: software
authors:
- given-names: Mehmet
family-names: Keçeci
email: bilginomi@yaani.com
orcid: 'https://orcid.org/0000-0001-9937-9839'
identifiers:
- type: doi
value: 10.5281/zenodo.12731345
- type: doi
value: 10.48546/workflowhub.datafile.12.2
repository-code: 'https://github.com/KuantumBS/grikod'
url: 'https://github.com/KuantumBS/grikod'
repository: 'https://anaconda.org/bilgi/grikod'
repository-artifact: 'https://pypi.org/project/grikod/'
abstract: >-
A Python package for converting binary numbers to Gray
code, designed for efficient data encoding and scientific
applications.
keywords:
- Gri Kod
- Grikod
- Binary
- Gray Code
license: MIT
commit: 'Revision: 9'
version: 1.1.1
date-released: '2024-11-12'
GitHub Events
Total
- Release event: 30
- Delete event: 1
- Push event: 274
- Pull request event: 2
- Gollum event: 3
- Fork event: 1
- Create event: 9
Last Year
- Release event: 30
- Delete event: 1
- Push event: 274
- Pull request event: 2
- Gollum event: 3
- Fork event: 1
- Create event: 9
Packages
- Total packages: 1
-
Total downloads:
- pypi 57 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 11
- Total maintainers: 1
pypi.org: grikod
Converts binary numbers to Gray Code. Grikod (Gray Code, Grey Code)
- Homepage: https://github.com/KuantumBS/grikod
- Documentation: https://kuantumbs.github.io/grikod/
- 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.
-
Latest release: 1.1.4
published 7 months ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite
- actions/setup-python v3 composite
- actions/checkout v3 composite
- actions/setup-python v3 composite
- pypa/gh-action-pypi-publish 27b31702a0e7fc50959f5ad993c78deac1bdfc29 composite