Skip to main content

turkce-seo-slug

Türkçe başlıklardan SEO uyumlu URL slug'ı üretir.

Generates SEO-friendly URL slugs from Turkish titles.

pip install turkce-seo-slug

Kullanım / Usage

from turkce_seo_slug import tr_slug

tr_slug("Çok güzel başlık! İstanbul'da")
# 'cok-guzel-baslik-istanbulda'

tr_slug("Uzun bir SEO başlığı örneği", max_length=15)
# 'uzun-bir-seo'   (kelime sınırında kesilir / cut at a word boundary)

tr_slug("Café Ünlü", lang="en")
# 'cafe-unlu'

Parametreler / Parameters

  • lang: "tr" (varsayılan / default) Türkçe harfleri aksansız karşılığına çevirir / converts Turkish letters to their plain ASCII forms. "en" yalnızca aksanları kaldırır / only removes accents.
  • separator: Kelimeler arasındaki ayırıcı / separator between words. Varsayılan / default "-".
  • max_length: Slug'ın en fazla uzunluğu / maximum slug length. Kelime sınırında keser, tek kelime bile sığmıyorsa sertçe keser / cuts at a word boundary; if a single word doesn't fit, it is cut hard.

Kesme işaretleri kelimeyi bölmez / Apostrophes do not split words: İstanbul'da → istanbulda.

Harf dönüşümleri turkce-harf paketinden gelir / Letter conversions come from the turkce-harf package.

Geliştirme / Development

pip install -e ".[test]"
pytest

Lisans / License

MIT

Metadata

Release files for turkce-seo-slug 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for turkce-seo-slug 0.1.1
File Size Uploaded Provenance Actions
turkce_seo_slug-0.1.1.tar.gz 4.5 kB Without provenance Details for turkce_seo_slug-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for turkce-seo-slug 0.1.1
File Interpreter ABI Platform Actions
turkce_seo_slug-0.1.1-py3-none-any.whl Python 3 none any Details for turkce_seo_slug-0.1.1-py3-none-any.whl

Total release size: 8.7 kB

Release files / turkce_seo_slug-0.1.1.tar.gz

Download URL turkce_seo_slug-0.1.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ecf79cf91896d92cbe2e3374e2046ca4ddbdbe0d11fd5bb51d617db4aa34fb82
BLAKE2b-256 checksum
How to use checksums
b3acfd38ee1f5c50c97b3678005713faafab6426bb8044af8511a020fb6cea5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / turkce_seo_slug-0.1.1-py3-none-any.whl

Download URL turkce_seo_slug-0.1.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ad2147e5a60aa5ee6f27ee095f5acfa4061ad8d59efdd8fe1055e3afb56320a
BLAKE2b-256 checksum
How to use checksums
e7eae475735c3017eef40fe2906eadc4de1f6e1b1d06adef2fcc6793628b6075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for turkce-seo-slug 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page