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. Please report any tracking bugs!

[!IMPORTANT] wakapi-anyide is still in development. Some things probably won't work.

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

  • 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.1.0.tar.gz (47.6 kB view details)

Uploaded Source

Built Distributions

wakapi_anyide-0.1.0-cp312-abi3-win_amd64.whl (229.5 kB view details)

Uploaded CPython 3.12+ Windows x86-64

wakapi_anyide-0.1.0-cp312-abi3-win32.whl (218.7 kB view details)

Uploaded CPython 3.12+ Windows x86

wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (394.3 kB view details)

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

wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (443.9 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ s390x

wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (439.3 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ ppc64le

wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (417.0 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ i686

wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (395.9 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ ARMv7l

wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (392.8 kB view details)

Uploaded CPython 3.12+ manylinux: glibc 2.17+ ARM64

wakapi_anyide-0.1.0-cp312-abi3-macosx_11_0_arm64.whl (313.2 kB view details)

Uploaded CPython 3.12+ macOS 11.0+ ARM64

wakapi_anyide-0.1.0-cp312-abi3-macosx_10_12_x86_64.whl (317.6 kB view details)

Uploaded CPython 3.12+ macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for wakapi_anyide-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ecd40b456663aff8a568d2e72a8258fc0e50391bdd8a4a4a1df69a30db0f3ead
MD5 a4dcf50372dd1b382cadde460ba917fe
BLAKE2b-256 a95067b638a0fe48d24304dd59ba2a6a838e02300a4bb6bf15aaa14ae5511711

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c185a53b841cf4c28e59671cc5f61824a93fd6a6f76c779cd5a8b59ec8de23af
MD5 05c30b572453f21d7bd6dd765794cf19
BLAKE2b-256 917852b6da8a65ee18fe5a31cbfd1c161f055e408f7dd7785cc8c05c355da605

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-win32.whl
Algorithm Hash digest
SHA256 83119ba5682f71ac8e06d86bd5f49167c320e60b44bae41e2d4957c381547b79
MD5 cf65dc58273c9fb45a22c4b8b281ef4f
BLAKE2b-256 1d18e9744bf780ce64fa30c56b7fe6fac9040ddaa223ccdd6aa1ae286266d59a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a4f428ba261bb2e696063dca0cf6c0a959238c5d9527dc1ddf35930e060657c2
MD5 d2507ed1c2a9063b2746b931d508aab7
BLAKE2b-256 1a3920489f917e6fb57960fc7868a48ac5a7e99991e10cd63c4c2f9dacf3a830

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 6f5db2201bd44eff645eebf4af0a22e10ebb3f4ff8fcd0b4591db76f7a3f932d
MD5 4e0cbebb0061e4499461a28ab1119ed6
BLAKE2b-256 ab1af4c5e3ff13671358a857a18d298161f4d490dfcedeb534f8f4fe4509180c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 639530d2ae1f491b219b5d933535996431e0a1811d262f672d88b00b9bdb9445
MD5 9c0c72e59a55b60a3948c859364834dc
BLAKE2b-256 627d15135d3a1c2fc67f0ca4a9e592204f58a01565a3c93680553a6982f719a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e8d1e393cc827090a1971df66a680224dbee128e369603c0572bb39f3e68c7c8
MD5 bd4ae6bd68d4a2771d900bc1180024db
BLAKE2b-256 83e252119b2eb11019176cffb44ba9126fb757a470d0dbcf6844096739f5d930

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 dfb9f7de42bc22b052d04ccd9228522ec345e9222f27cf1a1eaf04f6a01c2775
MD5 60e1de254b81b1238f7b69c08fdab364
BLAKE2b-256 e83970d770c8a2e29bb11edc4ee12b18d106974a63d4ad1117c39eacca4f29a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 08869741e6a8499a057e4f14e9740c8f6dd4498b3b5013c86ecd1ea0f48f116d
MD5 61cbbbf634de2a6cb1801cff477a0c3a
BLAKE2b-256 e905c67eb016509cf4ed05f3250bd80025cb1c97b6baa940f7d1d717f5f49c19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c385fd12c67c4526ea665e1e31f32d99148fa5206fc51e5e71914ce078d8573c
MD5 67215b2f58d3056ceef8e3c59f3379d2
BLAKE2b-256 af4b910cb5eb590edd2e10c8010f25cb82306977b6483a8b43d4d7b4b6d43cf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wakapi_anyide-0.1.0-cp312-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c75e41a01b735b04c1fc4e59fb51b0ee0205a23b71e975e56f2110546dc20095
MD5 292b4bf9ba991f7b22d2989538eb64d4
BLAKE2b-256 218eb846364403e89ba71ce2081006d894410c551a83a92e2abea92a54d4abbd

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