Satella | Gather and automate your daily dose

 by   lauslim12 Python Version: Current License: BSD-3-Clause

kandi X-RAY | Satella Summary

kandi X-RAY | Satella Summary

Satella is a Python library. Satella has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However Satella build file is not available. You can download it from GitHub.

Satella is a dedicated repository that helps you to get a recommendation of seasonal anime characters that you might like every day. Satella gathers data from AniList GraphQL API and will determine what gender they are by using Genderize API. How Satella gathers data depends on a multitude of factors, such as a specified year, number of times the anime that the character is in has been favorited, how popular is the anime, and the character role is taken into account. However, duplicate data is not allowed in this application, as it is highly redundant. This application runs on Shell and Python, and mostly relies on crontabs to get it working automatically each day. Data gathered from Satella will be stored in a CSV file for further processing (further processing could be displaying it in a website, or even as simple as opening the CSV on a Microsoft Excel and inferring it by yourself). It is recommended to run Satella on a low-power micro-computer such as Raspberry Pi Model A+. I personally use it and it makes the automation easier and less costly.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Satella has a low active ecosystem.
              It has 11 star(s) with 1 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              Satella has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of Satella is current.

            kandi-Quality Quality

              Satella has no bugs reported.

            kandi-Security Security

              Satella has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              Satella is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Satella releases are not available. You will need to build from source code and install.
              Satella has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed Satella and discovered the below as its top functions. This is intended to give you an instant insight into Satella implemented functionality, and help decide if they suit your requirements.
            • Get a single character from the API
            • Validate client response
            • Fetch an anime from an anime
            • Fetch data from ANilist API
            • Return a list of all main characters
            • Return a list of all supported characters
            • Get basic data for a character
            • Checks if the given gender is a female character
            • Check if the gender is a male character
            • Write character data to csv file
            • Fetch anime data
            • Generate a random number of pages
            • Check if media exists
            • Get genderize from genderize
            • Fetch genderize from genderize
            • Fetch genderize
            • Find the max pages in a given year
            • Clean the csv file
            • Clean up logs
            Get all kandi verified functions for this library.

            Satella Key Features

            No Key Features are available at this moment for Satella.

            Satella Examples and Code Snippets

            No Code Snippets are available at this moment for Satella.

            Community Discussions

            No Community Discussions are available at this moment for Satella.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Satella

            The installation guide assumes that you are using Linux for this part. For those using Windows, you just have to replace the python3 with python. For the automation, just use the main.bat (instead of main.sh) file. Personally, I use my Raspberry Pi via SSH to do the installation steps.
            The following setup is used to start the application on its basic form.
            Ensure that your Python is 3.9 or up and ensure that Poetry is installed!
            First off, fork my repository, then clone it. I am going to assume that you cloned the repository to the Home directory.
            If you are using Poetry globally, create a new Poetry Virtual Environment. Skip this step if you are using Python Virtual Environment with Poetry inside.
            Install the dependencies. This setup is dedicated for development environment.
            A note to keep in mind, if you just want to install the production environment (also known as plug-and-play), then you just need to install the production requirements.
            As an initial setup, clear all the data that I might have in my repository.
            Actually, after above steps are done, you can easily run the application using the following command. However, there is no automation yet, as we have not yet set it up.
            The application will then run, and then it will store its results in the data/suggestions.csv file.
            As a note, optional arguments are explained in below setup.
            This project is setup so that it could be automated everyday. I personally recommend you to use low-powered micro computers (also known as single board computers) like Raspberry Pi, BeagleBoard, Odroid, Banana Pi, and any other micro computers that you might have. The reason I recommended you those tools is because they are low-powered computers (electric bills are expensive nowadays) and they are literally equipped to be turned on 24/7 for IoT purposes. I use Raspberry Pi as it already had Git and Python installed the moment I installed the Raspbian OS.
            First, in order to automate the gathering of anime characters, you have to modify the main.sh file as you see fit with your own arguments. Below are the list of the arguments available for this program.
            Usage example from the main.sh file:
            While you are still in the Poetry Virtual Environment, get the Virtual Environment path. If you are using Python Virtual Environment, copy the path.
            Change the PYTHON_VENV variable. Is it the same as your Poetry Virtual Environment that you created beforehand? If no, change that to your Poetry Virtual Environment.
            Even if you did not set up your own custom arguments / filters, you can always just leave it be and it will be run with default arguments.
            After that, we need to setup our own crontab with Linux.
            You need the following script to be entered in your crontab. The following script is used to make automatic updates every 09:00 AM.
            Do not forget to setup your Git account in your machine so you can make automated cronjobs everyday.
            Alternatively, you could use SSH in order to free yourself from the hassle of authenticating Git everyday. The guide to setup your own SSH with Linux can be seen here (from GitHub Documentation). Make sure that you have already configured your git config user.name and git config user.email.
            Enjoy your new anime character recommendation everyday! Just check your own repository for any new updates!
            To check if our crontab had run successfully:
            You can also check the logs to check for the actions that the application have made.
            Note that if you are using Windows as a machine that will run this program, you could bind the main.bat script to Windows Task Scheduler. I believe you just need to follow the instructions from the GUI to setup the scheduled tasks.

            Support

            Satella is completely open source and contribution to this tool is highly encouraged for everyone! Please take a look at CONTRIBUTING.md file and enjoy contributing!. If you have found any issues during your usage of this program, please submit an issue and I'll go back to you right away.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/lauslim12/Satella.git

          • CLI

            gh repo clone lauslim12/Satella

          • sshUrl

            git@github.com:lauslim12/Satella.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link