Giter Site home page Giter Site logo

transparency-information-language / tilt-sample-analysis Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 25 KB

In this repository it is shown how potential analysis tasks could be performed using python-tilt and the tilt-hub.

License: MIT License

Python 100.00%
transparency-enhancing-technologies tilt analysis data-science tilt-sample-analysis tilt-hub python-tilt

tilt-sample-analysis's Introduction

Python application

tilt Sample Analysis tasks

In this repository it is shown how potential analysis tasks could be performed using python-tilt and the tilt-hub.

Usage

# In order to install all necessary dependencies
pip install -r requirements.txt

    Collecting requests==2.22.0
    Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB)
        |████████████████████████████████| 57 kB 1.2 MB/s
    ...
    ...
    ...

# Insert dummy content into the local MongoDB
python3 sample-inserter.py

    Cleaning inactive documents...
    <pymongo.results.DeleteResult object at 0x10457fc80>
    Inserting sample documents...
    <pymongo.results.InsertOneResult object at 0x10459abc0>
    <pymongo.results.InsertOneResult object at 0x1042cb240>
    <pymongo.results.InsertOneResult object at 0x10457fd40>
    <pymongo.results.InsertOneResult object at 0x1045bcb80>
    <pymongo.results.InsertOneResult object at 0x1045bcb40>
    <pymongo.results.InsertOneResult object at 0x10432a040>
    <pymongo.results.InsertOneResult object at 0x103d24440>

# Perform sample queries 
python3 sample-query.py

    Count all documents marked as "inactive" for demonstration purposes...
    7
    Find all controllers that send data to "Red"...
    {'meta': {'name': 'Blue'}}
    {'meta': {'name': 'Yellow'}}

Author

Elias Grünewald

License

MIT License

tilt-sample-analysis's People

Contributors

eliasgruenewald avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.