Skip to content

Commit c058e00

Browse files
Merge pull request #2 from codonlibrary/PackageCreation
Package creation
2 parents a8a4ecb + f5e656f commit c058e00

24 files changed

Lines changed: 95 additions & 100237 deletions

LICENSE

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
1-
BSD 3-Clause License
1+
Copyright 2019 NHS Digital DIS Team
22

3-
Copyright (c) 2019, codonlibrary
4-
All rights reserved.
3+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
54

6-
Redistribution and use in source and binary forms, with or without
7-
modification, are permitted provided that the following conditions are met:
5+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
86

9-
1. Redistributions of source code must retain the above copyright notice, this
10-
list of conditions and the following disclaimer.
7+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
118

12-
2. Redistributions in binary form must reproduce the above copyright notice,
13-
this list of conditions and the following disclaimer in the documentation
14-
and/or other materials provided with the distribution.
9+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
1510

16-
3. Neither the name of the copyright holder nor the names of its
17-
contributors may be used to endorse or promote products derived from
18-
this software without specific prior written permission.
19-
20-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
recursive-include codonPython *.py
2+
3+
include LICENSE
4+
include README.md
5+
# instructions about what to include in the distribution build

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# Welcome to Codon
1+
# Example package
22

3-
How is derived data at NHS Digital derived at code level?
4-
Codon for NHSD programmers lowers the entry barrier to understanding derivations
5-
to allow focus on deeper analysis and improvement of current processes.
6-
7-
Codon is:
8-
9-
- Comprehensive
10-
- Reviewed
11-
- Maintained
12-
- Easily navigable
13-
14-
## Usage guide
3+
This is a simple example of a future package pulled from the DPS Core code base.

codon/NHS Graphs/seabornNhsdColourScheme/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

codon/NHS Graphs/seabornNhsdColourScheme/nhsdColoursForSeaborn.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

codon/NHS Graphs/seabornNhsdColourScheme/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

codon/SQL Interface/BULK INSERT/DSS_CORPORATE_Python_Insert_Into.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

codon/SQL Interface/BULK INSERT/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

codon/SQL Interface/BULK INSERT/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

codon/SQL Interface/CREATE TABLE/DSS_CORPORATE_Python_CreateTable_Try.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)