Giter Site home page Giter Site logo

amcajal / gsvmind Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 574 KB

Random generator of GSV names, in honor to "The Culture" series by Ian M. Banks!

License: GNU General Public License v3.0

Python 74.15% Shell 25.85%
python27 random-generation webscraper scifi novels nlp

gsvmind's Introduction

project_logo

Build Status Coverage GitHub license

Did you hear about Space X's drone ships called Of Course I Still Love You and Just Read the Instructions? Their names are a tribute to The Culture books series by Ian M. Banks, a sci-fiction saga where one of the main attractions are the General System Vehicles (or GSV): enormous self-conscious spaceships that choose their own names - cool, funny and creepy at equal parts.

GSVmind (* wink wink *) generates random names similar to those of the books. You can use them to name your drone, arduino robot, microwave, laundry machine or whatever you want.

GSVmind is a python application that uses as its core the Requests library, BeautifulSoup and TextBlob to extract from Internet the text data required to generate the random names - specifically from Wikipedia, through its awesome service of Get a random article. (Kindly consider donate to one of the best websites in the world).

Besides its funny purpose, GSVmind is an state-of-the-art/sandbox project, where several Principles, Patters and Practices (also known as P.P.P) has been tried or exercised as a learning process. Some of them are:

  • Test Driven Development
  • Requirements Development
  • Code Coverage
  • Clean Code (readability, modularity, meaningfull comments...)

More information at the Wiki of the project.


Index

  1. Quickstart
  2. Contributions
  3. License
  4. Contact

Quickstart

  • Clone repo to local computer and go to main directory:

    $ git clone https://github.com/amcajal/gsvmind.git

    $ cd <clone_dir>/gsvmind

  • Run setup.sh script. If dependencies are not satisfied, you can run gsvmind_install_dep.sh:

    $ sh setup.sh

    $ cd /project/def/sw/scripts

    $ sudo sh gsvmind_install_dep.sh

  • If setup.sh finished sucessfully, you can launch now GSVmind from the root directory!:

    $ python gsvmind.py

Output is generated (it takes between 30 sec to 1 min to be complete) as follows:

 .d8888b.   .d8888b.  888     888               d8b               888
d88P  Y88b d88P  Y88b 888     888               Y8P               888
888    888 Y88b.      888     888                                 888
888         "Y888b.   Y88b   d88P 88888b.d88b.  888 88888b.   .d88888
888  88888     "Y88b.  Y88b d88P  888 "888 "88b 888 888 "88b d88" 888
888    888       "888   Y88o88P   888  888  888 888 888  888 888  888
Y88b  d88P Y88b  d88P    Y888P    888  888  888 888 888  888 Y88b 888
 "Y8888P88  "Y8888P"      Y8P     888  888  888 888 888  888  "Y88888

GSV operative! It decided to name itself:"Skaffen-Amtiskaw the best"

And of course, take a look to the generated log:

GSVNAME log
RANDOM_WIKI_URL:https://boraHorzaGobuchul.com
GEN_METHOD:SENTENCES
GSVNAME:Skaffen-Amtiskaw the best
  • To launch tests individually:

    $ cd /project/def/sw/tests/

    $ python <name_of_test_file>.py

Back to index

License

Alberto Martin Cajal is the original author of GSVmind project. GSVmind project is released under GNU GPL version 3.0 license. Check LICENSE file for a full version of it, or visit the official GNU web page.

Back to index

Contributions

GSVmind is open to contributions! Check the related page at the Wiki of the project.

Back to index

Contact

Alberto Martin Cajal at:

Back to index


This project has been created trying to make it usefull. This project has been created in order to learn new things. But over all, this project has been created because it is fun. As Isaac Asimov said:

The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka' but 'That's funny...'

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.