Skip to main content

A python development kit containing handy packages.

Project description


This package provides handy tools for regular development in python.

At the heart of the conquest of Rome's vast territory was a sophisticated infrastructure.


console should be imported in the manner below:

from roma import console

Fancy Text


console.write_line('#{Hello}{red} #{World}{blue}!')

Progress Bar


import time

total = 100
quarter = int(total / 4)
for i in range(1, total + 1):
  if i % quarter == 0:
    console.write_line('{}/{} done!'.format(i, total))
  console.print_progress(i, total)


This package serves as a MISC package, which contains a bundle of common, useful tools.


censor module handles issues related to argument types.

Demo of check_type():

from roma import censor

assert all([
  censor.check_type(31, int) == 31,
  censor.check_type({'adh', 93, 19}, inner_type=str) 
    == {'adh', '93', '19'},
  censor.check_type([None, 12, 19.0], tuple, 
    inner_type=int, nullable=True) == (None, 12, 19),


atticus provides tools for produce appropriate strings.

Demo of ordinal():

from roma import atticus

assert all([
  atticus.ordinal(1) == '1st', atticus.ordinal(2) == '2nd', atticus.ordinal(3) == '3rd',
  atticus.ordinal(8) == '8th', atticus.ordinal(11) == '11th', atticus.ordinal(12) == '12th',
  atticus.ordinal(13) == '13th', atticus.ordinal(21) == '21st', atticus.ordinal(112) == '112th',

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-roma-1.0.0.dev6.tar.gz (19.8 kB view hashes)

Uploaded source

Built Distribution

py_roma-1.0.0.dev6-py3-none-any.whl (31.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page