Skip to main content

FoodVisor Challenge 1

FoodNetx is a library created using the python package NetworkX. It creates a database based in graphs, in concrete a Directed graph, in which could occur cycles. The main idea is cover the challenge of Foodvisor ( Challenge1 and Challenge2 ) but any other use is welcomed, please if it used reference this Github and its creator.

Installation

Source file

  1. Download the source file from github
  2. Unzip and navigate to the folder containing setup.py and other files
  3. Run the following command: python setup.py install

Pip

    pip3 install FoodNetX

Testing and replicating the results for the Foodvisor challenges

Download and install the python package FoodNetx, then clone the repo. In the Github repository has been left a folder called Test, where tests are stored. To execute any test, just use the following shell command from inside the github repo:

python3 ./Test/TestFile.py

Example:

python3 ./Test/FoodVisor_Challenge1_test.py

If you use an IDE for programming just select the test file desired and just click Run.

Test's outputs

FoodVisor_Challenge1_test.py:

{"img001": "granularity_staged", "img002": "valid"}
{"img001": "granularity_staged", "img002": "coverage_staged", "img003": "invalid"}

New modules in development

By now the foodvisor challenge #2 is being developed and implemented to join this package at the end of this week

Python Compatibility

Note

This library has been created with the help of Networkx and Matplotlib

Metadata

Release files for FoodNetX 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FoodNetX 0.2
File Size Uploaded
FoodNetX-0.2.tar.gz 4.8 kB Details

Release files / FoodNetX-0.2.tar.gz

Download URL FoodNetX-0.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e9c685041ade95a85f49d2fc335e658c4eafd5bea683294aba8fc166d46a3893
BLAKE2b-256 checksum
How to use checksums
96af5fb26c4ffcab7a9e6dfde49d48ea024095e336b3a72e763183d5b2ae1da9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page