https://github.com/bluebrain/nexus-cli
A Command Line Interface (CLI) for Nexus
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Keywords
Repository
A Command Line Interface (CLI) for Nexus
Basic Info
- Host: GitHub
- Owner: BlueBrain
- License: apache-2.0
- Language: Python
- Default Branch: master
- Homepage: https://bluebrainnexus.io
- Size: 523 KB
Statistics
- Stars: 4
- Watchers: 19
- Forks: 11
- Open Issues: 1
- Releases: 0
Topics
Metadata Files
README.md
nexus-cli
A command line interface for Nexus
Setup
As seen in http://click.pocoo.org/7/setuptools/#setuptools-integration
```
conda create -n nexus-cli python=3.5 conda activate nexus-cli git clone https://github.com/BlueBrain/nexus-cli cd nexus-cli git checkout nexus_v1 pip install --editable . ```
or with straight from github:
conda create -n nexus-cli python=3.5
conda activate nexus-cli
pip install git+https://github.com/BlueBrain/nexus-cli
Start using the CLI:
nexus --help
nexus --version
Currently supported features
profiles
- create: adding a new profile (create
) - delete: deleting a locally registered profile (delete
) - list: list locally registered profiles (list),
- select: select a locally registered profile (select
) - current: show currently selected profile
auth
- login: initiates an interactive login, prompting the user's name, password and client ID for the selected realm
- set-token: saves a token in the currently selected profile
- view-token: prints token from the currently selected profile (encoded, decoded, expiry time)
orgs
- list: list all organizations
- create: create a new organization
- fetch: show the json payload of an organization
- update: update an organization (name and description only!)
- deprecate: deprecate an organization
- select: select the organization to use in subsequent calls of the CLI (local to the currently selected profile)
- current: show the currently selected organization
projects (local to a specific organization)
- list: list all projects
- create: create a new project
- fetch: show the json payload of an project
- update: update an project (name and description only!)
- deprecate: deprecate an project
- select: select the project to use in subsequent calls of the CLI (local to the currently selected profile)
- current: show the currently selected project
resources (local to a specific organization and project)
- list: list all resources
- create: create a new resource
- fetch: show the json payload of a resource
- update: update a resource
- deprecate: deprecate a resource
schemas (local to a specific organization and project)
- list: list all schemas
- create: create a new schema or import a collection of schemas stored in a directory
- fetch: show the json payload of a schema
- update: update a schema
- deprecate: deprecate a schema
views (local to a specific organization and project)
- list: list all views
- create: create a new ElasticSearchView
- fetch: show the json payload of a view
- update: update a view configuration
- deprecate: deprecate a view
- query-es: run a query against a specific ElasticSearch view
- query-sparql: run a query against the default SPARQL view
acls
- list: list acls
- show-identities: show identities that can be added in ACLs
- show-permissions: show permissions that can be added in ACLs
- make-public: make a project public to the world
- append: add permission to a given identity (group, user, authenticated, anonymous)
- subtract: remove permission from a given identity (group, user, authenticated, anonymous)
realms
- list: list all realms
- create: create a new realm
- fetch: show the json payload of a realm
- update: update a realm configuration
- deprecate: deprecate a realm
- select: select the default realm
- current: show the selected realm
Funding & Acknowledgment
The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government's ETH Board of the Swiss Federal Institutes of Technology.
Copyright © 2015-2023 Blue Brain Project/EPFL
Owner
- Name: The Blue Brain Project
- Login: BlueBrain
- Kind: organization
- Email: bbp.opensource@epfl.ch
- Location: Geneva, Switzerland
- Website: https://portal.bluebrain.epfl.ch/
- Repositories: 226
- Profile: https://github.com/BlueBrain
Open Source Software produced and used by the Blue Brain Project
GitHub Events
Total
- Watch event: 1
- Fork event: 1
Last Year
- Watch event: 1
- Fork event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 6
- Total pull requests: 71
- Average time to close issues: 1 day
- Average time to close pull requests: 5 days
- Total issue authors: 3
- Total pull request authors: 8
- Average comments per issue: 0.67
- Average comments per pull request: 0.06
- Merged pull requests: 65
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- MFSY (1)
- annakristinkaufmann (1)
- bogdanromanx (1)
Pull Request Authors
- samuel-kerrien (15)
- MFSY (13)
- hygt (8)
- imsdu (2)
- slhill (1)
- wwajerowicz (1)
- bbpgithubaudit (1)
- dhaneshnm (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- PyJWT *
- SPARQLWrapper *
- aiohttp *
- click *
- colorama *
- nexus-sdk *
- pandas *
- prettytable *
- progressbar2 *
- pygments *
- pytest *
- python-keycloak *
- rdflib *
- rdflib-jsonld *