Code Monkey home page Code Monkey logo

attributecode's Introduction

[ARCHIVED] AttributeCode

This project was an Attribution generation tool with many content and format options for the input data.

All features have been folded back in the latest AboutCode Toolkit at https://github.com/nexB/aboutcode-toolkit

Read more about AttributeCode here.

Features

  • Accept data from multiple formats:
    • A spreadsheet file (csv or xlsx)
    • A JSON file format for Attribution that would have the primary Attribution fields
    • A ScanCode JSON file.
  • A configuration option to map input data to Attribution output fields.
  • Jinja templates to customize the Attribution Notice output.
  • Access to a database of license texts based on ScanCode license keys.

Build and tests status

Branch Linux/macOS
Main Linux Master branch tests status

REQUIREMENTS

Python3.6

On Linux and Mac, Python is typically pre-installed. To verify which version may be pre-installed, open a terminal and type:

python --version
On Windows or Mac, you can download the latest Python here:
https://www.python.org/downloads/

Download the .msi installer for Windows or the .dmg archive for Mac. Open and run the installer using all the default options.

INSTALLATION

Checkout the AttributeCode from:
https://github.com/nexB/attributecode

Read the setup process.

HELP and SUPPORT

If you have a question or find a bug, enter a ticket at:

https://github.com/nexB/attributecode

For issues, you can use:

https://github.com/nexB/attributecode/issues

SOURCE CODE

The AttributeCode is available through GitHub. For the latest version visit:
https://github.com/nexB/attributecode

HACKING

We accept pull requests provided under the same license as this tool. You agree to the http://developercertificate.org/

LICENSE

The AttributeCode is released under the Apache 2.0 license. See the about.ABOUT file for details.

attributecode's People

Contributors

ayansinhamahapatra avatar chinyeungli avatar dependabot[bot] avatar johnmhoran avatar jonoyang avatar mjherzog avatar pombredanne avatar steven-esser avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

attributecode's Issues

Issue with conditional license_expression

I've the following error when generating attribution from a scancode scan

ERROR: One of the URLs (or both) is not reachable:
https://scancode-licensedb.aboutcode.org/lgpl-2.1-plus OR mpl-1.1 OR gpl-2.0-plus.json

ERROR: One of the URLs (or both) is not reachable:
https://scancode-licensedb.aboutcode.org/bsd-new OR gpl-2.0.json

Seems like the license_expression value is not handled correctly.

Add deduplication option (?)

A software Inventory or BOM may often include duplicate items that exist in multiple codebase locations. It would be nice to have an option to deduplicate these items assuming that you do not want to include Codebase locations in an Attribution notice, which is the most common case that we see.

Merge with the latest skeleton code

We need to update/merge the code structure, configuration scripts and others with the skeleton code to make it be more consistance between all of our repos

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.