Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

https://travis-ci.org/Ahhhhmed/homotopy.svg?branch=master Documentation Status https://codecov.io/gh/Ahhhhmed/homotopy/branch/master/graph/badge.svg

Homotopy is a snippet compiler. Instead of expanding and filling the blanks it lets you finish your thought and get the result you are expecting.

Write that complex thought in one line and let Homotopy take care of parentheses, formatting, indent and all that boring stuff.

for#int$i%0%5>printf("Hello, five times.");
for(int i=0; i<5; i++){
     printf("Hello, five times.");
}

Install

pip install homotopy

Plugins

This tool is intended to be used inside an editor. Currently only Atom plugin is implemented.

See making a plugin if you want to create a plugin.

Getting started

See getting started section in documentation.

Download files

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

Source Distribution

homotopy-0.2.a1.tar.gz (28.6 kB view details)

Uploaded Source

File details

Details for the file homotopy-0.2.a1.tar.gz.

File metadata

  • Download URL: homotopy-0.2.a1.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for homotopy-0.2.a1.tar.gz
Algorithm Hash digest
SHA256 bff87ed27c5b8b33a4def5b6f029131a4ada14a78e818a6f0887822f4655d067
MD5 0ab49c084d760590c09203b453531b53
BLAKE2b-256 0a87baa5bd2da86bb1c72c219906ce05bcc41257db21e8ab0253e64d2bf07a49

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.a1 This release

1 file

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