Giter Club home page Giter Club logo

scientific-name-fetcher's Issues

Implement a CLI for ease of use.

I think this would be more useful and easier to use with a CLI.

For instance, you could have a default behavior that would look up a single organism and print the info to the terminal:
user@host:~$ python3 main.py hydnum repandum
Hydnum is a genus of fungi in the family Hydnaceae. They are notable for their unusual spore-bearing structures of teeth rather than gills...

The current behavior could be invoked with its own command line switch, such as -b, for batch mode.
user@host:~$ python3 main.py -b input.txt

This also lets the user specify a different input file.

Additionally, behavior options could be overwritten on the command line:
user@host:~$ python3 main.py --no-gbif-search --no-auto -b my_long_list_of_names.txt

Or something like that. The Python argparse library could be used to easily implement this.

If you think this would be worthwhile, I can submit a pull request.

Add more information / validity check for each scientific-name

Currently scientific-name-fetcher is using

  1. Wikipedia API to search for scientific name description
  2. GBIF API to check for the validity of the scientific name

It will be good if we add more information or validity checks so that scientific-name-fetcher becomes more useful to the community.

Here are some APIs/Libraries that we may use:

Move settings to .env

The current settings are hardcoded in the main.py file. It's better to move it to .env file. We can use python-dotenv to make it easier.

Enable CSV / Excel input file

The current input file is using simple txt. Some people may have a CSV or Excel file, so we may need to allow them to directly use it as an input.

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.