GithubHelp home page GithubHelp logo

ryanhartzell / imagepypelines_astro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jmaggio14/imagepypelines_astro

0.0 0.0 0.0 5 KB

Astronomy Plugin for ImagePypelines

License: Other

Python 100.00%

imagepypelines_astro's Introduction

imagepypelines_template

How to make an ImagePypelines Plugin

  1. clone this project
  2. rename the 'imagepypelines_template' directories to the name of your project
  3. edit the DIRECTORY_NAME and NAMESPACE variables in setup.py
  4. Put a license in the LICENSE file
  5. Add the names of dependencies you need (e.g. numpy or scipy) in requirements.txt
    • each dependency should be it's own line
    • you can optionally specify the version you need as well
    • e.g. numpy>=1.14
  6. If you need to ship data with your project (for examples or tests):
    • Put your files in the data directory. It will be automatically included
    • see __init.__.py to see how to fetch the filenames at runtime
  7. Start coding!
  8. Import your code in __init__.py
  9. Set up a virtual environment!!!
  10. Open a terminal, start up your virtual environment, and run python setup.py install -e to install in editable mode! (This allows your source code changes to be reflected in the installed library) -
  11. Test an import with imagepypelines! - `python -c "import imagepypelines as ip; ip.require('your_plugin_namespace')"`

How to upload your plugin to pypi so other people can install it with pip

Note: This is a super quick guide, for more help see `https://packaging.python.org/tutorials/packaging-projects/`_

1. install some quick dependencies `pip install twine wheel`

2. create the necessary dists using setup.py `python setup.py sdist bdist_wheel`

3. if everything worked, then upload it to pypi! `twine upload dist/*`

Other information

If you need help working with rst files, please see this helpful guide https://thomas-cokelaer.info/tutorials/sphinx/rest_syntax.html

imagepypelines_astro's People

Contributors

jmaggio14 avatar

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.