Code Monkey home page Code Monkey logo

joystick's Introduction

App

Installation

To be written***

File Structure

Standard file structure for python packages as follows:

  • <main folder name>
    • docs/
    • src/ <- dedicated src is not always done but recommended for compatibility
      • <module_name> <- often the same name as the main folder, but should be a subfolder
        • __init__.py <- an empty file can be all that's needed at times. However, importing items here can be useful as they will be accessible to any file that is importing the overall module
        • _version.py <- autogenerated by versioneer using info from setup.cfg 1
        • main.py <- entry point file to be run
        • utils.py
        • <any other python files>
    • versioneer.py <- must be here in the top level folder 1
    • setup.py <- must be here in the top level folder 2
    • setup.cfg <- must be here in the top level folder 2
    • requirements.txt <- must be here in the top level folder 3
    • MANIFEST.in <- not strictly required
    • build/ <- optional
    • data/ <- optional, can include .csv, .jpg, etc files for the code to access
    • dist/ <- optional, would usually contain .egg, .whl, .tar.gz, etc files
    • examples/ <- optional
    • lib/ <- optional
    • scripts/ <- optional, would contain .sh files in linux/mac
    • tests/ <- optional, would contain python flies

Project Structure References

  1. https://github.com/yngvem/python-project-structure
  2. https://github.com/johnthagen/python-blueprint#project-structure

Usage

Run src/ryerrabelli/main.py with python

Tested OS and History Details

  • Tested primarily on/with
    • Mac OS X - 10.14 Mojave (on a 2018 Macbook pro with 16GB of Ram)
    • Windows 11 (on a Microsoft Surface Laptop 2 with 8GB of Ram)
    • python 3.6-3.9 derived from anaconda
    • PyCharm

License

See LICENSE.txt

Author & Contact info

Rahul Sai Yerrabelli

Service URL
GitHub https://github.com/ryerrabelli/
ORCID https://orcid.org/0000-0002-7670-9601
Google Scholar https://scholar.google.com/citations?user=pEvGRdkAAAAJ
LinkedIn https://www.linkedin.com/in/ryerrabelli
Email Email addresses as an image to prevent spam

Table generated using https://www.tablesgenerator.com/markdown_tables

Footnotes

  1. Unlike versioneer.py, the file _version.py does not have to be inside the top level folder. I prefer putting it within src/<module>/ so that it does not clutter the top level directory and so that is more easily accessible within the project. For this to work, setup.cfg should be updated so that the versioneer arguments are set to the file path src/<module>/, which is where I recommend putting _version.py. 2

  2. Some applications use only one- a setup.py or setup.cfg, but versioneer prefers both. 2

  3. Can be autogenerated by PyCharm. Will not be blank as must have versioneer at least.

joystick's People

Contributors

amjadah avatar bobboteck avatar codacy-badger avatar gitter-badger avatar ryerrabelli avatar

Stargazers

 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.