From 263c4ffe6c23ab4d2a7e13a5b5bc3e9862493726 Mon Sep 17 00:00:00 2001 From: Akin Mousse Date: Mon, 5 Aug 2024 14:41:50 -0700 Subject: [PATCH 1/2] Removing Bloomberg mentions Signed-off-by: Akin Mousse --- LICENSE.txt | 2 +- README.md | 18 ++++++++---------- examples/DataGrid.ipynb | 2 +- examples/HyperlinkRenderer.ipynb | 4 ++-- ipydatagrid/__init__.py | 2 +- ipydatagrid/_frontend.py | 2 +- ipydatagrid/_version.py | 2 +- ipydatagrid/cellrenderer.py | 2 +- ipydatagrid/datagrid.py | 2 +- js/cellrenderer.ts | 2 +- js/datagrid.ts | 2 +- js/index.ts | 2 +- js/plugin.ts | 2 +- js/vegaexpr.ts | 2 +- js/version.ts | 2 +- package.json | 2 +- pyproject.toml | 2 +- 17 files changed, 25 insertions(+), 27 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index a76d8af5..1f2766a2 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2019 Bloomberg +Copyright (c) 2019 All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/README.md b/README.md index c3aea174..2e5010cc 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ the nbextension: jupyter nbextension enable --py [--sys-prefix|--user|--system] ipydatagrid ``` -NOTE: For examples using Scales from bqplot to work as intended, the bqplot notebook and lab extensions must be installed as well. See the [bqplot repo](https://github.com/bloomberg/bqplot) for installation instructions: +NOTE: For examples using Scales from bqplot to work as intended, the bqplot notebook and lab extensions must be installed as well. See the [bqplot repo](https://github.com/bqplot/bqplot) for installation instructions: ## Development installation @@ -104,12 +104,12 @@ jupyter lab We :heart: contributions. -Have you had a good experience with this project? Why not share some love and contribute code, or just let us know about any issues you had with it? +The ipydatagrid package is under the [Jupyter-Widgets](https://github.com/jupyter-widgets) [software subproject](https://jupyter.org/governance/software_subprojects.html). -We welcome issue reports [here](../../issues); be sure to choose the proper issue template for your issue, so that we can be sure you're providing the necessary information. +We appreciate contributions from the community. -Before sending a [Pull Request](../../pulls), please make sure you read our -[Contribution Guidelines](https://github.com/bloomberg/.github/blob/master/CONTRIBUTING.md). +We follow the [IPython Contributing Guide](https://github.com/ipython/ipython/blob/main/CONTRIBUTING.md) +and [Jupyter Contributing Guides](https://jupyter.readthedocs.io/en/latest/contributor/content-contributor.html) ## License @@ -117,14 +117,12 @@ Please read the [LICENSE](LICENSE.txt) file. ## Code of Conduct -This project has adopted a [Code of Conduct](https://github.com/bloomberg/.github/blob/master/CODE_OF_CONDUCT.md). -If you have any concerns about the Code, or behavior which you have experienced in the project, please -contact us at opensource@bloomberg.net. +This project has adopted a [Project Jupyter's Code of Conduct](https://github.com/jupyter/governance/blob/master/conduct/code_of_conduct.md)bloo. ## Security Vulnerability Reporting -If you believe you have identified a security vulnerability in this project, please send email to the project -team at opensource@bloomberg.net, detailing the suspected issue and any methods you've found to reproduce it. +If you believe you have identified a security vulnerability in this project, please raise an issue to the project, +detailing the suspected problem and any methods you've found to reproduce it. Please do NOT open an issue in the GitHub repository, as we'd prefer to keep vulnerability reports private until we've had an opportunity to review and address them. diff --git a/examples/DataGrid.ipynb b/examples/DataGrid.ipynb index 97a78595..e6abb704 100644 --- a/examples/DataGrid.ipynb +++ b/examples/DataGrid.ipynb @@ -50,7 +50,7 @@ "You can look at the vega-expression documentation for more information about available constants and functions. In the scope of the expression are also available: `value`: cell value, `x` and `y`: cell position in pixel, `width` and `height` of the cell, `row` and `column`: cell position.\n", "\n", "### Python expressions\n", - "If you prefer writing those expressions in Python, we provide an `Expr` class which takes a Python expression as input string or a Python function, and generates the equivalent vega-expression for you using [py2vega](https://github.com/Bloomberg/py2vega)." + "If you prefer writing those expressions in Python, we provide an `Expr` class which takes a Python expression as input string or a Python function, and generates the equivalent vega-expression for you using [py2vega](https://github.com/QuantStack/py2vega)." ] }, { diff --git a/examples/HyperlinkRenderer.ipynb b/examples/HyperlinkRenderer.ipynb index 3a103eae..d235e9e6 100644 --- a/examples/HyperlinkRenderer.ipynb +++ b/examples/HyperlinkRenderer.ipynb @@ -31,8 +31,8 @@ "\n", "df = pd.DataFrame(\n", " data={\n", - " \"Name\": [\"Tech at Bloomberg\"],\n", - " \"Link\": [[\"https://www.techatbloomberg.com/\", \"Tech at BBG Website\"]],\n", + " \"Name\": [\"NumFocus\"],\n", + " \"Link\": [[\"https://numfocus.org/\", \"Better tools to build a better worlds.\"]],\n", " }\n", ")\n", "\n", diff --git a/ipydatagrid/__init__.py b/ipydatagrid/__init__.py index ce489f26..5ce4e83a 100644 --- a/ipydatagrid/__init__.py +++ b/ipydatagrid/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) Bloomberg. +# Copyright (c). # Distributed under the terms of the Modified BSD License. from ._version import __version__ diff --git a/ipydatagrid/_frontend.py b/ipydatagrid/_frontend.py index 67eec552..464c1e99 100644 --- a/ipydatagrid/_frontend.py +++ b/ipydatagrid/_frontend.py @@ -1,4 +1,4 @@ -# Copyright (c) Bloomberg. +# Copyright (c) NumFOCUS. # Distributed under the terms of the Modified BSD License. """ diff --git a/ipydatagrid/_version.py b/ipydatagrid/_version.py index 41b1f78a..9715dfaf 100644 --- a/ipydatagrid/_version.py +++ b/ipydatagrid/_version.py @@ -1,4 +1,4 @@ -# Copyright (c) Bloomberg. +# Copyright (c) NumFOCUS. # Distributed under the terms of the Modified BSD License. __version__ = "1.3.2" diff --git a/ipydatagrid/cellrenderer.py b/ipydatagrid/cellrenderer.py index 158f6ec5..b18a9b35 100644 --- a/ipydatagrid/cellrenderer.py +++ b/ipydatagrid/cellrenderer.py @@ -1,4 +1,4 @@ -# Copyright (c) Bloomberg. +# Copyright (c) NumFOCUS. # Distributed under the terms of the Modified BSD License. # Dependency to bqplot is temporary, we should remove this diff --git a/ipydatagrid/datagrid.py b/ipydatagrid/datagrid.py index 910f4ca8..ca67a6aa 100644 --- a/ipydatagrid/datagrid.py +++ b/ipydatagrid/datagrid.py @@ -1,4 +1,4 @@ -# Copyright (c) Bloomberg. +# Copyright (c) NumFOCUS. # Distributed under the terms of the Modified BSD License. import datetime diff --git a/js/cellrenderer.ts b/js/cellrenderer.ts index c6ed7cc2..c51ff642 100644 --- a/js/cellrenderer.ts +++ b/js/cellrenderer.ts @@ -1,4 +1,4 @@ -// Copyright (c) Bloomberg +// Copyright (c) NumFOCUS. // Distributed under the terms of the Modified BSD License. const d3Format: any = require('d3-format'); diff --git a/js/datagrid.ts b/js/datagrid.ts index 5ab18fec..3cb09ee1 100644 --- a/js/datagrid.ts +++ b/js/datagrid.ts @@ -1,4 +1,4 @@ -// Copyright (c) Bloomberg +// Copyright (c) NumFOCUS. // Distributed under the terms of the Modified BSD License. import * as _ from 'underscore'; diff --git a/js/index.ts b/js/index.ts index d7251bff..9def7b1b 100644 --- a/js/index.ts +++ b/js/index.ts @@ -1,4 +1,4 @@ -// Copyright (c) Bloomberg +// Copyright (c) NumFOCUS. // Distributed under the terms of the Modified BSD License. // In case of classic Jupyter Notebook and embed, we provide the PhosphorJS CSS diff --git a/js/plugin.ts b/js/plugin.ts index aac109fe..34664160 100644 --- a/js/plugin.ts +++ b/js/plugin.ts @@ -1,4 +1,4 @@ -// Copyright (c) Bloomberg +// Copyright (c) NumFOCUS. // Distributed under the terms of the Modified BSD License. import { Application, IPlugin } from '@lumino/application'; diff --git a/js/vegaexpr.ts b/js/vegaexpr.ts index 7b7a9854..73008730 100644 --- a/js/vegaexpr.ts +++ b/js/vegaexpr.ts @@ -1,4 +1,4 @@ -// Copyright (c) Bloomberg +// Copyright (c) NumFOCUS. // Distributed under the terms of the Modified BSD License. const vegaExpressions: any = require('vega-expression'); diff --git a/js/version.ts b/js/version.ts index fb199c96..ebf5738a 100644 --- a/js/version.ts +++ b/js/version.ts @@ -1,4 +1,4 @@ -// Copyright (c) Bloomberg +// Copyright (c) NumFOCUS. // Distributed under the terms of the Modified BSD License. const data = require('../package.json'); diff --git a/package.json b/package.json index abc69811..d61d94ae 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "license": "BSD-3-Clause", "author": { - "name": "Bloomberg", + "name": "NumFOCUS", "email": "" }, "main": "lib/index.js", diff --git a/pyproject.toml b/pyproject.toml index 9298ceaa..e2d2973e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ keywords = [ "Widgets", ] authors = [ - { name = "Bloomberg" }, + { name = "NumFOCUS" }, ] requires-python = ">=3.8" classifiers = [ From 8c3c5940572b5652a2e2ac39118a46ae53788769 Mon Sep 17 00:00:00 2001 From: Akin Mousse Date: Mon, 5 Aug 2024 14:52:43 -0700 Subject: [PATCH 2/2] Update repo homepage Signed-off-by: Akin Mousse --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d61d94ae..04976865 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ "dist/*.png", "style/**/*.*" ], - "homepage": "https://github.com/Bloomberg/ipydatagrid", + "homepage": "https://github.com/jupyter-widgets/ipydatagrid", "bugs": { - "url": "https://github.com/Bloomberg/ipydatagrid/issues" + "url": "https://github.com/jupyter-widgets/ipydatagrid/issues" }, "license": "BSD-3-Clause", "author": {