A Policy-as-Code tool for Kubernetes that allows for evaluating Kubernetes resources against

MagTape MagTape is a Policy-as-Code tool for Kubernetes that allows for evaluating Kubernetes resources against a set of defined policies to inform and enforce best practice configurations. MagTape includes variable policy enforcement, notifications, and targeted metrics. MagTape builds on the Kubernetes Admission Webhook concept and uses Open Policy Agent (OPA) for its generic policy language and engine. Our goal with MagTape is to show an example of wrapping additional business logic and features around OPA’s core, not to be a […]

Read more

Interesting NLP Use Cases Every Data Science Enthusiast should know!

This article was published as a part of the Data Science Blogathon Introduction Natural Language Processing (NLP) is a subpart of Artificial Intelligence that uses algorithms to understand and process human language. Various computational methods are used to process and analyze human language and a wide variety of real-life problems are solved using Natural Language Processing. (Source: Kaggle.com) Using Natural Language Processing, we use machines by making them understand how human language works. Basically, we use text data and make computers analyze […]

Read more

Issue #132 – Tokenization strategies for Korean MT tasks

27 May21 Issue #132 – Tokenization strategies for Korean MT tasks in Model improvement, The Neural MT Weekly Author: Dr. Jingyi Han, Machine Translation Scientist @ Iconic Introduction Asian languages have always been challenging for machine translation (MT) tasks due to their completely different grammar and writing system. As we know, there are specific segmenters for Chinese and Japanese as there is no space between words in these languages. With regards to Korean, even though the words are separated by […]

Read more

A simple Python Module for sending cross-platform desktop notifications

notify.py Cross platform desktop notifications for Python scripts and applications. Supported Platforms. Windows 10 macOS 10 >=10.10 Linux (libnotify) No dependencies are required other than loguru & jeepney (Only for linux/DBUS). Install pip install notify-py Usage Send Simple Notification from notifypy import Notify notification = Notify() notification.title = “Cool Title” notification.message = “Even cooler message.” notification.send() Send Notification With Icon from notifypy import Notify notification = Notify() notification.title = “Cool Title” notification.message = “Even cooler message.” notification.icon = “path/to/icon.png” notification.send() […]

Read more

A performant type checker for Python compliant with PEP 484

Pyre Pyre is a performant type checker for Python compliant with PEP 484. Pyre can analyze codebases with millions of lines of code incrementally – providing instantaneous feedback to developers as they write code. Pyre ships with Pysa, a security focused static analysis tool we’ve built on top of Pyre that reasons about data flows in Python applications. Requirements To get started, you need Python 3.6 or later and watchman working on your system. On MacOS you can get everything […]

Read more

A Python module and command line tool for working with Fortran namelists

f90nml A Python module and command line tool for parsing Fortran namelist files. f90nml is a Python module and command line tool that provides a simple interface for the reading, writing, and modifying Fortran namelist files. A namelist file is parsed and converted into an Namelist object, which behaves like a standard Python dict. Values are converted from Fortran data types to equivalent primitive Python types. The command line tool f90nml can be used to modify individual values inside of […]

Read more

A simple python code example using MongoDB

Python with MongoDB A simple password manager I typed with python using MongoDB . How do i run this code • First of all you need to have a python on your computer. If you don’t have python on your computer, download it here • After downloading, you need to open a new terminal in the folder and type. pip install -r requirements.txt • After filling the config.json file, you can open the file named start.bat and start the script. […]

Read more

Program for analyzing shadows from Cassini images

Ring moons of Saturn This packages/program was created for my bachelor’s thesis for the Astronomy department at University of Oulu, Finland It consists of a reader for Vicar Image files and a viewer for analyzing images. The purpose is to extract shadow data from the images and analyze shadow contrast. Info Needs Cassini mission kernels to provide mission data Not here since uncompressed 37Gb or compressed 16Gb Uses NASA NAIF Spice which is used throughSpiceyPy wrapper Parses VICAR2 file format. […]

Read more

A simple renderer for OpenStreetMap with python

Roentgen The idea behind Röntgen project is to have a possibility to display any map feature represented by OpenStreetMap data tags by means of colors, shapes, and icons. Röntgen is primarily created for OpenStreetMap contributors. Suppose, you spent time adding colors for building walls, benches and shelters for bus stops but they are not represented on the standard tile layer. Röntgen helps to display all changes you made. Nevertheless, Röntgen map generator can generate precise but messy maps for OSM […]

Read more

An API wrapper for Discord written in Python

discord.py A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async and await. Proper rate limit handling. 100% coverage of the supported Discord API. Optimised in both speed and memory. Installing Python 3.5.3 or higher is required To install the library without full voice support, you can just run the following command: # Linux/macOS python3 -m pip install -U discord.py # Windows py -3 -m pip install […]

Read more
1 634 635 636 637 638 927