An extensible tool to generate hyperlinks from legal citations

CiteURL CiteURL is an extensible tool that parses legal citations and makes links to websites where you can read the cited language for free. It can be used to quickly look up a reference, or to insert a hyperlink for every long- or short-form citation in a longer text. Installation CiteURL has been tested with Python version 3.9, but earlier versions probably work too. Install Python if you don’t have it, then run this command: python -m pip install citeurl […]

Read more

Simple Python Library to convert JSON to XML

json2xml Simple Python Library to convert JSON to XML. Features It lets you convert json to xml in following ways: from a json string from a json file from an API that emits json data Usage The usage is simple: from json2xml import json2xml from json2xml.utils import readfromurl, readfromstring, readfromjson # get the xml from an URL that return json data = readfromurl(“https://coderwall.com/vinitcool76.json”) print(json2xml.Json2xml(data).to_xml()) # get the xml from a json string data = readfromstring( ‘{“login”:”mojombo”,”id”:1,”avatar_url”:”https://avatars0.githubusercontent.com/u/1?v=4″}’ ) print(json2xml.Json2xml(data).to_xml()) # get […]

Read more

Converts a text file of songs to a playlist on your Spotify account

Playlist Converter Convert a text file of songs to a playlist on your Spotify account. Create your playlists faster instead of manually searching for songs. How It Works This application reads the contents of every text file in a directory on your computer You must provide details of how your files are structured in a configuration file Getting a temporary access token from Spotify authorizes this app to access/change your account data Using the Python requests library, this application sends […]

Read more

Create a static HTML/CSS image gallery from a bunch of images

gallerize Create a static HTML/CSS image gallery from a bunch of images. Features Integrates ImageMagick to resize images and create thumbnails. Generates clean, slim, semantically appropriate HTML5 and uses CSS 3 for styling. As a result, the output can easily be themed. Provides HTML access keys for keyboard navigation. Optimizes images to reduce size and remove metadata. Requirements Installation It is recommended to create a virtual environment and run gallerize inside it. To install ImageMagick, jpegoptim, and virtualenv on Debian/Ubuntu: […]

Read more

A python package for analyzing and visualizing volumetric data

The yt Project yt is an open-source, permissively-licensed python package for analyzing and visualizing volumetric data. yt supports structured, variable-resolution meshes, unstructured meshes, and discrete or sampled data such as particles. Focused on driving physically-meaningful inquiry, yt has been applied in domains such as astrophysics, seismology, nuclear engineering, molecular dynamics, and oceanography. Composed of a friendly community of users and developers, we want to make it easy to use and develop – we’d love it if you got involved! We’ve […]

Read more

ETL flow framework based on Yaml configs in Python

FlowMaster A light framework for creating data streams. Setting up streams through configuration in the Yaml file. There is a schedule, task pools, concurrency limitation. Works quickly, does not require a lot of resources. Runs on Windows and Linux. Flow run in parallel via threading library. Internally SQLite Database. At the moment there are connectors to sources CSV file SQLite database Yandex Metrika Management API Yandex Metrika Stats API Yandex Metrika Logs API Yandex Direct API Yandex Direct Report API […]

Read more

An async API wrapper for Dress To Impress written in Python

dti.py An async API wrapper for Dress To Impress written in Python. Some notes: For the time being, there are no front-facing docs for this beyond docstrings in the code itself Breaking changes are very likely to happen until this lib + DTI2020 are considered stable Installing Python 3.7 or higher is suggested This project will likely never be put on PyPI, so you’ll have to install the development version, from this repo. python -m pip install -U git+https://github.com/diceroll123/dti.py Alternatively, […]

Read more

Python interface to the TileDB storage manager

TileDB-Py TileDB-Py is a Python interface to the TileDB Storage Engine. Quick Installation TileDB-Py is available from either PyPI with pip: pip install tiledb or from conda-forge with conda or mamba: conda install -c conda-forge tiledb-py Dataframes functionality (tiledb.from_pandas, Array.df[]) requires Pandas 1.0 or higher, and PyArrow 1.0 or higher. GitHub https://github.com/TileDB-Inc/TileDB-Py    

Read more

Free components that wrap up Python into Delphi and Lazarus

python4delphi Python for Delphi (P4D) is a set of free components that wrap up the Python DLL into Delphi and Lazarus (FPC). They let you easily execute Python scripts, create new Python modules and new Python types. You can create Python extensions as DLLs and much more. P4D provides different levels of functionality: Low-level access to the python API High-level bi-directional interaction with Python Access to Python objects using Delphi custom variants (VarPyth.pas) Wrapping of Delphi objects for use in […]

Read more

Vision-and-Language Transformer Without Convolution or Region Supervision

ViLT Code for the ICML 2021 (long talk) paper: “ViLT: Vision-and-Language Transformer Without Convolution or Region Supervision” Install pip install -r requirements.txt pip install -e . Download Pretrained Weights We provide five pretrained weights ViLT-B/32 Pretrained with MLM+ITM for 200k steps on GCC+SBU+COCO+VG (ViLT-B/32 200k) link ViLT-B/32 200k finetuned on VQAv2 link ViLT-B/32 200k finetuned on NLVR2 link ViLT-B/32 200k finetuned on COCO IR/TR link ViLT-B/32 200k finetuned on F30K IR/TR link Out-of-the-box MLM + Visualization Demo pip install gradio==1.6.4 […]

Read more
1 624 625 626 627 628 912