{"id":23073680,"url":"https://github.com/akashdip2001/python-advance","last_synced_at":"2025-07-17T18:07:32.012Z","repository":{"id":265656878,"uuid":"896423190","full_name":"akashdip2001/python-advance","owner":"akashdip2001","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-08T20:15:25.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T00:45:01.159Z","etag":null,"topics":["devops","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akashdip2001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-30T10:21:41.000Z","updated_at":"2024-12-21T13:48:09.000Z","dependencies_parsed_at":"2025-02-09T00:44:53.354Z","dependency_job_id":"5196e21d-e91f-4c33-a88b-b76e0fbabfc6","html_url":"https://github.com/akashdip2001/python-advance","commit_stats":null,"previous_names":["akashdip2001/python-advance"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashdip2001%2Fpython-advance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashdip2001%2Fpython-advance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashdip2001%2Fpython-advance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashdip2001%2Fpython-advance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akashdip2001","download_url":"https://codeload.github.com/akashdip2001/python-advance/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246991915,"owners_count":20865741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devops","python"],"created_at":"2024-12-16T08:18:43.351Z","updated_at":"2025-04-03T11:27:57.955Z","avatar_url":"https://github.com/akashdip2001.png","language":"Python","readme":"\u003cimg align=\"right\" alt=\"python_logo\" width=\"300\" src=\"https://github.com/akashdip2001/Python-Course-10h/raw/main/img/py_akashdip2001.png\"\u003e \r\n\r\n# python-advance\r\n\r\n| [notes](https://github.com/akashdip2001/ML-Machine-Learning/blob/main/py/README.md) | [Python Projects](https://github.com/akashdip2001/Python-Projects) | [Django Projects](https://github.com/akashdip2001/pyTweet) | [python-advance](https://github.com/akashdip2001/python-advance) |\r\n| --- | --- | --- | --- |\r\n\r\n\r\n\u003c/br\u003e\r\n\u003cdiv style=\"display: flex; align-items: center; gap: 10px;\" align=\"center\"\u003e\r\n\u003ca href=\"https://www.linkedin.com/posts/akashdip2001_python-cisconetworkingacademy-openedg-activity-7296757851341959168-IhOj?utm_source=share\u0026utm_medium=member_desktop\u0026rcm=ACoAADQRwRQBthwu1pD7TKHPClAilXa9CMan1H8\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/8378642d-b779-44ef-939b-dede8c8dc004\" width=\"140px\" height=\"140px\" /\u003e\u003c/a\u003e \u0026nbsp; \u0026nbsp;\r\n\u003ca href=\"https://www.credly.com/badges/ee48f5b9-60c7-42a4-9ea4-4d9fee52d17b/public_url\"\u003e\u003cimg src=\"https://github.com/user-attachments/assets/9d157163-1a6d-4d03-ae2b-0dbefb52b426\" width=\"140px\" height=\"140px\" /\u003e\u003c/a\u003e \r\n\u003c/div\u003e\r\n\u003c/br\u003e\r\n\u003c/br\u003e\r\n\r\n[![Screenshot (135)](https://github.com/user-attachments/assets/4399f437-5b35-4d9e-9479-f171381937fc)](https://www.netacad.com/courses/programming/pcap-programming-essentials-python)\r\n[![Screenshot (136)](https://github.com/user-attachments/assets/77525285-1ac5-4b8e-b1be-69f477bbea2e)](https://pythoninstitute.org/pcep)\r\n\r\n\u003c/br\u003e\r\n\r\n[![Screenshot (137)](https://github.com/user-attachments/assets/e2a5b1fc-6240-4d6a-9f79-479b8689a3af)](https://edube.org/study/pe2)\r\n[![Screenshot (138)](https://github.com/user-attachments/assets/91ee86a9-c5ab-4bcb-a29f-29d701c18106)](https://pythoninstitute.org/pcap)\r\n\r\n\u003c/br\u003e\r\n\u003c/br\u003e\r\n\r\n## Create a pdf using Python\r\n\r\n```python\r\nfrom fpdf import FPDF\r\n\r\n# Create a PDF class instance\r\nclass PDF(FPDF):\r\n    def header(self):\r\n        self.set_font('Arial', 'B', 12)\r\n        self.cell(0, 10, 'Name area', align='C', ln=1)\r\n        self.ln(5)\r\n\r\n    def footer(self):\r\n        self.set_y(-15)\r\n        self.set_font('Arial', 'I', 8)\r\n        self.cell(0, 10, f'Page {self.page_no()}', align='C')\r\n\r\npdf = PDF()\r\npdf.add_page()\r\npdf.set_font(\"Arial\", size=12)\r\n\r\n# Add Text area\r\ncontent = \"\"\"\r\nText area\r\n\"\"\"\r\n\r\npdf.multi_cell(0, 10, content)\r\n\r\n# Save the PDF\r\noutput_path = \"/mnt/data/File_Name.pdf\"\r\npdf.output(output_path)\r\n\r\noutput_path\r\n```\r\n\r\n### fix errors\r\n\r\n```python\r\n# Replace problematic characters with simpler equivalents\r\ncorrected_content = content.replace(\"’\", \"'\").replace(\"–\", \"-\")\r\n\r\n# Recreate the PDF with corrected content\r\npdf = PDF()\r\npdf.add_page()\r\npdf.set_font(\"Arial\", size=12)\r\npdf.multi_cell(0, 10, corrected_content)\r\n\r\n# Save the corrected PDF\r\noutput_path = \"/mnt/data/File_Name.pdf\"\r\npdf.output(output_path)\r\n\r\noutput_path\r\n```\r\n\r\n### Update font size\r\n\r\n```python\r\n# Adjusting the font size and line spacing to fit the content on one page\r\npdf = PDF()\r\npdf.add_page()\r\npdf.set_font(\"Arial\", size=10)  # Reduced font size for more content per page\r\npdf.multi_cell(0, 7, corrected_content)  # Reduced line spacing\r\n\r\n# Save the single-page PDF\r\noutput_path_one_page = \"/mnt/data/File_Name.pdf\"\r\npdf.output(output_path_one_page)\r\n\r\noutput_path_one_page\r\n```\r\n\r\n## Create a Word file\r\n\r\n```python\r\nfrom docx import Document\r\n\r\n# Create a Word document\r\ndoc = Document()\r\n\r\n# Add content to the Word document\r\ndoc.add_heading(\"Heading Text\", level=1)\r\ndoc.add_paragraph(\"\"\"\r\nAkashdip Mahapatra\r\nXXX, WB, India\r\n+91-XXXXXXXXXX\r\nakashdipXXX@gmail.com\r\n28 November 2024\r\n\"\"\")\r\n\r\ndoc.add_paragraph(\"\"\"\r\nText Area\r\n\"\"\")\r\n\r\n# Save the Word document\r\noutput_word_path = \"/mnt/data/File_Name.docx\"\r\ndoc.save(output_word_path)\r\n\r\noutput_word_path\r\n```\r\n## Create a pptx\r\n\r\n```python\r\nfrom pptx import Presentation\r\nfrom pptx.util import Inches\r\n\r\n# Create a PowerPoint presentation\r\npresentation = Presentation()\r\n\r\n# Slide 1: Title Slide\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[0])\r\ntitle = slide.shapes.title\r\nsubtitle = slide.placeholders[1]\r\ntitle.text = \"IAM Implementation Plan for TechCorp\"\r\nsubtitle.text = \"Ensuring Secure and Efficient Integration\\nPrepared by [Your Team]\\nDate: [Insert Date]\"\r\n\r\n# Slide 2: Introduction\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[1])\r\ntitle = slide.shapes.title\r\ncontent = slide.placeholders[1]\r\ntitle.text = \"Introduction\"\r\ncontent.text = (\r\n    \"TechCorp’s digital transformation requires robust IAM solutions.\\n\"\r\n    \"Challenges include global operations and integration complexity.\\n\"\r\n    \"Objective: Successfully implement a robust IAM platform aligned with business goals.\"\r\n)\r\n\r\n# Slide 3: Implementation Roadmap\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[1])\r\ntitle = slide.shapes.title\r\ncontent = slide.placeholders[1]\r\ntitle.text = \"Implementation Roadmap\"\r\ncontent.text = (\r\n    \"Phases:\\n\"\r\n    \"1. Planning \u0026 Requirement Analysis: Identify stakeholders, gather requirements.\\n\"\r\n    \"2. Platform Setup: Deploy IAM tools, configure access controls.\\n\"\r\n    \"3. Integration: Connect with legacy systems, third-party apps, cloud platforms.\\n\"\r\n    \"4. Testing \u0026 Validation: Conduct UAT, resolve vulnerabilities.\\n\"\r\n    \"5. Deployment \u0026 Go-Live: Migrate users, train staff.\\n\"\r\n    \"6. Post-Deployment Support: Monitor, audit, and provide support.\"\r\n)\r\n\r\n# Slide 4: Key Milestones\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[1])\r\ntitle = slide.shapes.title\r\ncontent = slide.placeholders[1]\r\ntitle.text = \"Key Milestones\"\r\ncontent.text = (\r\n    \"- Project kickoff\\n\"\r\n    \"- Platform installation and configuration\\n\"\r\n    \"- Integration completion\\n\"\r\n    \"- Testing and validation\\n\"\r\n    \"- Deployment and go-live\\n\"\r\n    \"- Post-deployment review\"\r\n)\r\n\r\n# Slide 5: Resource Requirements\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[1])\r\ntitle = slide.shapes.title\r\ncontent = slide.placeholders[1]\r\ntitle.text = \"Resource Requirements\"\r\ncontent.text = (\r\n    \"Technical Resources:\\n\"\r\n    \"- IAM tools, licenses, middleware, and cloud services.\\n\\n\"\r\n    \"Human Resources:\\n\"\r\n    \"- IAM specialists, security analysts, IT support staff.\\n\\n\"\r\n    \"Budget Considerations:\\n\"\r\n    \"- Software and hardware costs, training expenses.\"\r\n)\r\n\r\n# Slide 6: Addressing Integration Challenges\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[1])\r\ntitle = slide.shapes.title\r\ncontent = slide.placeholders[1]\r\ntitle.text = \"Addressing Integration Challenges\"\r\ncontent.text = (\r\n    \"Challenges:\\n\"\r\n    \"- Compatibility with legacy systems.\\n\"\r\n    \"- Security during third-party and cloud integration.\\n\"\r\n    \"- Data migration complexity.\\n\\n\"\r\n    \"Solutions:\\n\"\r\n    \"- Use middleware and API gateways.\\n\"\r\n    \"- Encrypt sensitive data during migration.\\n\"\r\n    \"- Conduct pilot tests for compatibility.\"\r\n)\r\n\r\n# Slide 7: Secure Access Management\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[1])\r\ntitle = slide.shapes.title\r\ncontent = slide.placeholders[1]\r\ntitle.text = \"Secure Access Management\"\r\ncontent.text = (\r\n    \"- User provisioning and lifecycle management.\\n\"\r\n    \"- Implement MFA and SSO.\\n\"\r\n    \"- Enforce least privilege and RBAC.\\n\"\r\n    \"- Adaptive authentication based on risk factors.\"\r\n)\r\n\r\n# Slide 8: Visual Representation\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[5])\r\ntitle = slide.shapes.title\r\ntitle.text = \"Visual Representation\"\r\n# Placeholder text for a diagram or chart\r\ncontent_box = slide.shapes.add_textbox(Inches(1), Inches(2), Inches(8), Inches(2))\r\ncontent = content_box.text_frame\r\ncontent.text = \"Insert diagram or flowchart showing IAM architecture here.\"\r\n\r\n# Slide 9: Alignment with Business Goals\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[1])\r\ntitle = slide.shapes.title\r\ncontent = slide.placeholders[1]\r\ntitle.text = \"Alignment with Business Goals\"\r\ncontent.text = (\r\n    \"Enhanced Cybersecurity:\\n\"\r\n    \"- Protect data and mitigate unauthorized access risks.\\n\\n\"\r\n    \"Streamlined Operations:\\n\"\r\n    \"- Automate user lifecycle processes.\\n\"\r\n    \"- Simplify access with SSO and RBAC.\"\r\n)\r\n\r\n# Slide 10: Conclusion\r\nslide = presentation.slides.add_slide(presentation.slide_layouts[1])\r\ntitle = slide.shapes.title\r\ncontent = slide.placeholders[1]\r\ntitle.text = \"Conclusion\"\r\ncontent.text = (\r\n    \"IAM implementation ensures security and efficiency.\\n\"\r\n    \"Aligned with TechCorp’s digital transformation objectives.\\n\"\r\n    \"Next steps: Execute the plan and ensure collaboration.\"\r\n)\r\n\r\n# Save the PowerPoint presentation\r\nfile_path_pptx = \"/mnt/data/IAM_Implementation_Plan_TechCorp.pptx\"\r\npresentation.save(file_path_pptx)\r\nfile_path_pptx\r\n```\r\n\r\n\r\n\r\n\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakashdip2001%2Fpython-advance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakashdip2001%2Fpython-advance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakashdip2001%2Fpython-advance/lists"}