diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index c134446b..3489dc13 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9] - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-20.04, macos-latest, windows-latest] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 07dde39e..2fddb1aa 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ on: jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 - name: Set up Python 3.8 diff --git a/.github/workflows/minimum.yml b/.github/workflows/minimum.yml index 77229f71..ce373743 100644 --- a/.github/workflows/minimum.yml +++ b/.github/workflows/minimum.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9] - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-20.04, macos-latest, windows-latest] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index ec5a459d..82f32739 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9] - os: [ubuntu-latest, macos-latest] # skip windows bc rundoc fails + os: [ubuntu-20.04, macos-latest] # skip windows bc rundoc fails steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 4bea6e29..6a7072a8 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: python-version: [3.6, 3.7, 3.8, 3.9] - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-20.04, macos-latest, windows-latest] steps: - uses: actions/checkout@v1 - name: Set up Python ${{ matrix.python-version }} @@ -29,6 +29,6 @@ jobs: python -m pip install invoke .[test] - name: Run unit tests run: invoke unit - - if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8 + - if: matrix.os == 'ubuntu-20.04' && matrix.python-version == 3.8 name: Upload codecov report uses: codecov/codecov-action@v2 diff --git a/AUTHORS.rst b/AUTHORS.rst index 1ea30d09..54b9e4c4 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -1,13 +1 @@ -Credits -======= - -Research and Development Lead ------------------------------ - -* Lei Xu - -Contributors ------------- - -* Carles Sala -* Kevin Kuo +See: https://github.com/sdv-dev/CTGAN/graphs/contributors diff --git a/LICENSE b/LICENSE index f6f8213b..7547a366 100644 --- a/LICENSE +++ b/LICENSE @@ -1,22 +1,107 @@ -MIT License -Copyright (c) 2019, MIT Data To AI Lab +Business Source License 1.1 -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: +Parameters -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +Licensor: DataCebo, Inc. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +Licensed Work: CTGAN + The Licensed Work is (c) DataCebo, Inc. +Additional Use Grant: You may make use of the Licensed Work, and derivatives of the Licensed + Work, provided that you do not use the Licensed Work, or derivatives of + the Licensed Work, for a Synthetic Data Creation Service. + + A "Synthetic Data Creation Service" is a commercial offering + that allows third parties (other than your employees and + contractors) to access the functionality of the Licensed + Work so that such third parties directly benefit from the + data processing, machine learning or synthetic data creation + features of the Licensed Work. + +Change Date: Change date is four years from release date. + Please see https://github.com/sdv-dev/CTGAN/releases + for exact dates. + +Change License: MIT License + + +Notice + +The Business Source License (this document, or the "License") is not an Open +Source license. However, the Licensed Work will eventually be made available +under an Open Source License, as stated in this License. + +License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. +"Business Source License" is a trademark of MariaDB Corporation Ab. + +----------------------------------------------------------------------------- + +Business Source License 1.1 + +Terms + +The Licensor hereby grants you the right to copy, modify, create derivative +works, redistribute, and make non-production use of the Licensed Work. The +Licensor may make an Additional Use Grant, above, permitting limited +production use. + +Effective on the Change Date, or the fourth anniversary of the first publicly +available distribution of a specific version of the Licensed Work under this +License, whichever comes first, the Licensor hereby grants you rights under +the terms of the Change License, and the rights granted in the paragraph +above terminate. + +If your use of the Licensed Work does not comply with the requirements +currently in effect as described in this License, you must purchase a +commercial license from the Licensor, its affiliated entities, or authorized +resellers, or you must refrain from using the Licensed Work. + +All copies of the original and modified Licensed Work, and derivative works +of the Licensed Work, are subject to this License. This License applies +separately for each version of the Licensed Work and the Change Date may vary +for each version of the Licensed Work released by Licensor. + +You must conspicuously display this License on each original or modified copy +of the Licensed Work. If you receive the Licensed Work in original or +modified form from a third party, the terms and conditions set forth in this +License apply to your use of that work. + +Any use of the Licensed Work in violation of this License will automatically +terminate your rights under this License for the current and all other +versions of the Licensed Work. + +This License does not grant you any right in any trademark or logo of +Licensor or its affiliates (provided that you may use a trademark or logo of +Licensor as expressly required by this License). + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON +AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, +EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND +TITLE. + +MariaDB hereby grants you permission to use this License’s text to license +your works, and to refer to it using the trademark "Business Source License", +as long as you comply with the Covenants of Licensor below. + +Covenants of Licensor + +In consideration of the right to use this License’s text and the "Business +Source License" name and trademark, Licensor covenants to MariaDB, and to all +other recipients of the licensed work to be provided by Licensor: + +1. To specify as the Change License the GPL Version 2.0 or any later version, + or a license that is compatible with GPL Version 2.0 or a later version, + where "compatible" means that software provided under the Change License can + be included in a program with software provided under GPL Version 2.0 or a + later version. Licensor may specify additional Change Licenses without + limitation. + +2. To either: (a) specify an additional grant of rights to use that does not + impose any additional restriction on the right granted in this License, as + the Additional Use Grant; or (b) insert the text "None". + +3. To specify a Change Date. + +4. Not to modify this License in any other way. diff --git a/README.md b/README.md index 6554bc12..497a87ac 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,6 @@ CTGAN is a collection of Deep Learning based synthetic data generators for s | :orange_book: **[Blog]** | A deeper look at open source, synthetic data creation and evaluation.| | :book: **[Documentation]** | Quickstarts, User and Development Guides, and API Reference. | | :octocat: **[Repository]** | The link to the Github Repository of this library. | -| :scroll: **[License]** | This library is published under the MIT License. | | :keyboard: **[Development Status]** | This software is in its Pre-Alpha stage. | | [![][Slack Logo] **Community**][Community] | Join our Slack Workspace for announcements and discussions. | diff --git a/setup.py b/setup.py index a83b7f72..14947400 100644 --- a/setup.py +++ b/setup.py @@ -78,20 +78,21 @@ ] setup( - author='MIT Data To AI Lab', - author_email='dailabmit@gmail.com', + author='DataCebo, Inc.', + author_email='info@sdv.dev', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', + 'License :: Free for non-commercial use', 'Natural Language :: English', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Topic :: Scientific/Engineering :: Artificial Intelligence', ], - description='Conditional GAN for Tabular Data', + description='Create tabular synthetic data using a conditional GAN', entry_points={ 'console_scripts': [ 'ctgan=ctgan.__main__:main' @@ -103,7 +104,7 @@ }, install_package_data=True, install_requires=install_requires, - license='MIT license', + license='BSL-1.1', long_description=readme + '\n\n' + history, long_description_content_type='text/markdown', include_package_data=True,