Skip to content

Instantly share code, notes, and snippets.

input = [
'{(})([]}',
'{}()[] ',
'{({}[])}'
]
def checkin (items: list):
if len(items)<=100:
for item in items:
@josehbez
josehbez / odoo-module-community.sh
Last active February 1, 2024 02:07
This script is ideal for a private repository that publishes modules to a public repository for read only.
#! /bin/env bash
HELP (){
echo "Odoo Module Community by https://github.com/josehbez"
echo ""
echo "This script is ideal for Privete Repo that publish on Public Repo "
echo "by readonly."
echo ""
echo "How to use?"
echo ""
echo "1) Create file odoo-module-community.txt, and very line Files or Dirs to publish"
@josehbez
josehbez / odoo-module-packaging.py
Last active February 1, 2024 02:06
A simple python script that compress odoo module with its dependency modules in a file ZIP.
# -*- coding: utf-8 -*-
#! /bin/env python3
import ast
import os
import zipfile
from datetime import datetime
import sys
help="""Odoo Module Packaging by https://github.com/josehbez