Skip to content

Commit 9f0e9d6

Browse files
committed
Improve README and command line notice
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 6ef97c1 commit 9f0e9d6

File tree

4 files changed

+32
-709
lines changed

4 files changed

+32
-709
lines changed

README.rst

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
ExtractCode
22
===========
33

4-
CommonCode
5-
==========
6-
74
- license: Apache-2.0
85
- copyright: copyright (c) nexB. Inc. and others
96
- homepage_url: https://github.com/nexB/extractode
107
- keywords: archiev, extraction, libarchive, 7zip, scancode-toolkit
118

12-
A set of functions and utilities used to extract archives in a mostly universal way.
13-
This libraries uses multiple techniques to extract archives reliably including
14-
using the Python standard library, and bundled 7zip and libarchive to use the
15-
best tool to extract evebtually any archive and compressed file.
9+
10+
ExtractCode is a universal archive extractor. It uses behind the scenes
11+
the Python standard library, a custom ctypes binding to libarchive and
12+
the 7zip command line to extract a large number of common and
13+
less common archives and compressed files. It tries to extract things
14+
in the same way on all OSes, including auto-renaming files that would
15+
not have valid names on certain filesystems or when there are multiple
16+
copies of the same path in a given archive.
17+
The extraction is driven from a "voting" system that considers the
18+
file extension(s) and name, the file type and mime type (using a ctypes
19+
binding to libmagic) to select the most appropriate extractor or
20+
uncompressor function. It can handle multi-level archives such as tar.gz.
21+
1622

1723

1824
Visit https://aboutcode.org and https://github.com/nexB/ for support and download.

src/extractcode/NOTICE

Lines changed: 19 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,19 @@
1-
Software license
2-
================
3-
4-
Copyright (c) 2017 nexB Inc. and others. All rights reserved.
5-
http://nexb.com and https://github.com/nexB/scancode-toolkit/
6-
The ScanCode software is licensed under the Apache License version 2.0.
7-
Data generated with ScanCode require an acknowledgment.
8-
ScanCode is a trademark of nexB Inc.
9-
10-
You may not use this software except in compliance with the License.
11-
You may obtain a copy of the License at: http://apache.org/licenses/LICENSE-2.0
12-
Unless required by applicable law or agreed to in writing, software distributed
13-
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
14-
CONDITIONS OF ANY KIND, either express or implied. See the License for the
15-
specific language governing permissions and limitations under the License.
16-
17-
When you publish or redistribute any data created with ScanCode or any ScanCode
18-
derivative work, you must accompany this data with the following acknowledgment:
19-
20-
Generated with ScanCode and provided on an "AS IS" BASIS, WITHOUT WARRANTIES
21-
OR CONDITIONS OF ANY KIND, either express or implied. No content created from
22-
ScanCode should be considered or used as legal advice. Consult an Attorney
23-
for any legal advice.
24-
ScanCode is a free software code scanning tool from nexB Inc. and others.
25-
Visit https://github.com/nexB/scancode-toolkit/ for support and download.
26-
27-
28-
Third-party software licenses
29-
=============================
30-
31-
ScanCode embeds third-party free and open source software packages under various
32-
licenses including copyleft licenses. Some of the third-party software packages
33-
are delivered as pre-built binaries. The origin and license of these packages is
34-
documented by .ABOUT files.
35-
36-
The corresponding source code for pre-compiled third-party software is available
37-
for immediate download from the same release page where you obtained ScanCode at:
38-
https://github.com/nexB/scancode-toolkit/
39-
or https://github.com/nexB/scancode-thirdparty-src/
40-
41-
You may also contact us to request the source code by email at info@nexb.com or
42-
by postal mail at:
43-
44-
nexB Inc., ScanCode open source code request
45-
735 Industrial Road, Suite #101, 94070 San Carlos, CA, USA
46-
47-
Please indicate in your communication the ScanCode version for which you are
48-
requesting source code.
49-
50-
51-
License for ScanCode datasets
52-
=============================
53-
54-
ScanCode includes datasets (e.g. for license detection) that are dedicated
55-
to the Public Domain using the Creative Commons CC0 1.0 Universal (CC0 1.0)
56-
Public Domain Dedication: http://creativecommons.org/publicdomain/zero/1.0/
1+
#
2+
# Copyright (c) nexB Inc. and others.
3+
# SPDX-License-Identifier: Apache-2.0
4+
#
5+
# Visit https://aboutcode.org and https://github.com/nexB/ for support and download.
6+
# ScanCode is a trademark of nexB Inc.
7+
#
8+
# Licensed under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# Unless required by applicable law or agreed to in writing, software
15+
# distributed under the License is distributed on an "AS IS" BASIS,
16+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# See the License for the specific language governing permissions and
18+
# limitations under the License.
19+
#

0 commit comments

Comments
 (0)