Skip to main content

Get info about OSS licenses

Project description

travis appveyor MIT License

Manage OSS licenses: retrieve information, generate.

Installation

Install from PyPI:

python3 -m pip install --user dephell_licenses

Usage

from dephell_licenses import licenses

# ways to get a license:
license = licenses.get_by_id('MIT')
license = licenses.get_by_name('MIT License')
license = licenses.get_by_classifier('License :: OSI Approved :: MIT License')

# license object
license
# License(id='MIT', classifier='License :: OSI Approved :: MIT License', name='MIT License', approved=True, deprecated=False, links=['https://opensource.org/licenses/MIT'], url='http://spdx.org/licenses/MIT.json')

# generate license
license.make_text(copyright='2019 Gram')
# 'MIT License\n\nCopyright (c) 2019 Gram\n\nPermission is hereby granted ...'

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

dephell_licenses-0.1.4.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

dephell_licenses-0.1.4-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file dephell_licenses-0.1.4.tar.gz.

File metadata

  • Download URL: dephell_licenses-0.1.4.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for dephell_licenses-0.1.4.tar.gz
Algorithm Hash digest
SHA256 54ebb0f1851476f216f25aea7dcc818fa6a26f7b44a8a7eb3efda55aa81deba4
MD5 b012f54b30771dfc42da53ec3057ba31
BLAKE2b-256 838559893b67cc5df5d706516e0dee1ca8bea0c53d171fd9398644f148c32b00

See more details on using hashes here.

File details

Details for the file dephell_licenses-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: dephell_licenses-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for dephell_licenses-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e75230d26b44a6b27f366cafe84b02c00ebf87098e16761d2873b49288551127
MD5 0b997da5da4063b53f591276bd7582fd
BLAKE2b-256 78d50c6398b8a17c3a8db5d0c73be0d1c588ad0ea938079a7fa5453e0adac7d5

See more details on using hashes here.

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