{"id":19496106,"url":"https://github.com/simonusher/pkp_network_science","last_synced_at":"2026-04-12T22:31:58.954Z","repository":{"id":40958649,"uuid":"251716071","full_name":"simonusher/pkp_network_science","owner":"simonusher","description":"A railway connections (Polskie Koleje Państwowe) network scraper with simple Folium visualizations. Created as part of network science course on WrUST.","archived":false,"fork":false,"pushed_at":"2024-05-03T19:55:52.000Z","size":5407,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T09:37:09.927Z","etag":null,"topics":["graph","network-science","python","scraping"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/simonusher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-03-31T19:55:22.000Z","updated_at":"2021-05-06T13:53:25.000Z","dependencies_parsed_at":"2024-11-10T21:40:04.526Z","dependency_job_id":"e8ce8cb1-2cb3-4c59-aee7-94ff58d64019","html_url":"https://github.com/simonusher/pkp_network_science","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonusher%2Fpkp_network_science","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonusher%2Fpkp_network_science/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonusher%2Fpkp_network_science/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonusher%2Fpkp_network_science/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonusher","download_url":"https://codeload.github.com/simonusher/pkp_network_science/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240746827,"owners_count":19850991,"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":["graph","network-science","python","scraping"],"created_at":"2024-11-10T21:40:01.027Z","updated_at":"2025-10-16T13:14:29.359Z","avatar_url":"https://github.com/simonusher.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n[![LinkedIn][linkedin-shield]][linkedin-url]\n\n\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/simonusher/pkp_network_science\"\u003e\n    \u003cimg src=\"images/logo.png\" alt=\"Logo\" width=\"500\" height=\"318\"\u003e\n  \u003c/a\u003e\n  \u003ch3 align=\"center\"\u003ePKP network scraping and analysis\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    A railway connections (Polskie Koleje Państwowe) network scraper with simple Folium visualizations. Created as part of network science course on WrUST.\n    \u003cbr /\u003e\n    \u003c!-- \u003ca href=\"https://github.com/simonusher/pkp_network_science\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e --\u003e\n    \u003ca href=\"https://github.com/simonusher/pkp_network_science/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/simonusher/pkp_network_science/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\n\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003e\u003ch2 style=\"display: inline-block\"\u003eTable of Contents\u003c/h2\u003e\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#prerequisites\"\u003ePrerequisites\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#acknowledgements\"\u003eAcknowledgements\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\nThe project was created as part of network science course on WrUST. It contains a scraper script that allows to download PKP railway connections and represent them as a graph. The notebooks available in this repo then use GeoPy and Folium to generate visualizations of downloaded network.\n\n### Built With\n* python 3.8.2,\n* [BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/),\n* [Folium](https://python-visualization.github.io/folium/),\n* [GeoPy](https://geopy.readthedocs.io/en/stable/),\n* [Jupyter](https://jupyter.org/),\n* [Pandas](https://pandas.pydata.org/),\n* [Numpy](https://numpy.org/).\n\n\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\nTo get a local copy up and running follow these simple steps.\n\n### Prerequisites\n* python, tested on 3.8.2.\nIf you have pyenv, you can install this version using:\n  ```sh\n  pyenv install 3.8.2\n  ```\n\n### Installation\n\n1. Clone the repo\n   ```sh\n   git clone https://github.com/simonusher/pkp_network_science.git\n   ```\n2. Create a virtual environment and activate it (optional):\n   ```sh\n   python -m venv env\n   env/bin/activate\n   ```\n3. Install the requirements:\n   ```sh\n   pip install -r requirements\n   ```\n\n\n\n\u003c!-- USAGE EXAMPLES --\u003e\n## Usage\n\nYou can run the scraper script using\n  ```sh\n  python scraper.py [OPTIONS] [carriers].\n  ```\nYou can get a help message by running:\n  ```sh\n  python scraper.py --help\n  ```\n\nYou can then use the coord_geopy.ipynb and map_vis_folium.ipynb notebooks to geocode the localizations and generate map visualizations.\n\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nSzymon Woźniak - swozniak6@gmail.com\n\nProject Link: [https://github.com/simonusher/pkp_network_science](https://github.com/simonusher/pkp_network_science)\n\n\n\n[contributors-shield]: https://img.shields.io/github/contributors/simonusher/pkp_network_science.svg?style=for-the-badge\n[contributors-url]: https://github.com/simonusher/pkp_network_science/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/simonusher/pkp_network_science.svg?style=for-the-badge\n[forks-url]: https://github.com/simonusher/pkp_network_science/network/members\n[stars-shield]: https://img.shields.io/github/stars/simonusher/pkp_network_science.svg?style=for-the-badge\n[stars-url]: https://github.com/simonusher/pkp_network_science/stargazers\n[issues-shield]: https://img.shields.io/github/issues/simonusher/pkp_network_science.svg?style=for-the-badge\n[issues-url]: https://github.com/simonusher/pkp_network_science/issues\n[license-shield]: https://img.shields.io/github/license/simonusher/pkp_network_science.svg?style=for-the-badge\n[license-url]: https://github.com/simonusher/pkp_network_science/blob/master/LICENSE.txt\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=555\n[linkedin-url]: https://www.linkedin.com/in/szymon-wo%C5%BAniak-00505318a/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonusher%2Fpkp_network_science","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonusher%2Fpkp_network_science","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonusher%2Fpkp_network_science/lists"}