Commit graph

76 commits

Author SHA1 Message Date
rillig
5987e1895d finance/tclticker: remove the package
This package got its stock quotes from web sites that were active around
2000 and that no longer exist.  It had not resolved the PREFIX
placeholder, which meant it could not even ask the web sites for the
quotes.  Therefore chances are high that this package is not used by
anyone.
2020-05-16 06:49:39 +00:00
js
55d31e3887 finance: Enable electrum 2020-04-14 20:08:38 +00:00
riastradh
d757faf223 hledger: Import version 1.17.1.1
XXX Requires setting LANG=C.UTF-8 during hledger build stage.
2020-03-30 16:52:48 +00:00
riastradh
6854454a66 hs-Decimal: Import version 0.5.1 2020-03-30 16:44:12 +00:00
riastradh
148a7a9a08 ledger2beancount: Import version 2.0 2020-03-23 02:29:49 +00:00
riastradh
67c258a2af py-beancount: Import version 2.2.3
From the web site <http://furius.ca/beancount/>:

   Beancount is a double-entry bookkeeping computer language that lets
   you define financial transaction records in a text file, read them
   in memory, generate a variety of reports from them, and provides a
   web interface.
2020-03-22 21:27:51 +00:00
adam
4f53fa4e49 py-bitcoinrpc: added version 1.0
AuthServiceProxy is an improved version of python-jsonrpc.

It includes the following generic improvements:
* HTTP connections persist for the life of the AuthServiceProxy object
* sends protocol 'version', per JSON-RPC 1.1
* sends proper, incrementing 'id'
* uses standard Python json lib
* can optionally log all RPC calls and results
* JSON-2.0 batch support

It also includes the following bitcoin-specific details:
* sends Basic HTTP authentication headers
* parses all JSON numbers that look like floats as Decimal, and serializes
  Decimal values to JSON-RPC connections.
2019-12-03 16:32:16 +00:00
adam
92859e6910 py-bitcoinlib: updated to 0.10.2
v0.10.2
Note: this will be the last release of python-bitcoinlib with Python 2.7 compatibility.

New RPC generatetoaddress(self,numblocks,addr).
Fixed Python 2.7 incompatibility.
Various OpenSSL fixes, including a memory leak.

v0.10.1
Identical in every way to v0.10.0, but re-uploaded under a new version to fix a PyPi issue.

v0.10.0
Minor breaking change: RPC port for regtest updated to the new v0.16.0 default.

Other changes:
Now looks for .cookie files in the datadir, if specified.
Authentication in a RPC service_url is now parsed.
Implemented bip-0037 version message.
contrib/verify-commits/ removed for now due to breakage.

v0.9.0
Now supports segwit, which breaks the API in minor ways from v0.8.0. This version introduces lots of new API functionality related to this, such as the new CScriptWitness, CTxInWitness, CTxWitness, new segwit-specific logic in SignatureHash() etc.

v0.8.0
Major breaking API change!

While this interim release doesn't by itself include segwit support, it does change the name of the CTransaction/CMutableTransaction method GetHash() to GetTxid() to prepare for a future segwit-enabled release. Incorrect calls to GetHash() will now raise a AttributeError exception with an explanation.

Since this release doesn't yet include segwit support, you will need to set the Bitcoin Core -rpcserialversion=0 option, either as a command line argument, or in your bitcoin.conf file. Otherwise the RPC interface will return segwit-serialized transactions that this release's RPC support doesn't understand.

Other changes:
Cookie file RPC authentication is now supported.
msg_header now correctly uses CBlockHeader rather than CBlock.
RPC getbalance now supports include_watchonly
RPC unlockwallet is now supported

v0.7.0
Breaking API changes:
The 'cooked' CScript iterator now returns OP_0 for the empty binary string rather than b''

The alias JSONRPCException = JSONRPCError has been removed. This alias was added for compatibility with v0.4.0 of python-bitcoinlib.

Where appropriate, RPC_INVALID_ADDRESS_OR_KEY errors are now caught properly, which means that rather than raising IndexError, RPC commands such as getblock may raise JSONRPCError instead. For instance during initial startup previously python-bitcoinlib would incorrectly raise IndexError rather than letting the callee know that RPC was unusable. Along those lines, JSONRPCError subclasses have been added for some (but not all!) of the types of RPC errors Bitcoin Core returns.

Bugfixes:
Fixed a spurious AttributeError when bitcoin.rpc.Proxy() fails.

v0.6.1
New features:
getblockheader RPC call now supports the verbose option; there's no other way to get the block height, among other things, from the RPC interface.
subtoaddress and sendmany RPC calls now support comment and subtractfeefromamount arguments.

v0.6.0
Breaking API changes:
RPC over SSL support removed to match Bitcoin Core's removal of RPC SSL support in v0.12.0 If you need this, use an alternative such as a stunnel or a SSH tunnel.

Removed SCRIPT_VERIFY constants bitcoin.core.script, leaving just the constants in bitcoin.core.scripteval; being singletons the redundant constants were broken anyway.

SCRIPT_VERIFY_EVEN_S renamed to SCRIPT_VERIFY_LOW_S to match Bitcoin Core's naming

SCRIPT_VERIFY_NOCACHE removed as Bitcoin Core no longer has it (and we never did anything with it anyway)

v0.5.1
Various small bugfixes; see git history.

New features:
New RPC calls: fundrawtransaction, generate, getblockheader
OP_CHECKLOCKTIMEVERIFY opcode constant

v0.5.0
Major fix: Fixed OpenSSL related crashes on OSX and Arch Linux. Big thanks to everyone who helped fix this!

Breaking API changes:
Proxy no longer has __getattr__ to support arbitrary methods. Use RawProxy or Proxy.call instead. This allows new wrappers to be added safely. See docstrings for details.
New features:

New RPC calls: getbestblockhash, getblockcount, getmininginfo
Signing and verification of Bitcoin Core compatible messages. (w/ pubkey recovery)
Tox tests
Sphinx docs

Notable bugfixes:
getinfo() now works where disablewallet=1

v0.4.0
Major fix: OpenSSL 1.0.1k rejects non-canonical DER signatures, which Bitcoin Core does not, so we now canonicalize signatures prior to passing them to OpenSSL. Secondly we now only generate low-S DER signatures as per BIP62.

API changes that might break compatibility with existing code:

MAX_MONEY is now a core chain parameter
MainParams now inherits from CoreMainParams rather than CoreChainParams
str() now returns hash:n format; previously was same as repr()
RawProxy() no longer has _connection parameter

Notable bugfixes:
MsgSerializable.to_bytes() no longer clobbers testnet params
HTTPS RPC connections now use port 443 as default
No longer assumes bitcoin.conf specifes rpcuser

New features:
New RPC calls: dumpprivkey, importaddress
Added P2P support for msg_notfound and msg_reject
Added support for IPv6 addr messages
2019-11-25 18:24:49 +00:00
brook
1fd63ea735 R-bayesm: initial commit
Covers many important models used in marketing and micro-econometrics
applications. The package includes: Bayes Regression (univariate or
multivariate dep var), Bayes Seemingly Unrelated Regression (SUR),
Binary and Ordinal Probit, Multinomial Logit (MNL) and Multinomial
Probit (MNP), Multivariate Probit, Negative Binomial (Poisson)
Regression, Multivariate Mixtures of Normals (including clustering),
Dirichlet Process Prior Density Estimation with normal base,
Hierarchical Linear Models with normal prior and covariates,
Hierarchical Linear Models with a mixture of normals prior and
covariates, Hierarchical Multinomial Logits with a mixture of normals
prior and covariates, Hierarchical Multinomial Logits with a Dirichlet
Process prior and covariates, Hierarchical Negative Binomial
Regression Models, Bayesian analysis of choice-based conjoint data,
Bayesian treatment of linear instrumental variables models, Analysis
of Multivariate Ordinal survey data with scale usage heterogeneity (as
in Rossi et al, JASA (01)), Bayesian Analysis of Aggregate Random
Coefficient Logit Models as in BLP (see Jiang, Manchanda, Rossi 2009)
For further reference, consult our book, Bayesian Statistics and
Marketing by Rossi, Allenby and McCulloch (Wiley 2005) and Bayesian
Non- and Semi-Parametric Methods and Applications (Princeton U Press
2014).
2019-08-09 15:39:04 +00:00
wiz
6c4a7d76a7 finance/gnucash2: remove outdated version, use finance/gnucash instead. 2018-08-16 09:24:15 +00:00
khorben
63bb334ced Add bitcoin 2018-07-08 11:14:04 +00:00
minskim
3e5b291b54 finance/Makefile: Add py-pyfolio 2018-07-06 03:54:09 +00:00
minskim
82a88df368 Add QuantLib 2018-05-14 00:07:09 +00:00
minskim
994531f8b1 finance/Makefile: Add py-backtrader 2018-05-12 22:06:55 +00:00
wiz
4253bc2992 finance/Makefile: + gnucash2 2018-04-09 08:41:32 +00:00
minskim
6294dbd899 finance/Makefile: Add R-tseries 2018-03-07 19:23:25 +00:00
minskim
7402cb8357 finance/Makefile: Add R-fAsianOptions 2018-03-02 18:49:03 +00:00
minskim
7b127b1e8f "finance/Makefile: Add R-fOptions" 2018-03-02 18:38:22 +00:00
minskim
8fa6bf3a20 finance/Makefile: Add R-fBasics 2018-02-27 17:47:12 +00:00
minskim
285ed23d85 finance/Makefile: Add R-timeSeries 2018-02-26 17:17:32 +00:00
minskim
ade3614f92 finance/Makefile: Add R-quantmod 2018-02-04 23:41:56 +00:00
minskim
a06c46591a finance/Makefile: Add R-TTR 2018-02-04 23:40:29 +00:00
minskim
48472a8725 finance/Makefile: Add py-alpha_vantage 2018-01-31 19:13:49 +00:00
khorben
a6242dacec Add cpuminer 2017-10-01 15:08:10 +00:00
wiz
06bd0ca307 *: remove qt3 and the packages using it, including KDE3
Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html
2017-09-26 10:26:54 +00:00
minskim
8792545dfc finance/Makefile: Add py-alphalens 2017-09-16 21:32:14 +00:00
ryoon
0dfac2ddb7 Add homebank 2017-09-16 14:17:54 +00:00
minskim
15fd23f618 finance/Makefile: Add py-fecon235 2017-09-14 16:16:17 +00:00
minskim
2b6af951c2 finance/Makefile: Add py-empyrical 2017-09-13 16:12:15 +00:00
adam
d3de8ba7c3 The Braintree Python library provides integration access to the Braintree
Gateway.
2017-07-07 07:43:42 +00:00
jnemeth
4e6f7dd354 format 2017-03-16 05:23:38 +00:00
darcy
891596615f A Python library for accessing the Quickbooks API. 2017-03-15 18:41:42 +00:00
riastradh
c99855c7b3 Import ledger 3.1.1 from wip, with some tweaks as 3.1.1nb1.
- Fill text in DESCR.
- Use lang/python/tool.mk explicitly.
- Add options.mk for python option.  (Other extensions TBD.)
- Patch a misuse of editline.
2017-02-18 05:48:51 +00:00
jnemeth
234594af87 sort 2016-12-08 02:56:11 +00:00
marino
481d4a3546 finance: Hook in py-tryond-stock-supply-day (missing)
I can only catch the disintegration one entry at a time.  They are
coming from meta-pkgs/py-tryton-platform
2016-12-05 01:11:11 +00:00
marino
40811ee186 finance: Hook in py-tryond-account-dunning-letter properly 2016-12-05 00:56:21 +00:00
rodent
a71bc063ac It's time to make Tryton great again. This update is YUGE. There are 71
new packages. Most of which are the remaining modules of the Tryton
platform which weren't packaged. The others are dependencies of the new
modules. This was tested on FreeBSD and is based in large part on Richard
Palo's (richard@) work. This is the most recent release of the Tryton
platform, version 4.2. There's a very large list of changes from the 3.8
series we have in pkgsrc. If you're interested, those functional changes
can be found here:

http://www.tryton.org/posts/new-tryton-release-42.html
http://www.tryton.org/posts/new-tryton-release-40.html
2016-12-04 21:12:58 +00:00
richard
1ece019a76 Add finance/py-ofxparse
ofxparse is a parser for Open Financial Exchange (.ofx) format files.
OFX files are available from almost any online banking site, so they work
well if you want to pull together your finances from multiple sources.
Online trading accounts also provide account statements in OFX files.
2015-12-27 16:27:40 +00:00
richard
b86d646729 Updates and additions to release 3.6
details found here (http://www.tryton.org/posts/new-tryton-release-36.html)

    Major changes for the developer

        It is now allowed to have many times the same field in list/tree view.
        There is no more a datetime widget for list/tree, two columns with one
        widget date and one widget time should be used instead.

        A new field TimeDelta appears in this release to represent a duration. It
        replace the float_time widget which had some rounding issue. This new
        field is already used in the timesheet and project modules.

        The One2Many widget can be configured to use a Cartesian product with the
        selections of many values for Many2One or Reference fields.

        A method restore_history_before is added to ModelSQL which behaves like
        the existing restore_history but restore the records just before the datetime.

        The on_change methods have been migrated to a behaviour more consistent
        with the Active Record Pattern used in Tryton. Instead of returning a
        dictionary with the values to change, now the instance is directly changed.

        This allow to chain easily the on_change methods or reuse them in other
        methods reducing the duplication.

        The method save on ModelStorage is now a dualmethod which means that it
        can be called as usual as an instance method but also as a class method
        with a list of records. Saving many records at once this way improves the
        performance as the method will minimize the number of queries to the
        database and will validate the result by bunch.

        The Dict field received a translated method to create descriptors which
        translate the values or the keys like the same method on Selection field.

        It is now allowed to use the dotted notation in the order clause of a search.
        The ORM will automatically generate the needed joins.

        The API of the Report class has been reworked to improve the customization
        of the engine. The formatting methods are now more strict to prevent silent
        failure.

        The safe_eval (which was not sure to be safe) has been completely removed.
        In the places where the evaluated code was any way safe, the standard eval
        is used. For evaluated code from outside, a JSON notation is now used. Some
        utilities have been developed to ease the creation of JSON from XMl or in
        the views.

        A new kind of button has been added which works on non-saved record. They
        are quite similar to on_change but they are triggered by a click on a
        button instead of a change of field.

    Accounting

        A new method reverse_compute has been added to Tax which allow to compute
        the base amount from the taxed amount.
        The sign of the second currency amount is enforced to be the same as
        debit - credit.
        The analytic account management has been reworked to use a really One2Many
        instead of the pseudo-field. This simplification was possible thanks to the
        recent new features like the usage of Reference field on One2Many.

    Party

        The vat number is now stored in its compact format.

    Product

        The number of decimal for internal price calculations is now a configuration
        parameter price_decimal. This parameter is used everywhere to ensure
        consistency between all modules.

    Purchase/Sale

        Their lines support both mixed invoice type (Invoice vs Credit Note) per
        line when computing the invoiced quantity.

    Stock

        A new state staging is added to the move. Such state doesn't impact at all
        the computation of the stock level. It is used for supply on sale, to
        create moves in advance.
        Inactive products are still computed for the stock level.
        The computation of assigned move has been improved to take only in
        consideration outgoing move assigned not the incoming. This result in a
        less optimistic for the stock level and thus prevent to assign a move with
        an incoming one that is just assigned but not yet done.
        Forecasts are now automatically deactivated when their period is in the past.

    pkgsrc related updates:
    update to tryton-3.6.0
    update to trytond-3.6.0 including UTC check patch for SunOS
    update trytond modules to latest 3.6
    add meta-pkgs/py-tryton-platform
    add misc/py-trytond-party-relationship
    add misc/py-trytond-product-attribute
    add misc/py-trytond-production
    add misc/py-trytond-stock-inventory-location
    add misc/py-trytond-stock-product-location
    add finance/py-trytond-account-invoice-line-standalone
    add finance/py-trytond-account-invoice-history
    add finance/py-trytond-account-invoice-stock
    add finance/py-trytond-account-payment-clearing
    add finance/py-trytond-account-stock-continental
    add finance/py-trytond-analytic-invoice
    add finance/py-trytond-analytic-purchase
    add finance/py-trytond-analytic-sale
    add finance/py-trytond-product-price-list
    add finance/py-trytond-product-cost-fifo
    add finance/py-trytond-product-cost-history
    add finance/py-trytond-purchase
    add finance/py-trytond-purchase-invoice-line-standalone
    add finance/py-trytond-sale
    add finance/py-trytond-stock-supply
    add time/py-trytond-company-work-time
2015-08-24 14:49:41 +00:00
fhajny
afe02f21a7 Add magento 2014-12-12 12:56:10 +00:00
richard
4c71a8db35 Add Tryton module analytic_account as finance/py-trytond-analytic-account
Update by consequence devel/py-trytond/Makefile.common
2014-09-10 16:03:48 +00:00
richard
c9b7659bc7 Update trytond modules using py-trytond/Makefile.common while adding
new leaf modules:
py-trytond-account-asset
py-trytond-account-payment
py-trytond-account-payment-sepa
py-trytond-account-statement
py-trytond-bank
ok wiz@
2014-06-25 06:03:36 +00:00
richard
6fe6dc8bb6 import finance/py-trytond-account-fr 2014-05-15 05:33:45 +00:00
rodent
4561b121ec +py-python-bitcoinlib 2014-05-08 10:14:56 +00:00
rodent
b846fd4e3f +py-stripe 2014-02-20 00:09:23 +00:00
rodent
b14215cf5c +py-trytond-account-invoice 2014-02-01 19:46:29 +00:00
rodent
4992c516c6 +py-trytond-account-product 2014-02-01 19:37:43 +00:00
rodent
6b82e2576d +py-trytond-account 2014-02-01 19:14:58 +00:00
rodent
55bacd7318 +py-trytond-currency 2014-02-01 18:56:05 +00:00
richard
4b4b361524 Python module to validate VAT numbers. VAT means "Value Added Tax". 2013-07-20 16:48:46 +00:00