Setting
Setting.__getattr__()
Setting.lock()
Setting.unlock()
ConfigOptions
ConfigOptions.from_config()
load_options()
configure_environment()
patch_library_config()
setting_unlocked()
get_tempdir()
get_vendordir()
get_outputdir()
get_localdir()
attrs()
include()
singleton()
memoize()
classproperty
delegate()
lazy_property()
cachedstaticproperty
staticandinstancemethod
metadict
makecls()
extend_instance()
ultimate_type()
catch_exception()
ErrorCatcher
is_instance_method()
find_decorators()
compose()
composable()
copydoc()
get_calling_function()
repeat()
timing()
suppresswarning()
MultiMethod
MultiMethod.register()
multimethod()
chunked()
chunked_even()
collapse()
compact()
grouper()
hashby()
infinite_iterator()
iscollection()
isiterable()
issequence()
partition()
peel()
roundrobin()
rpeel()
unique()
unique_iter()
same_order()
coalesce()
getitem()
backfill()
backfill_iterdict()
align_iterdict()
random_string()
fix_text()
underscore_to_camelcase()
uncamel()
strip_ascii()
sanitize_vulgar_string()
round_digit_string()
parse_number()
truncate()
rotate()
smart_base64()
strtobool()
fuzzy_search()
is_numeric()
Percent
capitalize()
capwords()
commafy()
fmt()
format()
format_phone()
format_secondsdelta()
format_timedelta()
format_timeinterval()
splitcap()
titlecase()
add_to_sys_path()
cd()
get_module_dir()
scriptname()
ismapping()
invert()
mapkeys()
mapvals()
flatten()
unnest()
replacekey()
replaceattr()
cmp()
multikeysort()
map()
get_attrs()
trace_key()
trace_value()
add_branch()
merge_dict()
OverrideModuleGetattr
OverrideModuleGetattr.__getattr__()
OverrideModuleGetattr.__getitem__()
get_module()
get_class()
get_subclasses()
get_function()
load_module()
patch_load()
patch_module()
create_instance()
create_mock_module()
VirtualModule
create_virtual_module()
get_packages_in_module()
get_package_paths_in_module()
import_non_local()
FileLike
Attachable
Dimension
attrdict
attrdict.get()
attrdict.update()
attrdict.copy()
lazydict
emptydict
bidict
bidict.inverse
MutableDict
MutableDict.insert_before()
MutableDict.insert_after()
CaseInsensitiveDict
CaseInsensitiveDict.lower_items()
CaseInsensitiveDict.copy()
OrderedSet
OrderedSet.__init__()
OrderedSet.__len__()
OrderedSet.__contains__()
OrderedSet.add()
OrderedSet.discard()
OrderedSet.__iter__()
OrderedSet.__reversed__()
OrderedSet.pop()
OrderedSet.__repr__()
OrderedSet.__eq__()
ComparableHeap
ComparableHeap.push()
ComparableHeap.pop()
render_csv()
CsvZip
CsvZip.value
CsvZip.writecsv()
iterable_to_stream()
is_tty()
stream_is_tty()
json_load_byteified()
json_loads_byteified()
suppress_print()
wrap_suppress_print()
process_by_name()
process_by_name_and_port()
kill_proc()
SIGNAL_TRANSLATION_MAP
DelayedKeyboardInterrupt
guess_type()
guess_extension()
magic_mime_from_buffer()
mkdir_p()
make_tmpdir()
expandabspath()
get_directory_structure()
search()
safe_move()
save_file_tmpdir()
get_dir_match()
load_files()
load_files_tmpdir()
dir_to_dict()
download_file()
splitall()
resplit()
npfunc()
avg()
pct_change()
diff()
thresh()
isnumeric()
digits()
numify()
parse()
nearest()
covarp()
covars()
varp()
vars()
stddevp()
stddevs()
beta()
correl()
rsq()
rtns()
logrtns()
weighted_average()
linear_regression()
distance_from_line()
linterp()
np_divide()
safe_add()
safe_diff()
safe_divide()
safe_mult()
safe_round()
safe_cmp()
safe_min()
safe_max()
convert_mixed_numeral_to_fraction()
convert_to_mixed_numeral()
round_to_nearest()
numpy_smooth()
choose()
asyncd()
call_with_future()
RateLimitedExecutor
RateLimitedExecutor.__init__()
RateLimitedExecutor.execute()
RateLimitedExecutor.execute_items()
RateLimitedExecutor.submit()
RateLimitedExecutor.shutdown()
TaskRequest
TaskRequest.item
TaskRequest.id
TaskResponse
TaskResponse.result
TaskResponse.request
TaskResponse.exception
TaskResponse.success
threaded()
syncd()
NonBlockingDelay
NonBlockingDelay.timeout()
NonBlockingDelay.delay()
delay()
debounce()
wait_until()
timeout
timeout.handle_timeout()
base64file()
kryptophy()
merc_x()
merc_y()
random_choice()
random_int()
random_sample()
random_random()
print_exception()
try_else()
numpy_timeseries_plot()
is_null()
download_tzdata()
downcast()
fuzzymerge()
get_or_create()
paged()
rsleep()
rand_retry()
cors_webpy()
cors_flask()
authd()
xsrf_token()
xsrf_protected()
valid_api_key()
requires_api_key()
make_url()
prefix_urls()
url_path_join()
first_of_each()
safe_join()
local_or_static_join()
inject_file()
inject_image()
build_breadcrumb()
breadcrumbify()
appmenu()
scale()
render_field()
login_protected()
userid_or_admin()
manager_or_admin()
logerror()
validip6addr()
validipaddr()
validipport()
validip()
validaddr()
urlquote()
httpdate()
parsehttpdate()
htmlquote()
htmlunquote()
websafe()
JSONEncoderISODate
JSONEncoderISODate.default()
JSONDecoderISODate
ProfileMiddleware
COOKIE_DEFAULTS
run_command()
psexec_session
file_share_session
mount_admin_share()
mount_file_share()
parse_wmic_output()
exit_cmd()
Getting Started
API Reference
Render rows as CSV string.
rows – Iterable of rows to render.
dialect – CSV dialect to use (default: csv.excel).
CSV formatted string.
str
Example:
>>> render_csv([['a', 'b'], ['1', '2']]) 'a,b\r\n1,2\r\n'