From 062cbc5a5a385805ff9cdb08577737e549e839e3 Mon Sep 17 00:00:00 2001 From: Aaron Kanzer Date: Mon, 27 Nov 2023 16:37:00 -0500 Subject: [PATCH] Revise dandi-cli to conform for linc-cli --- .pypirc | 3 --- docs/source/conf.py | 8 ++++---- docs/source/examples/dandiapi-as_readable.py | 2 +- docs/source/examples/dandiapi-example.py | 2 +- {dandi => lincbrain}/__init__.py | 0 {dandi => lincbrain}/_version.py | 0 {dandi => lincbrain}/cli/__init__.py | 0 {dandi => lincbrain}/cli/base.py | 0 {dandi => lincbrain}/cli/cmd_delete.py | 0 {dandi => lincbrain}/cli/cmd_digest.py | 0 {dandi => lincbrain}/cli/cmd_download.py | 0 {dandi => lincbrain}/cli/cmd_instances.py | 0 {dandi => lincbrain}/cli/cmd_ls.py | 0 {dandi => lincbrain}/cli/cmd_move.py | 0 {dandi => lincbrain}/cli/cmd_organize.py | 0 {dandi => lincbrain}/cli/cmd_service_scripts.py | 0 {dandi => lincbrain}/cli/cmd_shell_completion.py | 0 {dandi => lincbrain}/cli/cmd_upload.py | 0 {dandi => lincbrain}/cli/cmd_validate.py | 0 {dandi => lincbrain}/cli/command.py | 0 {dandi => lincbrain}/cli/formatter.py | 0 {dandi => lincbrain}/cli/tests/__init__.py | 0 .../cli/tests/data/update_dandiset_from_doi/biorxiv.json | 0 .../tests/data/update_dandiset_from_doi/biorxiv.vcr.yaml | 0 .../cli/tests/data/update_dandiset_from_doi/elife.json | 0 .../tests/data/update_dandiset_from_doi/elife.vcr.yaml | 0 .../tests/data/update_dandiset_from_doi/jneurosci.json | 0 .../data/update_dandiset_from_doi/jneurosci.vcr.yaml | 0 .../cli/tests/data/update_dandiset_from_doi/nature.json | 0 .../tests/data/update_dandiset_from_doi/nature.vcr.yaml | 0 .../cli/tests/data/update_dandiset_from_doi/neuron.json | 0 .../tests/data/update_dandiset_from_doi/neuron.vcr.yaml | 0 {dandi => lincbrain}/cli/tests/test_cmd_ls.py | 0 {dandi => lincbrain}/cli/tests/test_cmd_validate.py | 0 {dandi => lincbrain}/cli/tests/test_command.py | 0 {dandi => lincbrain}/cli/tests/test_digest.py | 0 {dandi => lincbrain}/cli/tests/test_download.py | 0 {dandi => lincbrain}/cli/tests/test_formatter.py | 0 {dandi => lincbrain}/cli/tests/test_instances.py | 0 {dandi => lincbrain}/cli/tests/test_move.py | 0 {dandi => lincbrain}/cli/tests/test_service_scripts.py | 0 {dandi => lincbrain}/cli/tests/test_shell_completion.py | 0 {dandi => lincbrain}/conftest.py | 0 {dandi => lincbrain}/consts.py | 0 {dandi => lincbrain}/dandiapi.py | 0 {dandi => lincbrain}/dandiarchive.py | 0 {dandi => lincbrain}/dandiset.py | 0 {dandi => lincbrain}/delete.py | 0 {dandi => lincbrain}/download.py | 0 {dandi => lincbrain}/due.py | 0 {dandi => lincbrain}/exceptions.py | 0 {dandi => lincbrain}/files/__init__.py | 0 {dandi => lincbrain}/files/_private.py | 0 {dandi => lincbrain}/files/bases.py | 0 {dandi => lincbrain}/files/bids.py | 0 {dandi => lincbrain}/files/zarr.py | 0 {dandi => lincbrain}/keyring.py | 0 {dandi => lincbrain}/metadata/__init__.py | 0 {dandi => lincbrain}/metadata/core.py | 0 {dandi => lincbrain}/metadata/nwb.py | 0 {dandi => lincbrain}/metadata/util.py | 0 {dandi => lincbrain}/misctypes.py | 0 {dandi => lincbrain}/move.py | 0 {dandi => lincbrain}/organize.py | 0 {dandi => lincbrain}/pynwb_utils.py | 0 {dandi => lincbrain}/support/__init__.py | 0 {dandi => lincbrain}/support/digests.py | 0 {dandi => lincbrain}/support/iterators.py | 0 {dandi => lincbrain}/support/pyout.py | 0 {dandi => lincbrain}/support/tests/__init__.py | 0 {dandi => lincbrain}/support/tests/test_digests.py | 0 {dandi => lincbrain}/support/tests/test_iterators.py | 0 {dandi => lincbrain}/support/threaded_walk.py | 0 {dandi => lincbrain}/tests/__init__.py | 0 .../tests/data/dandiarchive-docker/docker-compose.yml | 0 .../tests/data/metadata/dandimeta_migration.new.json | 0 .../tests/data/metadata/metadata2asset.json | 0 .../tests/data/metadata/metadata2asset_3.json | 0 .../tests/data/metadata/metadata2asset_cellline.json | 0 .../tests/data/metadata/metadata2asset_simple1.json | 0 {dandi => lincbrain}/tests/fixtures.py | 0 {dandi => lincbrain}/tests/skip.py | 0 {dandi => lincbrain}/tests/test_dandiapi.py | 0 {dandi => lincbrain}/tests/test_dandiarchive.py | 0 {dandi => lincbrain}/tests/test_dandiset.py | 0 {dandi => lincbrain}/tests/test_delete.py | 0 {dandi => lincbrain}/tests/test_download.py | 0 {dandi => lincbrain}/tests/test_files.py | 0 {dandi => lincbrain}/tests/test_fixtures.py | 0 {dandi => lincbrain}/tests/test_helpers.py | 0 {dandi => lincbrain}/tests/test_keyring.py | 0 {dandi => lincbrain}/tests/test_metadata.py | 0 {dandi => lincbrain}/tests/test_move.py | 0 {dandi => lincbrain}/tests/test_organize.py | 0 {dandi => lincbrain}/tests/test_pynwb_utils.py | 0 {dandi => lincbrain}/tests/test_upload.py | 0 {dandi => lincbrain}/tests/test_utils.py | 0 {dandi => lincbrain}/tests/test_validate.py | 0 {dandi => lincbrain}/upload.py | 0 {dandi => lincbrain}/utils.py | 0 {dandi => lincbrain}/validate.py | 0 {dandi => lincbrain}/validate_types.py | 0 setup.cfg | 8 ++++---- setup.py | 2 +- 104 files changed, 11 insertions(+), 14 deletions(-) rename {dandi => lincbrain}/__init__.py (100%) rename {dandi => lincbrain}/_version.py (100%) rename {dandi => lincbrain}/cli/__init__.py (100%) rename {dandi => lincbrain}/cli/base.py (100%) rename {dandi => lincbrain}/cli/cmd_delete.py (100%) rename {dandi => lincbrain}/cli/cmd_digest.py (100%) rename {dandi => lincbrain}/cli/cmd_download.py (100%) rename {dandi => lincbrain}/cli/cmd_instances.py (100%) rename {dandi => lincbrain}/cli/cmd_ls.py (100%) rename {dandi => lincbrain}/cli/cmd_move.py (100%) rename {dandi => lincbrain}/cli/cmd_organize.py (100%) rename {dandi => lincbrain}/cli/cmd_service_scripts.py (100%) rename {dandi => lincbrain}/cli/cmd_shell_completion.py (100%) rename {dandi => lincbrain}/cli/cmd_upload.py (100%) rename {dandi => lincbrain}/cli/cmd_validate.py (100%) rename {dandi => lincbrain}/cli/command.py (100%) rename {dandi => lincbrain}/cli/formatter.py (100%) rename {dandi => lincbrain}/cli/tests/__init__.py (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/biorxiv.json (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/biorxiv.vcr.yaml (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/elife.json (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/elife.vcr.yaml (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/jneurosci.json (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/jneurosci.vcr.yaml (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/nature.json (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/nature.vcr.yaml (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/neuron.json (100%) rename {dandi => lincbrain}/cli/tests/data/update_dandiset_from_doi/neuron.vcr.yaml (100%) rename {dandi => lincbrain}/cli/tests/test_cmd_ls.py (100%) rename {dandi => lincbrain}/cli/tests/test_cmd_validate.py (100%) rename {dandi => lincbrain}/cli/tests/test_command.py (100%) rename {dandi => lincbrain}/cli/tests/test_digest.py (100%) rename {dandi => lincbrain}/cli/tests/test_download.py (100%) rename {dandi => lincbrain}/cli/tests/test_formatter.py (100%) rename {dandi => lincbrain}/cli/tests/test_instances.py (100%) rename {dandi => lincbrain}/cli/tests/test_move.py (100%) rename {dandi => lincbrain}/cli/tests/test_service_scripts.py (100%) rename {dandi => lincbrain}/cli/tests/test_shell_completion.py (100%) rename {dandi => lincbrain}/conftest.py (100%) rename {dandi => lincbrain}/consts.py (100%) rename {dandi => lincbrain}/dandiapi.py (100%) rename {dandi => lincbrain}/dandiarchive.py (100%) rename {dandi => lincbrain}/dandiset.py (100%) rename {dandi => lincbrain}/delete.py (100%) rename {dandi => lincbrain}/download.py (100%) rename {dandi => lincbrain}/due.py (100%) rename {dandi => lincbrain}/exceptions.py (100%) rename {dandi => lincbrain}/files/__init__.py (100%) rename {dandi => lincbrain}/files/_private.py (100%) rename {dandi => lincbrain}/files/bases.py (100%) rename {dandi => lincbrain}/files/bids.py (100%) rename {dandi => lincbrain}/files/zarr.py (100%) rename {dandi => lincbrain}/keyring.py (100%) rename {dandi => lincbrain}/metadata/__init__.py (100%) rename {dandi => lincbrain}/metadata/core.py (100%) rename {dandi => lincbrain}/metadata/nwb.py (100%) rename {dandi => lincbrain}/metadata/util.py (100%) rename {dandi => lincbrain}/misctypes.py (100%) rename {dandi => lincbrain}/move.py (100%) rename {dandi => lincbrain}/organize.py (100%) rename {dandi => lincbrain}/pynwb_utils.py (100%) rename {dandi => lincbrain}/support/__init__.py (100%) rename {dandi => lincbrain}/support/digests.py (100%) rename {dandi => lincbrain}/support/iterators.py (100%) rename {dandi => lincbrain}/support/pyout.py (100%) rename {dandi => lincbrain}/support/tests/__init__.py (100%) rename {dandi => lincbrain}/support/tests/test_digests.py (100%) rename {dandi => lincbrain}/support/tests/test_iterators.py (100%) rename {dandi => lincbrain}/support/threaded_walk.py (100%) rename {dandi => lincbrain}/tests/__init__.py (100%) rename {dandi => lincbrain}/tests/data/dandiarchive-docker/docker-compose.yml (100%) rename {dandi => lincbrain}/tests/data/metadata/dandimeta_migration.new.json (100%) rename {dandi => lincbrain}/tests/data/metadata/metadata2asset.json (100%) rename {dandi => lincbrain}/tests/data/metadata/metadata2asset_3.json (100%) rename {dandi => lincbrain}/tests/data/metadata/metadata2asset_cellline.json (100%) rename {dandi => lincbrain}/tests/data/metadata/metadata2asset_simple1.json (100%) rename {dandi => lincbrain}/tests/fixtures.py (100%) rename {dandi => lincbrain}/tests/skip.py (100%) rename {dandi => lincbrain}/tests/test_dandiapi.py (100%) rename {dandi => lincbrain}/tests/test_dandiarchive.py (100%) rename {dandi => lincbrain}/tests/test_dandiset.py (100%) rename {dandi => lincbrain}/tests/test_delete.py (100%) rename {dandi => lincbrain}/tests/test_download.py (100%) rename {dandi => lincbrain}/tests/test_files.py (100%) rename {dandi => lincbrain}/tests/test_fixtures.py (100%) rename {dandi => lincbrain}/tests/test_helpers.py (100%) rename {dandi => lincbrain}/tests/test_keyring.py (100%) rename {dandi => lincbrain}/tests/test_metadata.py (100%) rename {dandi => lincbrain}/tests/test_move.py (100%) rename {dandi => lincbrain}/tests/test_organize.py (100%) rename {dandi => lincbrain}/tests/test_pynwb_utils.py (100%) rename {dandi => lincbrain}/tests/test_upload.py (100%) rename {dandi => lincbrain}/tests/test_utils.py (100%) rename {dandi => lincbrain}/tests/test_validate.py (100%) rename {dandi => lincbrain}/upload.py (100%) rename {dandi => lincbrain}/utils.py (100%) rename {dandi => lincbrain}/validate.py (100%) rename {dandi => lincbrain}/validate_types.py (100%) diff --git a/.pypirc b/.pypirc index 053294c49..e69de29bb 100644 --- a/.pypirc +++ b/.pypirc @@ -1,3 +0,0 @@ -[pypi] -username = __token__ -password = pypi-AgEIcHlwaS5vcmcCJDE3MjMzZDczLTExM2QtNGY0ZS1iMmY0LTcxNGM3NTY5NGU0NQACKlszLCI3MDM5NDU5Yi05ZjkzLTQ0ZjYtYWZlMS02MTU3MTNmNzU2ZDkiXQAABiC4dolGR5CXL5UHbRoyh4UEi9b8T0U3l7jL1eS6EeaCgw \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index f3b61feeb..11f9ece7e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -17,15 +17,15 @@ # -- Project information ----------------------------------------------------- -import dandi +import lincbrain -project = "dandi" +project = "lincbrain" copyright = "2021-2023, DANDI Team" author = "DANDI Team" # The full version, including alpha/beta/rc tags -version = dandi.__version__ -release = dandi.__version__ +version = lincbrain.__version__ +release = lincbrain.__version__ # -- General configuration --------------------------------------------------- diff --git a/docs/source/examples/dandiapi-as_readable.py b/docs/source/examples/dandiapi-as_readable.py index 6703051a8..1ddad9418 100644 --- a/docs/source/examples/dandiapi-as_readable.py +++ b/docs/source/examples/dandiapi-as_readable.py @@ -1,4 +1,4 @@ -from dandi.dandiapi import DandiAPIClient +from lincbrain.dandiapi import DandiAPIClient dandiset_id = "000006" # ephys dataset from the Svoboda Lab filepath = "sub-anm372795/sub-anm372795_ses-20170718.nwb" # 450 kB file diff --git a/docs/source/examples/dandiapi-example.py b/docs/source/examples/dandiapi-example.py index 89bd4353e..98050ffc0 100644 --- a/docs/source/examples/dandiapi-example.py +++ b/docs/source/examples/dandiapi-example.py @@ -1,6 +1,6 @@ import json -from dandi.dandiapi import DandiAPIClient +from lincbrain.dandiapi import DandiAPIClient with DandiAPIClient.for_dandi_instance("dandi") as client: for dandiset in client.get_dandisets(): diff --git a/dandi/__init__.py b/lincbrain/__init__.py similarity index 100% rename from dandi/__init__.py rename to lincbrain/__init__.py diff --git a/dandi/_version.py b/lincbrain/_version.py similarity index 100% rename from dandi/_version.py rename to lincbrain/_version.py diff --git a/dandi/cli/__init__.py b/lincbrain/cli/__init__.py similarity index 100% rename from dandi/cli/__init__.py rename to lincbrain/cli/__init__.py diff --git a/dandi/cli/base.py b/lincbrain/cli/base.py similarity index 100% rename from dandi/cli/base.py rename to lincbrain/cli/base.py diff --git a/dandi/cli/cmd_delete.py b/lincbrain/cli/cmd_delete.py similarity index 100% rename from dandi/cli/cmd_delete.py rename to lincbrain/cli/cmd_delete.py diff --git a/dandi/cli/cmd_digest.py b/lincbrain/cli/cmd_digest.py similarity index 100% rename from dandi/cli/cmd_digest.py rename to lincbrain/cli/cmd_digest.py diff --git a/dandi/cli/cmd_download.py b/lincbrain/cli/cmd_download.py similarity index 100% rename from dandi/cli/cmd_download.py rename to lincbrain/cli/cmd_download.py diff --git a/dandi/cli/cmd_instances.py b/lincbrain/cli/cmd_instances.py similarity index 100% rename from dandi/cli/cmd_instances.py rename to lincbrain/cli/cmd_instances.py diff --git a/dandi/cli/cmd_ls.py b/lincbrain/cli/cmd_ls.py similarity index 100% rename from dandi/cli/cmd_ls.py rename to lincbrain/cli/cmd_ls.py diff --git a/dandi/cli/cmd_move.py b/lincbrain/cli/cmd_move.py similarity index 100% rename from dandi/cli/cmd_move.py rename to lincbrain/cli/cmd_move.py diff --git a/dandi/cli/cmd_organize.py b/lincbrain/cli/cmd_organize.py similarity index 100% rename from dandi/cli/cmd_organize.py rename to lincbrain/cli/cmd_organize.py diff --git a/dandi/cli/cmd_service_scripts.py b/lincbrain/cli/cmd_service_scripts.py similarity index 100% rename from dandi/cli/cmd_service_scripts.py rename to lincbrain/cli/cmd_service_scripts.py diff --git a/dandi/cli/cmd_shell_completion.py b/lincbrain/cli/cmd_shell_completion.py similarity index 100% rename from dandi/cli/cmd_shell_completion.py rename to lincbrain/cli/cmd_shell_completion.py diff --git a/dandi/cli/cmd_upload.py b/lincbrain/cli/cmd_upload.py similarity index 100% rename from dandi/cli/cmd_upload.py rename to lincbrain/cli/cmd_upload.py diff --git a/dandi/cli/cmd_validate.py b/lincbrain/cli/cmd_validate.py similarity index 100% rename from dandi/cli/cmd_validate.py rename to lincbrain/cli/cmd_validate.py diff --git a/dandi/cli/command.py b/lincbrain/cli/command.py similarity index 100% rename from dandi/cli/command.py rename to lincbrain/cli/command.py diff --git a/dandi/cli/formatter.py b/lincbrain/cli/formatter.py similarity index 100% rename from dandi/cli/formatter.py rename to lincbrain/cli/formatter.py diff --git a/dandi/cli/tests/__init__.py b/lincbrain/cli/tests/__init__.py similarity index 100% rename from dandi/cli/tests/__init__.py rename to lincbrain/cli/tests/__init__.py diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json b/lincbrain/cli/tests/data/update_dandiset_from_doi/biorxiv.json similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json rename to lincbrain/cli/tests/data/update_dandiset_from_doi/biorxiv.json diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.vcr.yaml b/lincbrain/cli/tests/data/update_dandiset_from_doi/biorxiv.vcr.yaml similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.vcr.yaml rename to lincbrain/cli/tests/data/update_dandiset_from_doi/biorxiv.vcr.yaml diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/elife.json b/lincbrain/cli/tests/data/update_dandiset_from_doi/elife.json similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/elife.json rename to lincbrain/cli/tests/data/update_dandiset_from_doi/elife.json diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/elife.vcr.yaml b/lincbrain/cli/tests/data/update_dandiset_from_doi/elife.vcr.yaml similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/elife.vcr.yaml rename to lincbrain/cli/tests/data/update_dandiset_from_doi/elife.vcr.yaml diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json b/lincbrain/cli/tests/data/update_dandiset_from_doi/jneurosci.json similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json rename to lincbrain/cli/tests/data/update_dandiset_from_doi/jneurosci.json diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.vcr.yaml b/lincbrain/cli/tests/data/update_dandiset_from_doi/jneurosci.vcr.yaml similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.vcr.yaml rename to lincbrain/cli/tests/data/update_dandiset_from_doi/jneurosci.vcr.yaml diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/nature.json b/lincbrain/cli/tests/data/update_dandiset_from_doi/nature.json similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/nature.json rename to lincbrain/cli/tests/data/update_dandiset_from_doi/nature.json diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/nature.vcr.yaml b/lincbrain/cli/tests/data/update_dandiset_from_doi/nature.vcr.yaml similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/nature.vcr.yaml rename to lincbrain/cli/tests/data/update_dandiset_from_doi/nature.vcr.yaml diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/neuron.json b/lincbrain/cli/tests/data/update_dandiset_from_doi/neuron.json similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/neuron.json rename to lincbrain/cli/tests/data/update_dandiset_from_doi/neuron.json diff --git a/dandi/cli/tests/data/update_dandiset_from_doi/neuron.vcr.yaml b/lincbrain/cli/tests/data/update_dandiset_from_doi/neuron.vcr.yaml similarity index 100% rename from dandi/cli/tests/data/update_dandiset_from_doi/neuron.vcr.yaml rename to lincbrain/cli/tests/data/update_dandiset_from_doi/neuron.vcr.yaml diff --git a/dandi/cli/tests/test_cmd_ls.py b/lincbrain/cli/tests/test_cmd_ls.py similarity index 100% rename from dandi/cli/tests/test_cmd_ls.py rename to lincbrain/cli/tests/test_cmd_ls.py diff --git a/dandi/cli/tests/test_cmd_validate.py b/lincbrain/cli/tests/test_cmd_validate.py similarity index 100% rename from dandi/cli/tests/test_cmd_validate.py rename to lincbrain/cli/tests/test_cmd_validate.py diff --git a/dandi/cli/tests/test_command.py b/lincbrain/cli/tests/test_command.py similarity index 100% rename from dandi/cli/tests/test_command.py rename to lincbrain/cli/tests/test_command.py diff --git a/dandi/cli/tests/test_digest.py b/lincbrain/cli/tests/test_digest.py similarity index 100% rename from dandi/cli/tests/test_digest.py rename to lincbrain/cli/tests/test_digest.py diff --git a/dandi/cli/tests/test_download.py b/lincbrain/cli/tests/test_download.py similarity index 100% rename from dandi/cli/tests/test_download.py rename to lincbrain/cli/tests/test_download.py diff --git a/dandi/cli/tests/test_formatter.py b/lincbrain/cli/tests/test_formatter.py similarity index 100% rename from dandi/cli/tests/test_formatter.py rename to lincbrain/cli/tests/test_formatter.py diff --git a/dandi/cli/tests/test_instances.py b/lincbrain/cli/tests/test_instances.py similarity index 100% rename from dandi/cli/tests/test_instances.py rename to lincbrain/cli/tests/test_instances.py diff --git a/dandi/cli/tests/test_move.py b/lincbrain/cli/tests/test_move.py similarity index 100% rename from dandi/cli/tests/test_move.py rename to lincbrain/cli/tests/test_move.py diff --git a/dandi/cli/tests/test_service_scripts.py b/lincbrain/cli/tests/test_service_scripts.py similarity index 100% rename from dandi/cli/tests/test_service_scripts.py rename to lincbrain/cli/tests/test_service_scripts.py diff --git a/dandi/cli/tests/test_shell_completion.py b/lincbrain/cli/tests/test_shell_completion.py similarity index 100% rename from dandi/cli/tests/test_shell_completion.py rename to lincbrain/cli/tests/test_shell_completion.py diff --git a/dandi/conftest.py b/lincbrain/conftest.py similarity index 100% rename from dandi/conftest.py rename to lincbrain/conftest.py diff --git a/dandi/consts.py b/lincbrain/consts.py similarity index 100% rename from dandi/consts.py rename to lincbrain/consts.py diff --git a/dandi/dandiapi.py b/lincbrain/dandiapi.py similarity index 100% rename from dandi/dandiapi.py rename to lincbrain/dandiapi.py diff --git a/dandi/dandiarchive.py b/lincbrain/dandiarchive.py similarity index 100% rename from dandi/dandiarchive.py rename to lincbrain/dandiarchive.py diff --git a/dandi/dandiset.py b/lincbrain/dandiset.py similarity index 100% rename from dandi/dandiset.py rename to lincbrain/dandiset.py diff --git a/dandi/delete.py b/lincbrain/delete.py similarity index 100% rename from dandi/delete.py rename to lincbrain/delete.py diff --git a/dandi/download.py b/lincbrain/download.py similarity index 100% rename from dandi/download.py rename to lincbrain/download.py diff --git a/dandi/due.py b/lincbrain/due.py similarity index 100% rename from dandi/due.py rename to lincbrain/due.py diff --git a/dandi/exceptions.py b/lincbrain/exceptions.py similarity index 100% rename from dandi/exceptions.py rename to lincbrain/exceptions.py diff --git a/dandi/files/__init__.py b/lincbrain/files/__init__.py similarity index 100% rename from dandi/files/__init__.py rename to lincbrain/files/__init__.py diff --git a/dandi/files/_private.py b/lincbrain/files/_private.py similarity index 100% rename from dandi/files/_private.py rename to lincbrain/files/_private.py diff --git a/dandi/files/bases.py b/lincbrain/files/bases.py similarity index 100% rename from dandi/files/bases.py rename to lincbrain/files/bases.py diff --git a/dandi/files/bids.py b/lincbrain/files/bids.py similarity index 100% rename from dandi/files/bids.py rename to lincbrain/files/bids.py diff --git a/dandi/files/zarr.py b/lincbrain/files/zarr.py similarity index 100% rename from dandi/files/zarr.py rename to lincbrain/files/zarr.py diff --git a/dandi/keyring.py b/lincbrain/keyring.py similarity index 100% rename from dandi/keyring.py rename to lincbrain/keyring.py diff --git a/dandi/metadata/__init__.py b/lincbrain/metadata/__init__.py similarity index 100% rename from dandi/metadata/__init__.py rename to lincbrain/metadata/__init__.py diff --git a/dandi/metadata/core.py b/lincbrain/metadata/core.py similarity index 100% rename from dandi/metadata/core.py rename to lincbrain/metadata/core.py diff --git a/dandi/metadata/nwb.py b/lincbrain/metadata/nwb.py similarity index 100% rename from dandi/metadata/nwb.py rename to lincbrain/metadata/nwb.py diff --git a/dandi/metadata/util.py b/lincbrain/metadata/util.py similarity index 100% rename from dandi/metadata/util.py rename to lincbrain/metadata/util.py diff --git a/dandi/misctypes.py b/lincbrain/misctypes.py similarity index 100% rename from dandi/misctypes.py rename to lincbrain/misctypes.py diff --git a/dandi/move.py b/lincbrain/move.py similarity index 100% rename from dandi/move.py rename to lincbrain/move.py diff --git a/dandi/organize.py b/lincbrain/organize.py similarity index 100% rename from dandi/organize.py rename to lincbrain/organize.py diff --git a/dandi/pynwb_utils.py b/lincbrain/pynwb_utils.py similarity index 100% rename from dandi/pynwb_utils.py rename to lincbrain/pynwb_utils.py diff --git a/dandi/support/__init__.py b/lincbrain/support/__init__.py similarity index 100% rename from dandi/support/__init__.py rename to lincbrain/support/__init__.py diff --git a/dandi/support/digests.py b/lincbrain/support/digests.py similarity index 100% rename from dandi/support/digests.py rename to lincbrain/support/digests.py diff --git a/dandi/support/iterators.py b/lincbrain/support/iterators.py similarity index 100% rename from dandi/support/iterators.py rename to lincbrain/support/iterators.py diff --git a/dandi/support/pyout.py b/lincbrain/support/pyout.py similarity index 100% rename from dandi/support/pyout.py rename to lincbrain/support/pyout.py diff --git a/dandi/support/tests/__init__.py b/lincbrain/support/tests/__init__.py similarity index 100% rename from dandi/support/tests/__init__.py rename to lincbrain/support/tests/__init__.py diff --git a/dandi/support/tests/test_digests.py b/lincbrain/support/tests/test_digests.py similarity index 100% rename from dandi/support/tests/test_digests.py rename to lincbrain/support/tests/test_digests.py diff --git a/dandi/support/tests/test_iterators.py b/lincbrain/support/tests/test_iterators.py similarity index 100% rename from dandi/support/tests/test_iterators.py rename to lincbrain/support/tests/test_iterators.py diff --git a/dandi/support/threaded_walk.py b/lincbrain/support/threaded_walk.py similarity index 100% rename from dandi/support/threaded_walk.py rename to lincbrain/support/threaded_walk.py diff --git a/dandi/tests/__init__.py b/lincbrain/tests/__init__.py similarity index 100% rename from dandi/tests/__init__.py rename to lincbrain/tests/__init__.py diff --git a/dandi/tests/data/dandiarchive-docker/docker-compose.yml b/lincbrain/tests/data/dandiarchive-docker/docker-compose.yml similarity index 100% rename from dandi/tests/data/dandiarchive-docker/docker-compose.yml rename to lincbrain/tests/data/dandiarchive-docker/docker-compose.yml diff --git a/dandi/tests/data/metadata/dandimeta_migration.new.json b/lincbrain/tests/data/metadata/dandimeta_migration.new.json similarity index 100% rename from dandi/tests/data/metadata/dandimeta_migration.new.json rename to lincbrain/tests/data/metadata/dandimeta_migration.new.json diff --git a/dandi/tests/data/metadata/metadata2asset.json b/lincbrain/tests/data/metadata/metadata2asset.json similarity index 100% rename from dandi/tests/data/metadata/metadata2asset.json rename to lincbrain/tests/data/metadata/metadata2asset.json diff --git a/dandi/tests/data/metadata/metadata2asset_3.json b/lincbrain/tests/data/metadata/metadata2asset_3.json similarity index 100% rename from dandi/tests/data/metadata/metadata2asset_3.json rename to lincbrain/tests/data/metadata/metadata2asset_3.json diff --git a/dandi/tests/data/metadata/metadata2asset_cellline.json b/lincbrain/tests/data/metadata/metadata2asset_cellline.json similarity index 100% rename from dandi/tests/data/metadata/metadata2asset_cellline.json rename to lincbrain/tests/data/metadata/metadata2asset_cellline.json diff --git a/dandi/tests/data/metadata/metadata2asset_simple1.json b/lincbrain/tests/data/metadata/metadata2asset_simple1.json similarity index 100% rename from dandi/tests/data/metadata/metadata2asset_simple1.json rename to lincbrain/tests/data/metadata/metadata2asset_simple1.json diff --git a/dandi/tests/fixtures.py b/lincbrain/tests/fixtures.py similarity index 100% rename from dandi/tests/fixtures.py rename to lincbrain/tests/fixtures.py diff --git a/dandi/tests/skip.py b/lincbrain/tests/skip.py similarity index 100% rename from dandi/tests/skip.py rename to lincbrain/tests/skip.py diff --git a/dandi/tests/test_dandiapi.py b/lincbrain/tests/test_dandiapi.py similarity index 100% rename from dandi/tests/test_dandiapi.py rename to lincbrain/tests/test_dandiapi.py diff --git a/dandi/tests/test_dandiarchive.py b/lincbrain/tests/test_dandiarchive.py similarity index 100% rename from dandi/tests/test_dandiarchive.py rename to lincbrain/tests/test_dandiarchive.py diff --git a/dandi/tests/test_dandiset.py b/lincbrain/tests/test_dandiset.py similarity index 100% rename from dandi/tests/test_dandiset.py rename to lincbrain/tests/test_dandiset.py diff --git a/dandi/tests/test_delete.py b/lincbrain/tests/test_delete.py similarity index 100% rename from dandi/tests/test_delete.py rename to lincbrain/tests/test_delete.py diff --git a/dandi/tests/test_download.py b/lincbrain/tests/test_download.py similarity index 100% rename from dandi/tests/test_download.py rename to lincbrain/tests/test_download.py diff --git a/dandi/tests/test_files.py b/lincbrain/tests/test_files.py similarity index 100% rename from dandi/tests/test_files.py rename to lincbrain/tests/test_files.py diff --git a/dandi/tests/test_fixtures.py b/lincbrain/tests/test_fixtures.py similarity index 100% rename from dandi/tests/test_fixtures.py rename to lincbrain/tests/test_fixtures.py diff --git a/dandi/tests/test_helpers.py b/lincbrain/tests/test_helpers.py similarity index 100% rename from dandi/tests/test_helpers.py rename to lincbrain/tests/test_helpers.py diff --git a/dandi/tests/test_keyring.py b/lincbrain/tests/test_keyring.py similarity index 100% rename from dandi/tests/test_keyring.py rename to lincbrain/tests/test_keyring.py diff --git a/dandi/tests/test_metadata.py b/lincbrain/tests/test_metadata.py similarity index 100% rename from dandi/tests/test_metadata.py rename to lincbrain/tests/test_metadata.py diff --git a/dandi/tests/test_move.py b/lincbrain/tests/test_move.py similarity index 100% rename from dandi/tests/test_move.py rename to lincbrain/tests/test_move.py diff --git a/dandi/tests/test_organize.py b/lincbrain/tests/test_organize.py similarity index 100% rename from dandi/tests/test_organize.py rename to lincbrain/tests/test_organize.py diff --git a/dandi/tests/test_pynwb_utils.py b/lincbrain/tests/test_pynwb_utils.py similarity index 100% rename from dandi/tests/test_pynwb_utils.py rename to lincbrain/tests/test_pynwb_utils.py diff --git a/dandi/tests/test_upload.py b/lincbrain/tests/test_upload.py similarity index 100% rename from dandi/tests/test_upload.py rename to lincbrain/tests/test_upload.py diff --git a/dandi/tests/test_utils.py b/lincbrain/tests/test_utils.py similarity index 100% rename from dandi/tests/test_utils.py rename to lincbrain/tests/test_utils.py diff --git a/dandi/tests/test_validate.py b/lincbrain/tests/test_validate.py similarity index 100% rename from dandi/tests/test_validate.py rename to lincbrain/tests/test_validate.py diff --git a/dandi/upload.py b/lincbrain/upload.py similarity index 100% rename from dandi/upload.py rename to lincbrain/upload.py diff --git a/dandi/utils.py b/lincbrain/utils.py similarity index 100% rename from dandi/utils.py rename to lincbrain/utils.py diff --git a/dandi/validate.py b/lincbrain/validate.py similarity index 100% rename from dandi/validate.py rename to lincbrain/validate.py diff --git a/dandi/validate_types.py b/lincbrain/validate_types.py similarity index 100% rename from dandi/validate_types.py rename to lincbrain/validate_types.py diff --git a/setup.cfg b/setup.cfg index e5268db5d..3e0cb3227 100644 --- a/setup.cfg +++ b/setup.cfg @@ -61,7 +61,7 @@ packages = find_namespace: include_package_data = True [options.packages.find] -include = dandi* +include = lincbrain* [options.extras_require] # I bet will come handy @@ -101,7 +101,7 @@ all = [options.entry_points] console_scripts = - lincbrain=dandi.cli.command:main + lincbrain=lincbrain.cli.command:main [flake8] max-line-length = 100 @@ -113,8 +113,8 @@ extend-exclude = [versioneer] VCS = git style = pep440 -versionfile_source = dandi/_version.py -versionfile_build = dandi/_version.py +versionfile_source = lincbrain/_version.py +versionfile_build = lincbrain/_version.py tag_prefix = parentdir_prefix = diff --git a/setup.py b/setup.py index b9a0f94b6..e8d9b2b04 100755 --- a/setup.py +++ b/setup.py @@ -41,6 +41,6 @@ if __name__ == "__main__": setup( name="lincbrain", - version="0.6.0", + version="0.9.0", cmdclass={}, )