{"id":20267019,"url":"https://github.com/ilovebacteria/analysis-prime-number-algorithms","last_synced_at":"2026-05-15T20:01:45.802Z","repository":{"id":163619500,"uuid":"576552040","full_name":"ILoveBacteria/analysis-prime-number-algorithms","owner":"ILoveBacteria","description":"My Data Structure course project. Analyzing the performance of some prime number algorithms with graph","archived":false,"fork":false,"pushed_at":"2023-01-14T06:30:12.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T01:32:22.417Z","etag":null,"topics":["algorithm","algorithms","data-structures","graph","java","matplotlib","pyfpdf","python"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ILoveBacteria.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-12-10T07:42:22.000Z","updated_at":"2023-09-01T02:47:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab98ed3e-89b3-4c3e-9970-d0a4c48cdfba","html_url":"https://github.com/ILoveBacteria/analysis-prime-number-algorithms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ILoveBacteria/analysis-prime-number-algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveBacteria%2Fanalysis-prime-number-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveBacteria%2Fanalysis-prime-number-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveBacteria%2Fanalysis-prime-number-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveBacteria%2Fanalysis-prime-number-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ILoveBacteria","download_url":"https://codeload.github.com/ILoveBacteria/analysis-prime-number-algorithms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ILoveBacteria%2Fanalysis-prime-number-algorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33077924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["algorithm","algorithms","data-structures","graph","java","matplotlib","pyfpdf","python"],"created_at":"2024-11-14T12:12:47.500Z","updated_at":"2026-05-15T20:01:45.789Z","avatar_url":"https://github.com/ILoveBacteria.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Analysis Prime Number Algorithms\n\n[![License: MIT](https://img.shields.io/github/license/ILoveBacteria/analysis-prime-number-algorithms)](https://github.com/ILoveBacteria/analysis-prime-number-algorithms/blob/master/LICENSE)\n[![Issues](https://img.shields.io/github/issues/ILoveBacteria/analysis-prime-number-algorithms)](https://github.com/ILoveBacteria/analysis-prime-number-algorithms/issues)\n[![Forks](https://img.shields.io/github/forks/ILoveBacteria/analysis-prime-number-algorithms)](https://github.com/ILoveBacteria/analysis-prime-number-algorithms/network/members)\n[![Stars](https://img.shields.io/github/stars/ILoveBacteria/analysis-prime-number-algorithms)]()\n[![Watchers](https://img.shields.io/github/watchers/ILoveBacteria/analysis-prime-number-algorithms)]()\n[![Last commit](https://img.shields.io/github/last-commit/ILoveBacteria/analysis-prime-number-algorithms)](https://github.com/ILoveBacteria/analysis-prime-number-algorithms/commits/master)\n\n## Description\n\nThis is my project for the course \"Data Structures\" at Shahid Beheshti University. The project is about analyzing the performance of some prime number algorithms. Analysis is done by measuring the time of each algorithm. Creating graphs and tables is done by using the [matplotlib](https://matplotlib.org) library and generating a pdf file is done by using the [FPDF](https://pyfpdf.readthedocs.io/en/latest/) library.\n \n## How To Test On Your Machine\n\n### What You Need?\n\n- Python 3.10\n- JDK 11\n- Pipenv\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/ILoveBacteria/analysis-prime-number-algorithms.git\n```\n\n2. Go to the project directory\n\n3. Compile Java code then run the `Main` class\n\n```bash\njavac -d ./out ./src/*.java\njava -cp ./out Main\n```\n\n4. Install python dependencies\n\n```bash\npipenv sync\n```\n\n5. Run the python script\n\n```bash\npipenv run python analysis.py\n```\n\n6. Open the generated pdf file in the `output` directory","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filovebacteria%2Fanalysis-prime-number-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filovebacteria%2Fanalysis-prime-number-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filovebacteria%2Fanalysis-prime-number-algorithms/lists"}