Coder Social home page Coder Social logo

mouser's Introduction

Mouser

Description

This project is meant to be used for tracking the data of animal experiments.

Developer Guide

Machine Requirements

  • This project requires a Python 3 installation, ideally 3.9 or newer.

  • Additional Python libraries also required and are found in the requirements.txt file. They can be installed using pip install <LIBRARY> (replace <LIBRARY> with the library that you want to install).

  • This project works best on Windows machines, but can still be run on MacOS and Linux. The main issues with the latter concern graphics and how the app looks, but there are also some minor problems that can occur when using different operating systems.

File Structure

  • The main structure of the app is used in the file main.py, which is in the root directory.
  • The app is currently split up into multiple directories:
    • Experiment Pages (experiment_pages)
      • This directory include files that allow for the creation and modification of lab experiments
      • Each page of the app exist in separate files. So, the code associated with the experiments menu, the experiment creation form, the data collection page, etc. are split up into different files.
      • Most of the code revolves around the user interface, but there are also sections that grab data from or send data to the databases
    • Database APIs (database_apis)
      • This directory has the code that is essentially a "buffer" between the front end of the application and the databases.
      • There are two Python files in the directory: one works with the database of users, and the other works with the database of experiments.
        • Both have methods to connect to our SQLite databases, where they can be created, modified, and examined.
    • Databases (databases)
      • This directory is where all of the databases are stored, including the experiments and users databases.
      • The databases are managed using SQLite.
  • The code that handles the account/login management is spread throughout the root directory. The two files for this are accounts.py and login.py. (In the future, they may end up in their own directory, but they are in the root at the moment.)
  • There are two files in the root directory, tk_models.py and scrollable_frame.py, that are shared across many of the files in this app. They both include classes that are used for the majority of the app, so the design can be easily changed if necessary. (Again, these may have a different directory later on.)
  • External assets are either put into the images directory, or the sounds directory.
    • It should be determined whether we have permission to use any assets (current or new).
  • Multiple .gitignore files are spread throughout the application, mostly to prevent the __pycache__ directory and certain databases from being pushed to git.

mouser's People

Contributors

coridiaz avatar loganwyas avatar aithaprasad avatar tbush03 avatar 1345127304 avatar massi-papi avatar rc10283 avatar stanleyyang2001 avatar aobermiller avatar kungfuchicken avatar halimamalik avatar sirichandanagarimella 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.