Skip to main content

Time tracking for any IDE with WakaTime-like servers

Project description

wakapi-anyide

Log your coding time against any WakaTime-like server.

[!NOTE] Teenager? Check out High Seas!

[!IMPORTANT] wakapi-anyide has only been tested on Linux and Windows, and is still in development. Please report any tracking bugs!

Alternatives

You should try use an editor extension over wakapi-anyide if you can. If you don't need precise coding metrics, use the WakaTime app instead. (Not for High Seas!)

Quickstart guide

  • Set your IDE to autosave as quickly as possible. This is how wakapi-anyide is able to track your coding time. Ideally, something like a second, so it saves as you type.

  • Install wakapi-anyide with your favourite Python package manager

  • Run wakapi-anyide setup and follow the instructions

  • Inspect and edit the generated wak.toml:

    # https://github.com/iamawatermelo/wakapi-anyide v0.0.1
    
    [wakapi-anyide]
    version = 1                               # don't change this
    
    [files]
    include = ["./**/*.py", "./**/*.toml"]    # files to include in tracking
    exclude = [".venv/**/*"]                  # files to exclude in tracking
    exclude_files = [".gitignore"]            # files whose contents will be used to exclude other files from tracking
    
    [project]
    name = "wakapi-anyide"                    # your project name
    
  • Run wakapi-anyide test in the same directory you have wak.toml in, and start coding for a bit. Ensure that wakapi-anyide is not tracking any generated files.

  • Run wakapi-anyide track to actually track your progress. You must run this every time.

What wakapi-anyide sends

wakapi-anyide tells the WakaTime server:

  • your OS that you are using wakapi-anyide (wakatime/unset (Linux-none-none) wakapi-anyide-wakatime/unset)
  • an anonymised hostname based off of your computer's name (anonymised machine 749f8c4e)
  • the relative path of the files you change (./wakatime_anyide/__init__.py)
  • the estimated time you have spent
  • your estimated cursor position over time
  • the estimated language of any files you edit (py, Makefile)
  • the amount of lines changed
  • the branch you are editing if you use Git
  • any information you specified in the project section of wak.toml

Additionally, the WakaTime server will be able to see:

  • your IP address, which means your approximate location
  • the time of day your requests are being sent

Every website you visit can see this information.

wakapi-anyide does not send:

  • any information about your system not listed above, like your username
  • file content
  • filenames outside of those included in your wak.toml

For security, wakapi-anyide does not use wakatime-cli.

Support for existing WakaTime configuration

wakapi-anyide supports the WAKATIME_HOME and the WAKATIME_API_KEY environment variables. The configuration value takes precedence over the environment variable.

$WAKATIME_HOME/.wakatime.cfg

Only these configuration values are supported:

[settings]

option description type default value
api_key Your WakaTime API key. string
api_key_vault_cmd A command to get your api key. Shell syntax is not supported, use sh -c "<your command>" for that. string
api_url The WakaTime API base url. string https://api.wakatime.com/api/v1
hostname Optional name of local machine. string (an anonymised hostname)

All other configuration values are silently ignored.

.wakatime-project

Not supported.

Limitations

wakapi-anyide is not integrated with your editor. It can only guess what you are doing.

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

wakapi_anyide-0.2.0.tar.gz (46.6 kB view details)

Uploaded Source

Built Distributions

wakapi_anyide-0.2.0-cp312-abi3-win_amd64.whl (228.2 kB view details)

Uploaded CPython 3.12+ Windows x86-64

wakapi_anyide-0.2.0-cp312-abi3-win32.whl (217.2 kB view details)

Uploaded CPython 3.12+ Windows x86

wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (393.2 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ x86-64

wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (442.6 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ s390x

wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (438.0 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ ppc64le

wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (415.2 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ i686

wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (394.8 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ ARMv7l

wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (391.3 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ ARM64

wakapi_anyide-0.2.0-cp312-abi3-macosx_11_0_arm64.whl (311.8 kB view details)

Uploaded CPython 3.12+ macOS 11.0+ ARM64

wakapi_anyide-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl (316.2 kB view details)

Uploaded CPython 3.12+ macOS 10.12+ x86-64

File details

Details for the file wakapi_anyide-0.2.0.tar.gz.

File metadata

  • Download URL: wakapi_anyide-0.2.0.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for wakapi_anyide-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c6ee48a6ea61fa60234db0768dc079605f463ae2a5db050d08beaa0fcbf1926f
MD5 68c95299848711412384f50fe573c800
BLAKE2b-256 567c0b44d36ed903a1ed0e7d042a21af876fac765976cf2d6676a6a4daab06bb

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0821c42f2ccece5fa132190ca63775301bd603c0df74399b5ec2644b002a6e73
MD5 4b7349d2ea5c16d437428871aa40ce69
BLAKE2b-256 5f0a06ee0a0940f88db9628b18d02cb2fdb6b2c73fa59fba2735a5c0608d0e3c

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-win32.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-win32.whl
Algorithm Hash digest
SHA256 b259727afb72675b52ee9d4c51d250a773becbe0515c124f736cbed7870c988f
MD5 cf039220e577c8877735a03cdc3c7043
BLAKE2b-256 351487f43cbbcda5d3ec1eb42754b25e10ce6add8b40a75573aa818875d6c266

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d4a63212feecfc54a55fd571def8e460a23fd4fd7a7bdd9df46acece83d4379
MD5 43f1e033365a22f03808fe11c01c8f84
BLAKE2b-256 be1b4c3db941d4d8fb97612adf7114a3c16629ce9febee9e0aabf6479c3c2092

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 0a303cbbbb444c988faa26a8afda9903824bc6dc889ba5538b39c5fada93ab93
MD5 3d90d32c71c5b5b01046eec33bd37e3b
BLAKE2b-256 7116dbc1455aa243967b1b09bc3db2f7aa3046a4d56714112777f5094f56bb7c

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 69910ce09f948407d389932e14cc80398e61fdb96c961e91fd8df2505abdb47f
MD5 96357ddad6466eed78150bd107b97de2
BLAKE2b-256 ad6469f740ecf998b786f9fb8ab5da636a419bd5b31fd1443b86d36a42131487

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 6aa7267cfcb6f6f3ec5461d713ae1c044bb4aba7a547e09fbc6d112c7f021f49
MD5 2bdedf361cf110d5632f7bf5e727979e
BLAKE2b-256 45371dde6e64efa603c61d16e030ca519047dd538a1c260d4fe2c7a56fe76eff

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 44e97d554cc1ecdd286c80cebd57ca480c431701d452d38a853001f2943eb64f
MD5 99191b82e3535bbaa9aabe88b06eb140
BLAKE2b-256 7f32434cf23212d5404b804c2da768dc7ea5557d50dc2fee8a2b6593083afde6

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7d764009ad3bd1c1187fc93e4ba0f1fc2d34525fcba9a94edf03f5aa94b025c9
MD5 f8195612f9bfb11e4fff30031bcfdfdb
BLAKE2b-256 b89de549721ff6397fd04cab10ed1c9d34b385853ca0a5a36b93328fcfc8dd8c

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 07bce5b6beeb9a8dd9b4bf2e4e1ad1b39bf6049f65f492780558983a2c845531
MD5 e0d5d4d3c8700c23110b7337f20c9cc6
BLAKE2b-256 ca414f96797504be52dd41c3bc1426239d4bba6eca397f8777850868381bf651

See more details on using hashes here.

File details

Details for the file wakapi_anyide-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for wakapi_anyide-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 97c7e2137fff871258b9ebaf1c20977fdb3eb13a68c21abc8c82ba53e2ef28f0
MD5 6942e591b675fc1b882c5e6c46dc4d1c
BLAKE2b-256 b8cf84dbffb0f69f480a23338b240fe19a6f424b9a57faf7a662a8f595fd84f0

See more details on using hashes here.

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