question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting up HPI - config file

See original GitHub issue

Hi, struggling to install orger for which I need HPI 😃

I read:

After installing HPI, run hpi config create.

This will create an empty config file for you (usually, in ~/.config/my), which you can edit. Example configuration:

import pytz # yes, you can use any Python stuff in the config

class emfit:
    export_path = '/data/exports/emfit'
    tz = pytz.timezone('Europe/London')
    excluded_sids = []
    cache_path  = '/tmp/emfit.cache'

class instapaper:
    export_path = '/data/exports/instapaper'

class roamresearch:
    export_path = '/data/exports/roamresearch'
    username    = 'karlicoss'

(1) I have no my/config file under ~/.config (2) Is the config file /Users/user/HPI/my/config.py? (3) What exactly should I add in here? I don’t see where to include my personal user data to access hypothesis.

Thanks so much!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
seanbreckenridgecommented, Dec 11, 2022

HPI uses appdirs to figure out where to put your config. See preinit for the code that figures that out

You can set the MY_CONFIG environment variable to override that, so in your .bashrc or .zshrc set:

export MY_CONFIG="${HOME}/.config/my"
1reaction
karlicosscommented, Nov 26, 2020

Ah yes, possibly sequential by default. I guess it’s more of my general habit – with some schedulers it’s parallel, or sometimes the process forks off and runs in the background, etc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create and Unlock HPI Configuration - vPnas
1. First is to import the hpi config you want to unlock to your injector. · 2. Now the next step is to...
Read more >
How to use http injector 2.0.1.7 on windows PC, create your ...
How to create HTTP Proxy Injector config file, free internet on windows, make it works fine on your PC and set it properly...
Read more >
Tools - How to create your own .hpi file for globe, tm, smart, tnt ...
ort, in the Port it is recommended to use 80 always. ... Then click 'START'. ... 6. Done! You can now use this...
Read more >
STEPS ON HOW TO MAKE HPI CONFIG FOR PC/LAPTOP 1 ...
TUTORIAL ON HOW TO MAKE HPI CONFIG FOR PC&LAPTOP IN SUN TU50 UP PROMO.docx ; 1.Go to google.com2.Typeand you will directly to site3.Choose...
Read more >
How To Create .HPI File for Globe, TM, Smart, TNT, Sun, DITO ...
Configure and create your own .HPI file using HTTP Proxy Injector for PC. This tutorial is for Globe, TM, Smart, TNT, Sun, DITO,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found