Skip to main content

requires42.com cli

Project description

Installation

$ [sudo] pip install requires42

Pros

  • super fast. designed to generate a large number of requirements.txt files
  • customizable

Scripts usage

command usage
requires42 usage: requires42 path

Examples

$ export REQUIRES42_TOKEN=XXX # https://requires42.com/token/
$ cd path/to/repo
$ requires42 . > requirements.txt

python api:

url = 'https://api.requires42.com/requires'
headers = {'Authorization': 'Token REQUIRES42_TOKEN'}

data = dict(imports=['django','requests','sqlalchemy'])
requests.post(url,headers=headers,data=data)

data = dict(files=[open('file.py').read()])
requests.post(url,headers=headers,data=data)

Links

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

requires42-2020.5.30.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page