Skip to main content

Usage

From PyPI:

pip3 install cambrinary

Look up 'hello' for example:

cambrinary -w hello

word hello

multi-languages support

in chinese(traditional)

cambrinary -w world -t chinese

word world

Supported language list

  • english
  • french
  • german
  • chinese
  • japanese
  • italian
  • russian
  • korean

multi-words support

powered by coroutine, support as many as words you like,

cambrinary -w hello word

word hello-world

or

cambrinary -w hello word -t chinese

even or more

cambrinary -w one two three four five -t french

Support phrase

cambrinary -w kick-off

or

cambrinary -w kick-off -t japanese

Customize your color scheme

Your cambrinary, you design.

Use conf.json to customize the color scheme, for instance, setting pronunciation, definition or example_sentence as you like. They could be in bold format, blue foreground and black background, or any supported format and colors. All supported color please refer to color_const.py.

For develop mode

You can change and test locally by, git clone the repo, cd in the repo folder, run:

python3 -m venv venv
source venv/bin/activate
pip3 install .  (try `curl https://bootstrap.pypa.io/get-pip.py | python3` to update pip3 if any error)
# and then
cambrinary -w world

Once you change the code, re-run pip3 install .

Log

logs is written into ~/.local/share/cambrinary/dict.log in the append way.

Road map

more development plan, please refer to Wiki

Help

cambrinary --help

Metadata

Release files for cambrinary 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cambrinary 0.1.3
File Size Uploaded
cambrinary-0.1.3.tar.gz 2.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cambrinary 0.1.3
File Interpreter ABI Platform
cambrinary-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 2.5 MB

Release files / cambrinary-0.1.3.tar.gz

Download URL cambrinary-0.1.3.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
d65d309a576a123dffa6f39bbf3ca777d98466408c76f4dccdc37bb510ab98e6
BLAKE2b-256 checksum
How to use checksums
c29fd6494f5ccfec53a81faa5f1dd52af6c6951fdf733f4e129f7f606f5d9684
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.0

Release files / cambrinary-0.1.3-py3-none-any.whl

Download URL cambrinary-0.1.3-py3-none-any.whl
Size 22.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b2aa6733fe97b6c01ee5cefef7391ae44bfca102f41ffa89402193b0eb0396f
BLAKE2b-256 checksum
How to use checksums
bc8d07820411e1f62aaac08c399e9cca12efa021c4218cc66a344a6a8d8c9c58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.0

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page