{"id":26440342,"url":"https://github.com/preocts/wypt","last_synced_at":"2025-03-18T09:27:43.884Z","repository":{"id":59577321,"uuid":"531728791","full_name":"Preocts/wypt","owner":"Preocts","description":"Why'd you paste that - a pastebin scraper","archived":false,"fork":false,"pushed_at":"2024-12-28T03:14:00.000Z","size":5170,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T23:54:23.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/Preocts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2022-09-02T00:30:36.000Z","updated_at":"2024-12-28T03:14:03.000Z","dependencies_parsed_at":"2024-01-17T04:17:00.874Z","dependency_job_id":"90eb6d16-1fee-4077-80f3-da6b56e4ff2d","html_url":"https://github.com/Preocts/wypt","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/Preocts%2Fwypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preocts%2Fwypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preocts%2Fwypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preocts%2Fwypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Preocts","download_url":"https://codeload.github.com/Preocts/wypt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244191630,"owners_count":20413337,"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-03-18T09:27:43.078Z","updated_at":"2025-03-18T09:27:43.877Z","avatar_url":"https://github.com/Preocts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Python 3.11 | 3.12](https://img.shields.io/badge/Python-3.11%20%7C%203.12-blue)](https://www.python.org/downloads)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Preocts/python-src-template/main.svg)](https://results.pre-commit.ci/latest/github/Preocts/python-src-template/main)\n[![Python tests](https://github.com/Preocts/python-src-template/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/Preocts/python-src-template/actions/workflows/python-tests.yml)\n\n# wypt\n\n## WORK IN PROGRESS\n\nWhy'd You Paste That (wypt) is a small scraper using pastebin.com's permitted scraping api.\n\n- Requires a Pro account with pastebin.com\n- Your IP must be allow listed [here](https://pastebin.com/doc_scraping_api).\n- Limits:\n  - 1 action of fetching recent 100 public pastes per minute\n  - 1 HTTP request action per second\n\n---\n\n# Local developer installation\n\nThe following steps outline how to install this repo for local development. See\nthe [CONTRIBUTING.md](CONTRIBUTING.md) file in the repo root for information on\ncontributing to the repo.\n\n## Prerequisites\n\n### Clone repo\n\n```console\ngit clone https://github.com/Preocts/wypt\n\ncd wypt\n```\n\n### Virtual Environment\n\nUse a ([`venv`](https://docs.python.org/3/library/venv.html)), or equivalent,\nwhen working with python projects. Leveraging a `venv` will ensure the installed\ndependency files will not impact other python projects or any system\ndependencies.\n\n**Windows users**: Depending on your python install you will use `py` in place\nof `python` to create the `venv`.\n\n**Linux/Mac users**: Replace `python`, if needed, with the appropriate call to\nthe desired version while creating the `venv`. (e.g. `python3` or `python3.8`)\n\n**All users**: Once inside an active `venv` all systems should allow the use of\n`python` for command line instructions. This will ensure you are using the\n`venv`'s python and not the system level python.\n\n### Create the `venv`:\n\n```console\npython -m venv venv\n```\n\nActivate the `venv`:\n\n```console\n# Linux/Mac\n. venv/bin/activate\n\n# Windows\nvenv\\Scripts\\activate\n```\n\nThe command prompt should now have a `(venv)` prefix on it. `python` will now\ncall the version of the interpreter used to create the `venv`\n\nTo deactivate (exit) the `venv`:\n\n```console\ndeactivate\n```\n\n---\n\n## Developer Installation Steps\n\n### Install editable library and development requirements\n\n```console\npython -m pip install --editable .[dev,test]\n```\n\n### Install pre-commit [(see below for details)](#pre-commit)\n\n```console\npre-commit install\n```\n\n---\n\n## Pre-commit and nox tools\n\n### Run pre-commit on all files\n\n```console\npre-commit run --all-files\n```\n\n### Run tests with coverage (quick)\n\n```console\nnox -e coverage\n```\n\n### Run tests (slow)\n\n```console\nnox\n```\n\n### Build dist\n\n```console\nnox -e build\n```\n\n---\n\n## Updating dependencies\n\nNew dependencys can be added to the `requirements-*.in` file. It is recommended\nto only use pins when specific versions or upgrades beyond a certain version are\nto be avoided. Otherwise, allow `pip-compile` to manage the pins in the\ngenerated `requirements-*.txt` files.\n\nOnce updated following the steps below, the package can be installed if needed.\n\n### Update the generated files with changes\n\n```console\nnox -e update\n```\n\n### Upgrade all generated dependencies\n\n```console\nnox -e upgrade\n```\n\n---\n\n## [pre-commit](https://pre-commit.com)\n\n\u003e A framework for managing and maintaining multi-language pre-commit hooks.\n\nThis repo is setup with a `.pre-commit-config.yaml` with the expectation that\nany code submitted for review already passes all selected pre-commit checks.\n\n---\n\n## Error: File \"setup.py\" not found\n\nUpdate `pip` to at least version 22.3.1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreocts%2Fwypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreocts%2Fwypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreocts%2Fwypt/lists"}