Coder Social home page Coder Social logo

ual-re / ldcoolp-figshare Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 81 KB

Python tool using the Figshare API for data curation

Home Page: https://ldcoolp-figshare.readthedocs.io

License: MIT License

Python 100.00%
figshare python data-curation ld-cool-p

ldcoolp-figshare's Introduction

About Us

Research Engagement (RE) helps UA faculty, researchers, and students with every stage of their research. We have three functional units:

  1. Research Incubator
  2. Data Cooperative
  3. Scholarly Communications

Members of the Data Cooperative:

GitHub Name Role/Title
Jeff Oliver Jeff Oliver Data Science Specialist
Fernando Rios Fernando Rios Data Management Specialist
Kiri Carini Kiri Carini GIS Specialist
Jonathan Ratliff Jonathan Ratliff Research Data Repository Assistant

Experience

Specialty Tools/Resources
Data Science R langPython Software Carpentry
Data Management & Publishing Data Management (DMPTool)Open Science FrameworkFigshare
GIS GISESRI

ldcoolp-figshare's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

astrochun

ldcoolp-figshare's Issues

Add Sphinx documentation and publish to ReadTheDocs

We will host the documentation at ldcoolp-figshare.readthedocs.io.

This is straight forward feature:

  • Include a docs/source folder containing documentation.
  • Add sphinx-build GitHub actions
  • Docstrings update
  • Add instructions for using code
  • Enable with RTDs.org

Include issue_request from redata-commons

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.

Prepare code for PyPI packaging

Will need to include:

  • requirements.txt
  • setup.py
  • MANIFEST.in
  • Add pypi-publish.yml GitHub Action
  • Add API token for PyPI
  • Update README.md and docs/source/index.rst

Add CHANGELOG

Use the same template that we did with redata-commons

Reorganize codebase for easier packaging

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

Refactor FigshareInstituteAdmin for general use

Steps include:

  • Adding optional input parameter for admin_filter
  • Import FigshareInstituteAdmin in __init__.py
  • Change from dict input to separate parameters
  • Simplify docstrings to remove method description (this is for Sphinx docs)

Remove GitHub badges from RTDs

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.


Feature: Incorporate figshare.Figshare into ldcoolp-figshare

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.

Enhancement: update dependencies

Summary

Update dependencies

Objectives

Update its dependencies in requirements.txt and setup.py to the latest stable version.

Proposal

requirement.txt dependencies include:

  • redata == 0.6 (after redata-commons upgraded to the latest version]

setup.py dependencies include:

  • version = '0.4.0'
  • programming language: remove Python 3.7 (line 25, and line 30)
  • programming language: add Python 3.10 (line 33)
  • changing author to "UAL-RE" and its associated email
  • Update PYPI release

init.py include:

  • version = "0.4.0"

Changelog:

  • v0.4.0:

/docs/source/requirement.txt:

  • redata
  • sphinx
  • sphinx-rtd-theme
  • sphix-autodoc-typehints

Review and update needed lines:

  • /docs/source/authors.rst
  • /docs/source/conf.py
  • /docs/source/getting_started.rst

Testing notes

  • Testing manual run

Additional notes

This is related to redata-commons Issue 40

Implemented in: TBD

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.