{"id":18561160,"url":"https://github.com/20scoops-cnx/encrypt-pdf-python","last_synced_at":"2025-07-20T16:33:03.406Z","repository":{"id":41906642,"uuid":"188952445","full_name":"20Scoops-CNX/encrypt-pdf-python","owner":"20Scoops-CNX","description":"Encrypt file PDF with Python API","archived":false,"fork":false,"pushed_at":"2024-10-29T14:35:42.000Z","size":155,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T18:12:39.060Z","etag":null,"topics":["encryption-tool","flask","pypdf2"],"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/20Scoops-CNX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"custom":null}},"created_at":"2019-05-28T04:14:13.000Z","updated_at":"2021-03-24T08:26:08.000Z","dependencies_parsed_at":"2024-11-06T22:06:44.857Z","dependency_job_id":null,"html_url":"https://github.com/20Scoops-CNX/encrypt-pdf-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/20Scoops-CNX/encrypt-pdf-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fencrypt-pdf-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fencrypt-pdf-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fencrypt-pdf-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fencrypt-pdf-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/20Scoops-CNX","download_url":"https://codeload.github.com/20Scoops-CNX/encrypt-pdf-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fencrypt-pdf-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266160593,"owners_count":23885883,"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":["encryption-tool","flask","pypdf2"],"created_at":"2024-11-06T22:05:57.932Z","updated_at":"2025-07-20T16:33:03.390Z","avatar_url":"https://github.com/20Scoops-CNX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Encrypt File PDF\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black) [![Docker Build](https://img.shields.io/docker/cloud/build/20scoops/encrypt-file-pdf.svg?color=black)](https://cloud.docker.com/u/20scoops/repository/docker/20scoops/encrypt-file-pdf/builds) [![Download](https://img.shields.io/docker/pulls/20scoops/encrypt-file-pdf.svg?color=black\u0026logoColor=black)](https://cloud.docker.com/u/20scoops/repository/docker/20scoops/encrypt-file-pdf) [![License: MIT](https://img.shields.io/badge/License-MIT-black.svg)](LICENSE.txt) \n\nAPI for encrypt file PDF.\n\n\u003cimg src=\"https://github.com/20Scoops-CNX/encrypt-pdf-python/blob/master/arts/image-1.png?raw=true\" width=\"100%\"\u003e\n\n\n# Install\n\nMake sure your uesed python3 and clone this repository\n\n- Manual\n    ```js\n    1. cd src\n    2. pip install -r requirements.txt\n    3. python app.py\n    ```\n- Docker Compose\n    ```js\n    docker-compose up -d --build\n    ```\n\n# Code Style \nThis project we used Black\n```\npip install black\n```\n\n# API\n\nEndpoint: `/encrypt-pdf`\n\nMethod: `POST`\n\n| Parameter  | Description| \n| :---         |     :---     |\n| file   | File for encrypt (.pdf only) | \n| password | your key for encrypt file |\n\n# Production\n\n```js\n// add env for production\nFLASK_ENV = production\n```\n\n# Recommend\n\nIf your PDF file size \u003e 1MB. you must compress file before call API encrypt for reduces size and response time 😎 ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20scoops-cnx%2Fencrypt-pdf-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F20scoops-cnx%2Fencrypt-pdf-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20scoops-cnx%2Fencrypt-pdf-python/lists"}