{"id":28720027,"url":"https://github.com/neothebestdeveloper/neowg","last_synced_at":"2025-06-15T06:06:34.644Z","repository":{"id":259179747,"uuid":"876507978","full_name":"NeoTheBestDeveloper/neowg","owner":"NeoTheBestDeveloper","description":"Библиотека для работы с wireguard конфигами","archived":false,"fork":false,"pushed_at":"2024-11-23T12:50:02.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-23T13:35:05.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeoTheBestDeveloper.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}},"created_at":"2024-10-22T05:00:20.000Z","updated_at":"2024-11-23T12:50:06.000Z","dependencies_parsed_at":"2024-11-23T17:02:38.150Z","dependency_job_id":null,"html_url":"https://github.com/NeoTheBestDeveloper/neowg","commit_stats":null,"previous_names":["neothebestdeveloper/neowg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NeoTheBestDeveloper/neowg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneowg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneowg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneowg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneowg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeoTheBestDeveloper","download_url":"https://codeload.github.com/NeoTheBestDeveloper/neowg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeoTheBestDeveloper%2Fneowg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259929973,"owners_count":22933536,"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":[],"created_at":"2025-06-15T06:06:33.851Z","updated_at":"2025-06-15T06:06:34.625Z","avatar_url":"https://github.com/NeoTheBestDeveloper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# neowg\n\n# ВАЖНО, БИБЛИОТЕКА РАБОТАЕТ ТОЛЬКО СО СВОИМ ФОРМАТОМ КОНФИГОВ\n\n## Установка\n\n```shell\npip install neowg\n```\n\n## Примеры использования:\n\n### Создание нового конфига\n\n```python\nfrom neowg import WgServerConfig\n\nconfig = WgServerConfig.new(\n    server_ip=\"\u003cYOUR_WG_SERVER_IP\u003e\",\n    net_adapter=\"\u003cYOUR_WG_SERVER_NET_ADAPTER\u003e\",\n    clients_count=100,\n) # Создание объекта конфига\nconfig.dump(\"wg.conf\") # Запись конфига в файл\n```\n\n### Чтение конфига из файла.\n\n```python\nfrom neowg import WgServerConfig\n\nconfig = WgServerConfig.from_file(\"wg.conf\") # Создание объекта конфига\n```\n\n### Изменения пары ключей\n\n```python\nfrom neowg import WgServerConfig\n\nconfig = WgServerConfig.from_file(\"wg.conf\") # Создание объекта конфига\nconfig.update_keys(\"10.0.0.2\")\nconfig.dump(\"wg.conf\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneothebestdeveloper%2Fneowg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneothebestdeveloper%2Fneowg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneothebestdeveloper%2Fneowg/lists"}