SwiftWinds
bcd0be47d0
Add PyFunctional mapping
...
Maps `functional` to `pyfunctional`. Fixes #232 .
2021-03-13 14:46:02 -08:00
Paweł Kalemba
469baefc1e
Add discord mapping
...
Map discord to discord.py
2020-12-10 10:04:17 +01:00
John Kruper
30d8fab76c
Add pyAFQ Mapping
2020-11-10 10:27:02 -08:00
Abhishek Kumar Singh
fc720f18bb
Fixed#133
...
Sorted `imports` based on `lowercase` package's `name`, similar to `pip freeze`.
2020-06-14 00:20:26 +05:30
Jon Banafato
3f06f4375a
Fix flake8 error for latest release
2020-05-18 19:21:05 -04:00
Pat Myron
7b2b5e9e58
mapping aws-sam-translator
...
https://pypi.org/project/aws-sam-translator/
https://github.com/awslabs/serverless-application-model
2020-04-21 11:17:49 -07:00
AlexPHorta
2022f25ae9
Working on issue #88
2020-02-27 00:59:02 -03:00
Hari Sekhon
a4bd5b552a
fixed MySQL + krbV mappings to be reversed
2020-02-18 13:59:50 +00:00
Vadim Kravcenko
6ca1f42d4e
Merge pull request #111 from yonatanp/master
...
bugfix: f.close() only required if open succeeded
2019-11-14 11:43:11 +01:00
Vadim Kravcenko
05a28a461f
Merge pull request #143 from andrew-vant/patch-1
...
Add patricia-trie mapping
2019-11-14 11:42:32 +01:00
Vadim Kravcenko
2d3fd405e4
Merge pull request #166 from raxod502/rr-mpv-and-portalocker
...
Fix mappings for python-mpv and portalocker
2019-11-14 11:39:17 +01:00
Vadim Kravcenko
d37bfbccce
Merge pull request #175 from PatMyron/patch-1
...
mapping cfn-lint
2019-11-14 11:38:29 +01:00
Vadim Kravcenko
e9731a9632
Merge pull request #173 from HariSekhon/mysql-python
...
added MySQL-python and krbV mappings
2019-11-14 11:37:06 +01:00
Vadim Kravcenko
591c907b62
Merge pull request #153 from invious/master
...
deduped, sorted, and added typing package to standard library file
2019-11-14 11:35:10 +01:00
Vadim Kravcenko
6a49451471
Merge pull request #167 from raxod502/feat/setuptools
...
Add setuptools to stdlib
2019-11-14 11:34:13 +01:00
Vadim Kravcenko
e76ad4dde4
Merge pull request #165 from raxod502/feat/pysynth-and-slack
...
Add mappings for PySynth and slackclient
2019-11-14 11:33:54 +01:00
Pat Myron
a11aa924b3
mapping cfn-lint
...
https://github.com/aws-cloudformation/cfn-python-lint/
2019-11-03 11:22:32 -08:00
Hari Sekhon
0cad380111
added krbV -> krbv mapping
2019-10-21 15:33:59 +01:00
Hari Sekhon
deaf895b1e
added MySQL-python mapping
2019-10-21 15:14:24 +01:00
Niti Santikul
71fc2dc90c
support omit package output version
2019-10-21 00:53:03 +07:00
Radon Rosborough
d0d9fe58e2
Also add pkg_resources
2019-08-08 14:51:27 -07:00
Radon Rosborough
443d9e595b
Add setuptools to stdlib
2019-08-08 11:24:17 -07:00
Radon Rosborough
1753e1ff41
Fix mappings for python-mpv and portalocker
2019-08-08 11:16:10 -07:00
Radon Rosborough
21cac5723b
Add mappings for PySynth and slackclient
2019-08-02 14:30:48 -07:00
Aymon Fournier
8cc70869b0
deduped, sorted, and added typing package to standard library file
2019-01-28 17:51:33 -05:00
Andrew Vant
3daaebfa17
Add patricia-trie mapping
...
For this package: https://pypi.org/project/patricia-trie/ . Old, but I think it's the
only pure-python trie implementation on pypi.
2018-11-20 15:20:12 -05:00
Jon Banafato
15208540da
Merge pull request #129 from answerquest/patch-1
...
Add Cryptodome:pycryptodomex
2018-11-08 22:52:24 -05:00
Tyler Hunt
ea731aab13
added a mapping for django-prefetch -> prefetch
2018-10-19 10:36:52 -06:00
Nikhil VJ
e4817bc68d
Add Cryptodome:pycryptodomex
...
Ref: https://github.com/bndr/pipreqs/issues/66#issuecomment-415642021 This is a wholly separate package from pycryptodome (which replaced pycrypto in #124 and uses the namespace Crypto in import statments). This uses the namespace `Cryptodome` (is that what we call the parent name of module when importing?)
2018-08-24 09:20:30 +05:30
Vadim Kravcenko
0b8c38ce41
Merge pull request #124 from answerquest/patch-1
...
Replace pycrypto with pycryptodome
2018-08-23 17:25:26 +02:00
Nikhil VJ
abd57602fe
Replace pycrypto with pycryptodome
...
Replace pycrypto with pycryptodome. See https://github.com/bndr/pipreqs/issues/66 for details.
2018-04-04 13:56:19 +05:30
Nick Gustafson
712879a7be
fix sorting bug in get_pkg_names for consistency with pip freeze
2018-02-08 10:11:16 -08:00
Nick Gustafson
638e2f1046
fix oauth2client bug in mapping
2018-02-08 10:10:54 -08:00
yonatanp
a7ad636dab
bugfix: f.close() only required if open succeeded
...
when open fails, instead of raising the original error, the "f.close()" was erroring in the final clause.
2018-01-05 11:33:47 +02:00
Jon Banafato
5707a39df6
Merge pull request #101 from jonafato/unified-output-function
...
Consolidate logic for writing to a file and to stdout
2017-11-16 13:47:03 -05:00
Jon Banafato
aae6c61f09
Clean up set and file usage in get_all_imports
...
- Move logic that doesn't need to be inside of file context managers
outside
- Remove redundant `set` and `list` function calls
2017-10-26 16:36:12 -04:00
Jon Banafato
84b2e37707
Simplify get_pkg_names function
...
- Hoist non-file-reading logic outside of the file context manager
- Use a dict instead of a list for faster / more Pythonic lookups
- Use a set to simplify the add / append logic
- Move import sorting from `get_all_imports` to `get_pkg_names` for
to account for set ordering. This change may also affect #89 .
- Add a docstring
2017-10-26 12:16:32 -04:00
Jon Banafato
4b2ad2dc41
[WIP] Consolidate logic for writing to a file and to stdout
2017-10-24 16:58:35 -04:00
Jon Banafato
e88b5ab19c
Fix flake8 errors
2017-10-24 15:14:58 -04:00
Jon Banafato
c80d06593d
Support optional <path> argument
...
This change makes the <path> argument optional, defaulting to the
current working directory if omitted.
---
Ideally, this would have been accomplished via docopt, but optional
positional arguments with defaults are not supported at the moment [1, 2].
[1] https://github.com/docopt/docopt/issues/214
[2] https://github.com/docopt/docopt/issues/329
2017-10-22 23:45:16 -04:00
Jon Banafato
755e20196a
Merge pull request #85 from zmwangx/correct-arrow-mapping
...
fix(pipreqs/mapping): correct arrow mapping
2017-10-21 14:13:38 -04:00
Zhiming Wang
d8c94d1690
fix(pipreqs/mapping): correct arrow mapping
...
https://pypi.org/project/arrow/ is https://github.com/crsmithdev/arrow/ , the
real arrow.
https://pypi.org/project/arrow-fatisar/ is https://github.com/fatisar/arrow ,
a completely random, outdated fork.
2017-10-21 14:05:47 -04:00
Jon Banafato
ab04f1276e
Merge pull request #84 from rspencer01/master
...
Follow symbolic linked directories
2017-10-20 15:41:27 -04:00
Robert Spencer
77c865253c
Follow symbolic linked directories
...
This makes pipreqs dive into directories that are symlinks as Python
recognises these. If symlinks are not followed, then the requirements
will be incorrect.
We also add a command line option to disable following of symlinks if
need be.
2017-08-31 23:17:31 +02:00
Jon Banafato
42d9f03c79
Add mapping for python-decouple
2017-08-01 11:53:37 -04:00
Vadim Kravcenko
22e80c27c2
Merge pull request #80 from kxrd/fix-issue-74
...
Exclude concurrent{,.futures} from stdlib if py2
2017-06-30 17:37:40 +02:00
Vadim Kravcenko
9d02b40bc8
Version bump
2017-06-30 14:27:07 +02:00
Vadim Kravcenko
ac4749681c
Merge pull request #77 from kxrd/issue-18
...
Implement '--clean' and '--diff'
2017-06-30 14:20:54 +02:00
Jeep Kiddee
8106376b5e
Add dotenv to mapping list
2017-06-22 18:19:05 +07:00
kxrd
254e1cedcb
Improve variable module_version
2017-06-13 23:10:14 +02:00
kxrd
e7b8ddf72d
Replace with statement with a try/except/else/finally block to narrow down problem in the future
2017-06-13 22:22:27 +02:00
kxrd
54be2d1c24
Complete function clean
2017-06-13 22:03:21 +02:00
kxrd
d3efb942d5
Stop exctracting parameters in file, just return list of modules
2017-06-13 21:55:12 +02:00
kxrd
ac6ce860d0
Improve function diff docstring, begin function clean
2017-06-13 01:10:47 +02:00
kxrd
7549b1c416
Add and implement function diff, improve inline comments in function parse_requirements
2017-06-10 21:24:39 +02:00
kxrd
a78203dc2b
Improve function parse_requirements docstring
2017-06-10 21:22:18 +02:00
kxrd
882a0d3ec3
Add docstring to function parse_requirements
2017-06-10 20:52:17 +02:00
kxrd
d8b497ea91
Rename function clean to compare_modules, have it return a tuple of modules not imported, add docstring
2017-06-10 20:43:54 +02:00
kxrd
1055a7a28b
Add colon to error output for consistency
2017-06-10 20:02:43 +02:00
kxrd
888537a898
Improve except block in function parse_requirements
2017-06-10 20:01:42 +02:00
kxrd
b048c55fe6
Add clean
function
2017-06-02 22:30:17 +02:00
kxrd
b6c53c6b02
Begin function clean
2017-06-02 21:16:17 +02:00
kxrd
d463b92810
Return tuple consisting of modules,parameters instead of a concatenated list
2017-06-02 21:13:47 +02:00
kxrd
cdb82c6d9b
Switch out print statement against logging.error
2017-06-02 20:13:51 +02:00
kxrd
3d87f21392
Add file_
parameter to function parse_requirements
, implement a try-except block in function parse_requirements
2017-06-02 19:59:59 +02:00
kxrd
0886898d8d
Fix dict key:value in function parse_requirements()
2017-06-02 18:04:02 +02:00
kxrd
270f0e9933
Add function parse_requirements
2017-06-02 18:00:30 +02:00
kxrd
0b0f54a3de
Exclude concurrent{,.futures} from stdlib if py2
2017-06-01 08:22:36 +02:00
Vadim Kravcenko
3e6c1547dc
Version bump
2017-04-20 13:52:57 +02:00
L
243e6e6833
BUG: remove package/version duplicates
2017-04-17 11:33:06 -04:00
Vadim Kravcenko
1a990b52d5
refactor(pipreqs): pep8
2017-03-20 20:51:34 +01:00
Vadim Kravcenko
714393fcea
missing parameter for proxy
2016-12-13 15:28:18 +01:00
Vadim Kravcenko
0f70dcc33b
Version bump
2016-12-13 15:10:26 +01:00
Antti Kaihola
c69067819a
Fixes #56 : The --pypi-server option now accepts an URL
2016-12-13 16:06:06 +02:00
UTAGAWA Kiki
f31ad89350
Implement --print to output list of requirements to stdout
2016-11-22 00:10:10 +09:00
Vadim Kravcenko
345a275b3a
Bump Version
2016-07-14 19:09:00 +02:00
Vadim Kravcenko
63be6bb253
fix(pipres): Add dependency even if version was not found
2016-07-14 18:57:43 +02:00
Vadim Kravcenko
d93319ccf1
fix(pipres): ignore .tox directory #44
2016-07-14 18:55:13 +02:00
Vadim Kravcenko
0799301dee
Bump Version
2016-06-02 22:23:43 +02:00
Vadim Kravcenko
c7d527de84
Bump version
2016-02-10 19:09:26 +01:00
Dmitry Pribysh
36efe7e219
Make pipreqs not write duplicated lines to requirements.txt
2016-02-10 20:48:58 +03:00
Vadim Kravcenko
96a76f58c0
Version bump
2016-02-05 18:00:57 +01:00
Vadim Kravcenko
075436d8e1
fix(pipreqs): allow comma-separated --ignore parameter
2016-02-05 18:00:34 +01:00
nrhine1
c888100470
added ignore option
2016-02-05 10:57:26 -05:00
Vadim Kravcenko
8b7a9815d9
Version bump
2016-01-28 22:06:44 +01:00
Kay Sackey
bc5cd169ec
Python 3 Compatability
2016-01-28 15:05:04 -05:00
Kay Sackey
2059626583
Passing Tests
...
Also added test documentation.
The changes to the tests were necessary as AST walking will retrieve
all valid dependencies and fail on syntactically incorrect .py files.
2016-01-28 15:01:39 -05:00
Kay Sackey
415ede7691
Cleanup
...
Moved the import statement to the top of the page where it belongs
2016-01-28 01:08:38 -05:00
Kay Sackey
60983f0fde
Walk Abstract Syntax Tree to find imports
...
Rationale: Using regex means that you can only find the imports that are at the top of the page without any spaces between them. There's likely other issues, but that was the one that bit me.
Caveat: Old method would parse files with broken syntax. This one will not.
2016-01-28 01:04:58 -05:00
Vadim Kravcenko
5930fdde61
Version bump
2016-01-20 09:38:41 +01:00
Vadim Kravcenko
d9434a5ac9
fix(pipreqs): correct regex for docstring
2016-01-20 09:36:58 +01:00
Vadim Kravcenko
5a01ec01e9
Bump version
2016-01-12 22:36:02 +01:00
Vadim Kravcenko
a8b1481886
improve(pipreqs/mapping): add more mapping of packages
...
whose import names are different from package names
2016-01-12 22:32:53 +01:00
Vadim Kravcenko
e984da46a5
fix(pipreqs/mapping): add picklefield mapping
2016-01-11 19:36:42 +01:00
Vadim Kravcenko
be1d8dfe58
bump version
2015-12-09 14:22:35 +01:00
Vadim Kravcenko
6a2c266422
fix(pipreqs.py): add new line between usage and option, https for proxy
2015-12-09 14:20:23 +01:00
Vadim Kravcenko
5ce8e7c0dd
version bump
2015-12-04 21:05:31 +01:00
Vadim Kravcenko
c29abe5387
fix(pipreqs.py): clarify about proxy environment variables
2015-12-04 21:04:59 +01:00
Vadim Kravcenko
29d1405a0c
bump version
2015-12-04 20:42:22 +01:00
Vadim Kravcenko
1ee081454b
fix(pipreqs.py): remove ''' and """ comments before going through imports
2015-12-04 20:40:38 +01:00