ual-re / ldcoolp-figshare Goto Github PK
View Code? Open in Web Editor NEWPython tool using the Figshare API for data curation
Home Page: https://ldcoolp-figshare.readthedocs.io
License: MIT License
Python tool using the Figshare API for data curation
Home Page: https://ldcoolp-figshare.readthedocs.io
License: MIT License
We are currently using our forked copy of cognoma's figshare
.
In LD-Cool-P this is used in the retrieve
module (download_files
function) and in development preserve
module. Howevr, this code was not made easiy installable with pip
. The simplest solution is to add it to ldcoolp-figshare
so it's included.
For simplicity, this will be the Figshare
class. We might consider renaming main
module to curation
and create a new main
.
The issue_request
function will be included as part of redata-commons
. Thus, it's best to import from our library. Note that the figshare
library/package that we use is not PyPI packaged, which makes it a bit of a pain.
Will need to include:
setup.py
Since the repo has been migrated (se UAL-RE/LD-Cool-P#175), we need to fix any links to LD-Cool-P
We will host the documentation at ldcoolp-figshare.readthedocs.io.
This is straight forward feature:
Summary
Update dependencies
Objectives
Update its dependencies in requirements.txt and setup.py to the latest stable version.
Proposal
requirement.txt dependencies include:
setup.py dependencies include:
init.py include:
Changelog:
/docs/source/requirement.txt:
Review and update needed lines:
Testing notes
Additional notes
This is related to redata-commons Issue 40
Implemented in: TBD
RTDs builds seem to fail due to inclusion of SVG, such as GitHub badges. Also since these badges are dynamic, they are confusing when someone looks at the docs. We should remove this.
redata==0.4.1
now has support for the process
option, which allows for returning the requests.Response
result. Let's now incorporate this in all methods of FigshareInstituteAdmin
The PYPI_TOKEN and TEST_PYPI_TOKEN needs to be updated to use the team account.
Token is saved in team stache folder.
Since we started by migrating code from LD-Cool-P, these files are not included.
See UAL-RE/LD-Cool-P#232 for more details.
The endpoint with the Figshare account and ORCID only requires the ReDATA account id (institution account):
https://docs.figshare.com/#private_account_institution_user
Include a simple Action that triggers on pushed tags prefixed with 'v'
Use the same template that we did with redata-commons
We should have a folder called ldcoolp_figshare
and for the figshare
module to be included. We should consider importing FigshareInstituteAdmin
in ldcoolp_figshare/__init__.py
RTDs is published at: https://ldcoolp-figshare.readthedocs.io/en/latest/index.html
Let's update all links. In addition, we should include GitHub badges at the top.
This API endpoint allows for an optional status input: https://docs.figshare.com/#account_institution_curations
ldcoolp-figshare
should also have the .idea PyCharm settings folder ignored.
Steps include:
admin_filter
FigshareInstituteAdmin
in __init__.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.