All Projects → google → picatrix

google / picatrix

Licence: Apache-2.0 license
Picatrix is a library designed to help security analysts in a notebook environment, such as colab or jupyter.

Programming Languages

python
139335 projects - #7 most used programming language
Jupyter Notebook
11667 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to picatrix

colab-badge-action
GitHub Action that generates "Open In Colab" Badges for you
Stars: ✭ 15 (-57.14%)
Mutual labels:  jupyter, colab
swift-colab
Swift kernel for Google Colaboratory
Stars: ✭ 50 (+42.86%)
Mutual labels:  jupyter, colab
edge-computer-vision
Edge Computer Vision Course
Stars: ✭ 41 (+17.14%)
Mutual labels:  colab
itikz
Cell and line magic for PGF/TikZ-to-SVG rendering in Jupyter notebooks
Stars: ✭ 55 (+57.14%)
Mutual labels:  jupyter
ClimateLaboratoryBook
JupyterBook source for The Climate Laboratory
Stars: ✭ 74 (+111.43%)
Mutual labels:  jupyter
governance
The governance process and model for Project Jupyter
Stars: ✭ 74 (+111.43%)
Mutual labels:  jupyter
wxyz
Some Experimental Widgets
Stars: ✭ 25 (-28.57%)
Mutual labels:  jupyter
AnimeGANv3
Use AnimeGANv3 to make your own animation works, including turning photos or videos into anime.
Stars: ✭ 878 (+2408.57%)
Mutual labels:  colab
pydna
Clone with Python! Data structures for double stranded DNA & simulation of homologous recombination, Gibson assembly, cut & paste cloning.
Stars: ✭ 109 (+211.43%)
Mutual labels:  jupyter
DashIntro
A quick intro to Dash made for the PyData event in Zurich
Stars: ✭ 57 (+62.86%)
Mutual labels:  jupyter
ipyp5
p5.js Jupyter Widget
Stars: ✭ 33 (-5.71%)
Mutual labels:  jupyter
voila-gpx-viewer
GPX Viewer web app built with Jupyter, ipywidgets, ipyleaflet, bqplot and voila
Stars: ✭ 43 (+22.86%)
Mutual labels:  jupyter
angr-cli
Repo for various angr ipython features to give it more of a cli feeling
Stars: ✭ 41 (+17.14%)
Mutual labels:  jupyter
nimbo
Run compute jobs on AWS as if you were running them locally.
Stars: ✭ 126 (+260%)
Mutual labels:  jupyter
colab ssh
Create SSH tunel to a running colab notebook
Stars: ✭ 48 (+37.14%)
Mutual labels:  colab
drawdata
Draw datasets from within Jupyter.
Stars: ✭ 500 (+1328.57%)
Mutual labels:  jupyter
Numerical-Analysis-Python
Python notebooks for Numerical Analysis
Stars: ✭ 82 (+134.29%)
Mutual labels:  colab
argparse-to-class
Transform argparse into class format for Jupyter Notebook execution
Stars: ✭ 20 (-42.86%)
Mutual labels:  jupyter
antinex-core
Network exploit detection using highly accurate pre-trained deep neural networks with Celery + Keras + Tensorflow + Redis
Stars: ✭ 19 (-45.71%)
Mutual labels:  jupyter
py4chemoinformatics
Python for chemoinformatics
Stars: ✭ 78 (+122.86%)
Mutual labels:  jupyter

Picatrix

Open In Colab Open In Binder Version GitHub e2e Test Status

Picatrix is a framework that is meant to be used within a Colab or Jupyter notebooks. The framework is designed around providing a security analyst with the libraries to develop helper functions that will be exposed as magics and regular python functions in notebooks.

This makes it easier to share an environment with other analysts, exposing common functions that are used in notebooks to everyone. In addition to that the functions themselves are designed to make it easier to work with various APIs and backends in a notebook environment. The functions mostly involve returning data back as a pandas DataFrame for further processing or to work with pandas (manipulate pandas, change values, enrich data, upload data frames to other services, etC).

Howto Get Started

Read the installation instructions on the best ways to install picatrix.

After installing, connect to the Jupyter notebook in your web browser (should open up automatically). Inside the notebook you need to import the picatrix library and initialize it:

from picatrix import notebook_init
notebook_init.init()

(if you are using the docker container you don't need to import these libraries, that is done for you automatically).

And that's it, then all the magics/helper functions are now ready and accessible to your notebook. To get a list of the available helpers, use:

%picatrixmagics

Or

picatrixmagics_func()

Each magic has a --help parameter or the functions with _func?. Eg.

timesketch_set_active_sketch_func?

Examples

To get all sketches, you can use the following magic

%timesketch_get_sketches

For most of the magics you need to set an active sketch

%timesketch_set_active_sketch 1

To query the sketch, the following magic will execute a search and return the results as a search object, that can be easily converted into a pandas dataframe:

search_obj = %timesketch_query 'message:Another'
search_obj.table

Further documentation on the search object can be found here

To add a manual event with a function use:

timesketch_add_manual_event_func('Eventdescriptiontext', attributes=attributesdict)

Which is the same as:

%timesketch_add_manual_event Eventdescriptiontext --attributes {{attributesdict}}

Discussions

Want to discuss the project, have issues, want new features, join the slack workspace here, the channel for picatrix is #picatrix.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].