Giter Site home page Giter Site logo

webbinspace's Introduction

My personal project I am developing while exploring Django and scraping in Python ๐Ÿ”ญ

Webb In Space

It's showing what the Webb telescope is observing right now.

Screenshot of Webb In Space App

The application is divided into three parts:

Scraping the data:

  • It scrapes this page looking for new reports and saved them into /data_source/cycle_{number}/ folder as new txt file.
  • Use command: python manage.py observation_plan_scout.

Parsing the data:

  • It searches the data_source folder looking for new files. Then parses the data in these files and saves them into the database.
  • Use command: python manage.py report_parser.

Showing the data on the web page:

  • Homepage shows what is the current target of the Webb's observation.

How to install

๐Ÿ Python 3.9 required

  • Install the dependencies: pip install -r requirements.txt
  • Apply migrations: python manage.py migrate
  • Create your .env file:
# Example for development
DEBUG=True
DEVELOPMENT_MODE=True
ALLOWED_HOSTS=127.0.0.1,localhost
  • Run the app: python manage.py runserver

Built With

  • Django - Python web framework
  • Bootstrap - Front-end framework
  • Chart.js - JavaScript charting library
  • Mermaid - JavaScript-based diagramming and charting tool

webbinspace's People

Contributors

dependabot[bot] avatar marketulinek avatar

Watchers

 avatar

webbinspace's Issues

Report list

Create a page with list of reports to show the number of visits for each report.

Needed for a better quick overview which reports has zero number of valid visits. This breaks the scraper and it's been happening a lot lately.

  • Table of reports
  • Count number of visits for each report
  • Distinguish those reports that have zero records
  • Write tests

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.