nandoflorestan / bag

Licence: other
A Python library for several purposes

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to bag

sqlalchemy-citext
CITEXT type for SQLAlchemy
Stars: ✭ 26 (+4%)
Mutual labels:  sqlalchemy
py-data-api
A user-friendly client for AWS Aurora Serverless's Data API
Stars: ✭ 37 (+48%)
Mutual labels:  sqlalchemy
django-rest-witchcraft
Django REST Framework integration with SQLAlchemy
Stars: ✭ 38 (+52%)
Mutual labels:  sqlalchemy
tutorials
Collection of tutorials for various libraries and technologies
Stars: ✭ 98 (+292%)
Mutual labels:  sqlalchemy
pygameweb
🎮🕸️ pygame.org website. Python, PostgreSQL, Flask, sqlalchemy, JS.
Stars: ✭ 94 (+276%)
Mutual labels:  sqlalchemy
trashed
Trashed is an organizational tool designed to help users keep their communities clean.
Stars: ✭ 13 (-48%)
Mutual labels:  sqlalchemy
mad-migration
Database migration tool for migrate different structured databases.
Stars: ✭ 29 (+16%)
Mutual labels:  sqlalchemy
mock-alchemy
SQLAlchemy mock helpers.
Stars: ✭ 44 (+76%)
Mutual labels:  sqlalchemy
chm-documentation
chm documentation PostgreSQL pgadmin3 SQLAlchemy Django Flask jinja2 webpy doc chm compiled html help Postgres Postgre документация russian
Stars: ✭ 17 (-32%)
Mutual labels:  sqlalchemy
falcon-sqla
SQLAlchemy session management middleware for Falcon applications.
Stars: ✭ 20 (-20%)
Mutual labels:  sqlalchemy
flask-tweeeter
A full-stack Twitter clone made using the Flask framework for Python 🐦
Stars: ✭ 28 (+12%)
Mutual labels:  sqlalchemy
django-sqlalchemy
Django ORM built on top of SQLalchemy core 2.0 for seamless integration of SQLAlchemy with Django 4.1+ PostgreSQL 14+ only for now. [pre POC now]
Stars: ✭ 101 (+304%)
Mutual labels:  sqlalchemy
graygram-web
www.graygram.com
Stars: ✭ 16 (-36%)
Mutual labels:  sqlalchemy
futaba
Discord bot for the Programming server
Stars: ✭ 22 (-12%)
Mutual labels:  sqlalchemy
soar-php
SQL optimizer and rewriter. - SQL 优化、重写器(辅助 SQL 调优)。
Stars: ✭ 140 (+460%)
Mutual labels:  sqlalchemy
d2a
A translator Django into SQLAlchemy.
Stars: ✭ 23 (-8%)
Mutual labels:  sqlalchemy
AUCR
Analyst Unknown Cyber Range - a micro web service framework
Stars: ✭ 24 (-4%)
Mutual labels:  sqlalchemy
yosai alchemystore
SQLAlchemy-enabled Account Store for Yosai that features a flat Role-Based Access Control (RBAC) data model
Stars: ✭ 17 (-32%)
Mutual labels:  sqlalchemy
CourseCake
By serving course 📚 data that is more "edible" 🍰 for developers, we hope CourseCake offers a smooth approach to build useful tools for students.
Stars: ✭ 21 (-16%)
Mutual labels:  sqlalchemy
AnyBlok
AnyBlok is a Python framework for building business applications.
Stars: ✭ 19 (-24%)
Mutual labels:  sqlalchemy

bag library

bag contains code for many purposes, which I find myself reusing in multiple programs -- so this code must be version-controlled. I use SQLAlchemy and Pyramid a lot.

Documentation is at http://docs.nando.audio/bag/latest/

The code is at https://github.com/nandoflorestan/bag where you can do your bug reports and pull requests.

This version of bag was published with releaser.

Most important library contents

  • bag.spreadsheet -- Import CSV and Excel spreadsheets based on headers on the first row. There is also a buffered CSV writer for outputting CSV in a web app.
  • bag.email_validator -- The ultimate functions for email validation and domain validation, as well as an email address harvester.
  • bag.pathlib_complement -- A Path subclass that does what pathlib doesn't do.
  • bag.subcommand -- Use argh to dispatch to subcommands with their command-line arguments.
  • bag.web.burla -- Powerful URL generation independent of web frameworks, working in Python and in the client (Javascript) too. Also provided is Pyramid integration for it.
  • bag.web.transecma -- Complete solution for javascript internationalization. Compatible with jquery templates. Includes transecma.js.
  • bag.web.flash_msg has been removed in favor of a better module in the kerno library. It defines a rich class for UI messages to be stored in the HTTP session.

If you use the Pyramid web framework

If you use SQLAlchemy

Commands

  • delete_old_branches -- Deletes git branches that have already been merged onto the current branch. Optionally, filter the branches by age (in days).
  • reorder_po -- Reorders .po files (usually after transifex messes up the order of the translations in them) so the diff is always readable.
  • replace_text -- A simple command to replace text in many files, without worrying about regular expressions.

Less important library contents

  • bag.check_rst -- Verifies reStructuredText content for correctness.
  • bag.console -- Functions for user interaction at the console.
  • bag.corrupt_image -- Read image files and do something if they are corrupt.
  • bag.file_existence_manager -- Tools for finding duplicate files using hashes.
  • bag.log -- Convenient logging initialization.
  • bag.html -- Encode and decode HTML and XML entities.
  • bag.more_codecs -- Got text in some weird encoding that Python doesn't know? OK, use iconv to decode it.
  • bag.show_progress -- Don't leave your user wondering if your program is hanging; print the progress every few seconds.
  • bag.streams -- Functions that use streams (open files).
  • bag.text -- Functions for working with unicode strings.
  • bag.text.words -- Contains lists of nouns and adjectives and can generate a random combination words -- good for generating funny test data.
  • bag.time -- Functions to make it easier to work with datetimes. Includes a JSON encoder that supports time, datetime and Decimal.
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].