# skleernexample
مكتبة بايثون لحفظ وإدارة أمثلة أكواد scikit-learn
A Python library for storing and managing scikit-learn code examples.
## التثبيت | Installation
```bash
pip install skleernexample
```
## الأمثلة الجاهزة | Built-in Examples
المكتبة تحتوي على الأمثلة الجاهزة التالية:
The library comes with the following built-in examples:
1. `decision_tree` - شجرة القرار | Decision Tree
2. `random_forest` - الغابة العشوائية | Random Forest
3. `preprocessing` - معالجة البيانات | Data Preprocessing
4. `cross_validation` - التحقق المتقاطع | Cross Validation
5. `grid_search` - البحث الشبكي | Grid Search
### كيفية استخدام الأمثلة الجاهزة | How to Use Built-in Examples
```python
from skleernexample import print_code
# عرض مثال شجرة القرار
# Display decision tree example
print_code("decision_tree")
# عرض مثال معالجة البيانات
# Display preprocessing example
print_code("preprocessing")
```
## إضافة أمثلة جديدة | Adding New Examples
```python
from skleernexample import CodeExample
# إنشاء كائن جديد
# Create new instance
code = CodeExample()
# حفظ كود جديد
# Save new code
code.save_code("my_example", """
your code here
""")
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/skleernexample",
"name": "skleernexample",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Hassan",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/7f/ae/64cdb470eb8f5e6b51946475753a09dc44f17fa6bd06778ec82a9df40ae6/skleernexample-0.2.0.tar.gz",
"platform": null,
"description": "# skleernexample\r\n\r\n\u0645\u0643\u062a\u0628\u0629 \u0628\u0627\u064a\u062b\u0648\u0646 \u0644\u062d\u0641\u0638 \u0648\u0625\u062f\u0627\u0631\u0629 \u0623\u0645\u062b\u0644\u0629 \u0623\u0643\u0648\u0627\u062f scikit-learn\r\nA Python library for storing and managing scikit-learn code examples.\r\n\r\n## \u0627\u0644\u062a\u062b\u0628\u064a\u062a | Installation\r\n\r\n```bash\r\npip install skleernexample\r\n```\r\n\r\n## \u0627\u0644\u0623\u0645\u062b\u0644\u0629 \u0627\u0644\u062c\u0627\u0647\u0632\u0629 | Built-in Examples\r\n\r\n\u0627\u0644\u0645\u0643\u062a\u0628\u0629 \u062a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0627\u0644\u0623\u0645\u062b\u0644\u0629 \u0627\u0644\u062c\u0627\u0647\u0632\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629:\r\nThe library comes with the following built-in examples:\r\n\r\n1. `decision_tree` - \u0634\u062c\u0631\u0629 \u0627\u0644\u0642\u0631\u0627\u0631 | Decision Tree\r\n2. `random_forest` - \u0627\u0644\u063a\u0627\u0628\u0629 \u0627\u0644\u0639\u0634\u0648\u0627\u0626\u064a\u0629 | Random Forest\r\n3. `preprocessing` - \u0645\u0639\u0627\u0644\u062c\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a | Data Preprocessing\r\n4. `cross_validation` - \u0627\u0644\u062a\u062d\u0642\u0642 \u0627\u0644\u0645\u062a\u0642\u0627\u0637\u0639 | Cross Validation\r\n5. `grid_search` - \u0627\u0644\u0628\u062d\u062b \u0627\u0644\u0634\u0628\u0643\u064a | Grid Search\r\n\r\n### \u0643\u064a\u0641\u064a\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0623\u0645\u062b\u0644\u0629 \u0627\u0644\u062c\u0627\u0647\u0632\u0629 | How to Use Built-in Examples\r\n\r\n```python\r\nfrom skleernexample import print_code\r\n\r\n# \u0639\u0631\u0636 \u0645\u062b\u0627\u0644 \u0634\u062c\u0631\u0629 \u0627\u0644\u0642\u0631\u0627\u0631\r\n# Display decision tree example\r\nprint_code(\"decision_tree\")\r\n\r\n# \u0639\u0631\u0636 \u0645\u062b\u0627\u0644 \u0645\u0639\u0627\u0644\u062c\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a\r\n# Display preprocessing example\r\nprint_code(\"preprocessing\")\r\n```\r\n\r\n## \u0625\u0636\u0627\u0641\u0629 \u0623\u0645\u062b\u0644\u0629 \u062c\u062f\u064a\u062f\u0629 | Adding New Examples\r\n\r\n```python\r\nfrom skleernexample import CodeExample\r\n\r\n# \u0625\u0646\u0634\u0627\u0621 \u0643\u0627\u0626\u0646 \u062c\u062f\u064a\u062f\r\n# Create new instance\r\ncode = CodeExample()\r\n\r\n# \u062d\u0641\u0638 \u0643\u0648\u062f \u062c\u062f\u064a\u062f\r\n# Save new code\r\ncode.save_code(\"my_example\", \"\"\"\r\nyour code here\r\n\"\"\")\r\n",
"bugtrack_url": null,
"license": null,
"summary": "A library to store and manage scikit-learn code examples",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/yourusername/skleernexample"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f72ee4c2cd83dfb71bcd509f474a7d54c74eedda3be92fa906c6e235acd3596d",
"md5": "2fea062f101938010bc30c4510bf8f1f",
"sha256": "4ed17ec42e915f09ac07e3ebf91a92f25763fc36bace50561b804c0758ef9e7a"
},
"downloads": -1,
"filename": "skleernexample-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2fea062f101938010bc30c4510bf8f1f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4987,
"upload_time": "2025-01-18T01:37:07",
"upload_time_iso_8601": "2025-01-18T01:37:07.562499Z",
"url": "https://files.pythonhosted.org/packages/f7/2e/e4c2cd83dfb71bcd509f474a7d54c74eedda3be92fa906c6e235acd3596d/skleernexample-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7fae64cdb470eb8f5e6b51946475753a09dc44f17fa6bd06778ec82a9df40ae6",
"md5": "d2388776d57cab5b73c01aa50d61e7bc",
"sha256": "e2e86510fe65f0db7c0d50a99fc4a1536b43dffbda1e94fb147f9185d1542d2f"
},
"downloads": -1,
"filename": "skleernexample-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "d2388776d57cab5b73c01aa50d61e7bc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5252,
"upload_time": "2025-01-18T01:37:08",
"upload_time_iso_8601": "2025-01-18T01:37:08.985536Z",
"url": "https://files.pythonhosted.org/packages/7f/ae/64cdb470eb8f5e6b51946475753a09dc44f17fa6bd06778ec82a9df40ae6/skleernexample-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-18 01:37:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "skleernexample",
"github_not_found": true,
"lcname": "skleernexample"
}