This course will help you to expertise the usage of Python in Data Science world.
Carter your Python Knowledge so that it can be utilized to get the Insights of Data using Methodologies and Techniques of Data Science...
Objective:
Understand the concepts of Data science and Python
You will be able to use Python in Discovering Data.
You will have an idea of Statistical and Analytical methods to deal with huge data sets.
You will gain an expertise on Regular Expressions, looping functions and concepts of Object Oriented Programming.
You will be able to create business algorithms and data models using Python and it's techniques.
Work on Real-life Projects will help you to get a practical experience of real scenarios of IT Industry.
Start learning Python for Data Science from basics to advance levels here...
https://goo.gl/070wXw
PyDev 5.4.0 Released
Release Highlights:
-------------------------------
* **Important** PyDev now requires Java 8 and Eclipse 4.6 (Neon) onwards.
* PyDev 5.2.0 is the last release supporting Eclipse 4.5 (Mars).
* If you enjoy PyDev, please show your appreciation through its Patreon
crowdfunding: https://www.patreon.com/fabioz.
* **Initial support for Python 3.6**
* Code analysis for expressions on f-strings.
* Syntax highlighting on f-strings.
* Handling of underscores in numeric literals.
* Parsing (but still not using) variable annotations.
* Parsing asynchronous generators and comprehensions.
* **Launching**
* Improved console description of the launch.
* Support launching files with **python -m module.name** (instead of
python module/name.py). **Note**: Has to be enabled at **Preferences >
PyDev > Run**.
* **Debugger**
* Shows return values (may be disabled on preferences > PyDev > Debug).
* When the user is waiting for some input, it'll no longer try to
evaluate the entered contents.
* Fix for multiprocess debugging when the debugger is started with a
programmatic breakpoint (pydevd.settrace).
* **Unittest integration**
* Bugfixes in the pytest integration related to unicode errors.
* unittest subtests are now properly handled in the PyDev unittest
runner.
* The currently selected tests are persisted.
* **Others**
* In Linux, when applying a completion which would automatically add an
import, if the user focuses the completion pop-up (with Tab) and applies
the completion with Shift+Enter, a local import is properly made.
What is PyDev?
---------------------------
PyDev is an open-source Python IDE on top of Eclipse for Python, Jython and
IronPython development.
It comes with goodies such as code completion, syntax highlighting, syntax
analysis, code analysis, refactor, debug, interactive console, etc.
Details on PyDev: http://pydev.org
Details on its development: http://pydev.blogspot.com
What is LiClipse?
---------------------------
LiClipse is a PyDev standalone with goodies such as support for Multiple
cursors, theming, TextMate bundles and a number of other languages such as
Django Templates, Jinja2, Kivy Language, Mako Templates, Html, Javascript,
etc.
It's also a commercial counterpart which helps supporting the development
of PyDev.
Details on LiClipse: http://www.liclipse.com/
Cheers,
--
Fabio Zadrozny
------------------------------------------------------
Software Developer
LiClipse
http://www.liclipse.com
PyDev - Python Development Environment for Eclipse
http://pydev.orghttp://pydev.blogspot.com
PyVmMonitor - Python Profiler
http://www.pyvmmonitor.com/
vulture - Find dead code
========================
Vulture finds unused classes, functions and variables in your code.
This helps you cleanup and find errors in your programs. If you run it
on both your library and test suite you can find untested code.
Due to Python's dynamic nature, static code analyzers like vulture are
likely to miss some dead code. Also, code that is only called
implicitly may be reported as unused. Nonetheless, vulture can be a
helpful tool for higher code quality.
Download
========
http://pypi.python.org/pypi/vulture
Features
========
* fast: uses static code analysis
* lightweight: only one module
* tested: tests itself and has 100% test coverage
* complements pyflakes and has the same output syntax
* supports Python 2.6, 2.7 and 3.x
News
====
* Use the system's default encoding when reading files.
* Report syntax errors instead of aborting.
Cheers,
Jendrik
Dear fellow Pythonistas,
I’m very happy to announce attrs 16.3.0, the Python library the makes you love writing classes again! If you need a refresher why you should use attrs, have a look at “The One Python Library Everyone Needs” <https://glyph.twistedmatrix.com/2016/08/attrs.html> written by no one less than Glyph himself.
It’s still 100% free of magic but 100% full of convenience!
This version comes with two major new features I’d like to point out:
1. Attribute Metadata
================
There is a much nicer way to extend attrs now by using attribute metadata. If you’re thinking Golang’s struct tags, it’s close!
However instead of exposing them to the users, it’s much nicer to *wrap* attrs and use metadata to bring the declarative approach to new areas.
For example this code will automatically load its configuration from env variables (as per 12Factor App: <https://12factor.net/config>):
```
@app_config(prefix="APP", vault_prefix="WHOIS_{env}")
class WhoisConfig:
@app_config
class Prometheus:
address = env_var(default="127.0.0.1")
port = env_var(default="0")
consul_token = env_var_from_vault()
env = env_var()
prometheus = env_var_group(Prometheus)
if __name__ == '__main__':
ac = environ_to_app_config(WhoisConfig)
print(ac)
```
Running it gives you:
```
$ env APP_ENV=dev APP_PROMETHEUS_PORT=7000 SECRET_WHOIS_DEV_APP_PROMETHEUS_CONSUL_TOKEN=abc python app.py
WhoisConfig(env='dev', prometheus=Prometheus(address='127.0.0.1', port='7000', consul_token='abc'))
```
(If you’re interested in the implementation of app_config, env_var, env_var_from_vault, env_var_group, and environ_to_app_config, have a look at <https://gist.github.com/hynek/78fef47fea3cbc6b683cd8ab0fb68567> – it’s 87 LoC including empty lines. I may or may not release a PyPI package one day)
2. Post Initialization Hooks
====================
This is an often requested feature (just look at all those enthusiastic bikeshed painters: <https://github.com/hynek/attrs/issues/68>) and allows you to define code that runs after the generated __init__ method.
This should make life easier when subclassing third party classes or if you want to derive attributes from others.
Full Changelog
===========
- Attributes now can have user-defined metadata which greatly improves attrs's extensibility. #96
- Allow for a __attrs_post_init__ method that -- if defined -- will get called at the end of the attrs-generated __init__ method. #111
- Add @attr.s(str=True) that will optionally create a __str__ method that is identical to __repr__. This is mainly useful with Exceptions and other classes that rely on a useful __str__ implementation but overwrite the default one through a poor own one. Default Python class behavior is to use __repr__ as __str__ anyways.
If you tried using attrs with Exceptions and were puzzled by the tracebacks: this option is for you.
- Don't overwrite __name__ with __qualname__ for attr.s(slots=True) classes. #99
Links
====
PyPI: <https://pypi.org/project/attrs/>
Documentation: <http://attrs.org/>
GitHub: <https://github.com/hynek/attrs>
Cheers,
Hynek
Hi all,
i'm pleased to announce that JavaScripthon 0.5 has been released to
PyPI. JavaScrypthon can translate a subset of Python 3.5 code to ES6
JavaScript producing beautiful and lean code, while supporting some of
the latest Python features.
Changelog
(https://github.com/azazel75/metapensiero.pj/blob/master/CHANGES.rst):
- translate ``tmpl("A string with js ${interpolation}")`` to ES6 template
literals;
- preliminary support to translate names like ``d_foo`` and ``dd_bar`` to
``$foo`` and ``$$bar``;
- addded translation of the ``assert`` statement;
- fixed a bug in ``try...except...finally`` statement when there's no
``except`` section;
- added translation for ``foo is not bar`` that seems to have dedicated ast
node;
- if the function is defined in a method but starts with ``fn_`` do not convert
it to an arrow function. Useful to *not* maintain ``this``;
- added translation for ``callable`` and ``hasattr/getattr/setattr``;
- updated for loops to support more than one target, so now its possible to
write loops like ``for k, v in iterable(a_map):``;
- updated documentation;
- added a new cli option ``-s`` to translate source from the command line or
the standard input;
- fixed a pair of bugs on sourcemaps;
- added a new cli option ``--eval`` to also evaluate the produced JavaScript
using the embedded interpreter;
- added a new cli option ``--dump-ast`` to print out the ast tree of the
passed in string;
- added sorting to the rendered snippets/decorators/assignments so that their
order does not change at every ricompilation;
- do not re-declare variables declare in outer scopes;
- updated BabelJS to version 6.18.1;
- allow to import modules with dashes inside by using dunder-inside-words
notation (``foo__bar`` becomes ``foo-bar``);
- reuse JavaScript interpreter context to speedup translation;
- update ``in`` operator to support ES6 collections;
- added support for method and class decorators;
- added support for class properties and descriptors;
- add ``for`` loop over JS iterables;
- allow to loop over inherited properties;
- fix a bug on ``type()`` translation;
- support for ``range()`` steps;
- add support for generator functions and ``yield`` and ``yield from``
expressions;
- optionally load babel-polyfill before evaluating code;
- fix a bug on sourcemaps having wrong references when there are documentation
elements;
- translate ``__get__()`` and ``__set__()`` to to JS equivalents;
- implement ``dict(foo).update(bar)`` and ``dict(foo).copy``;
- documentation improvements;
On behalf of Twisted Matrix Laboratories, I am honoured to announce the release of Twisted 16.5!
The highlights of this release are:
- The ability to use "python -m twisted" to call the new `twist` runner,
- More reliable tests from a more reliable implementation of some things, like IOCP,
- Fixes for async/await & twisted.internet.defer.ensureDeferred, meaning it's getting closer to prime time!
- ECDSA support in Conch & ckeygen (which has also been ported to Python 3),
- Python 3 support for Words' IRC support and twisted.protocols.sip among some smaller modules,
- Some HTTP/2 server optimisations,
- and a few bugfixes to boot!
For more information, check the NEWS file (link provided below).
You can find the downloads at <https://pypi.python.org/pypi/Twisted <https://pypi.python.org/pypi/Twisted>> (or alternatively <http://twistedmatrix.com/trac/wiki/Downloads <http://twistedmatrix.com/trac/wiki/Downloads>>). The NEWS file is also available at <https://github.com/twisted/twisted/blob/twisted-16.6.0/NEWS <https://github.com/twisted/twisted/blob/twisted-16.6.0/NEWS>>.
Many thanks to everyone who had a part in this release - the supporters of the Twisted Software Foundation, the developers who contributed code as well as documentation, and all the people building great things with Twisted!
Twisted Regards,
Amber Brown (HawkOwl)
Hi all,
I'm delighted to announce the release of Sphinx 1.4.9, now available on
the Python package index at <http://pypi.python.org/pypi/Sphinx>.
It includes about 11 bug fixes for the 1.4.8 release series.
For the full changelog, go to
<http://www.sphinx-doc.org/en/stable/changes.html>.
Thanks to all collaborators and contributers!
What is it?
===========
Sphinx is a tool that makes it easy to create intelligent and beautiful
documentation for Python projects (or other documents consisting of
multiple reStructuredText source files).
Website: http://sphinx-doc.org/
IRC: #sphinx-doc on irc.freenode.net
Enjoy!
--
Takeshi KOMIYA
Hi All -
I'm happy to announce Passlib 1.7.0 has been released.
This version has been a while in coming, and has a lot of great improvements.
* Argon2 & Scrypt hash support
* TOTP support
* PBKDF2 now has faster builtin backend, and utilizes other backends where available
* Lots of API cleanups and internal refactoring
* HtpasswdFile reader is now more flexible, and with improved security options.
* Refreshed documentation
See the release notes <http://passlib.readthedocs.io/en/stable/history/1.7.html> for details!
- Eli Collins
On behalf of the Python development community and the Python 3.6 release
team, I'm pleased to announce the availability of Python 3.6.0b4. 3.6.0b4
is the last planned beta release of Python 3.6, the next major release of
Python.
Among the new major new features in Python 3.6 are:
* PEP 468 - Preserving the order of **kwargs in a function
* PEP 487 - Simpler customization of class creation
* PEP 495 - Local Time Disambiguation
* PEP 498 - Literal String Formatting
* PEP 506 - Adding A Secrets Module To The Standard Library
* PEP 509 - Add a private version to dict
* PEP 515 - Underscores in Numeric Literals
* PEP 519 - Adding a file system path protocol
* PEP 520 - Preserving Class Attribute Definition Order
* PEP 523 - Adding a frame evaluation API to CPython
* PEP 524 - Make os.urandom() blocking on Linux (during system startup)
* PEP 525 - Asynchronous Generators (provisional)
* PEP 526 - Syntax for Variable Annotations (provisional)
* PEP 528 - Change Windows console encoding to UTF-8
* PEP 529 - Change Windows filesystem encoding to UTF-8
* PEP 530 - Asynchronous Comprehensions
Please see "What’s New In Python 3.6" for more information:
https://docs.python.org/3.6/whatsnew/3.6.html
You can find Python 3.6.0b4 here:
https://www.python.org/downloads/release/python-360b4/
Beta releases are intended to give the wider community the opportunity
to test new features and bug fixes and to prepare their projects to
support the new feature release. We strongly encourage maintainers of
third-party Python projects to test with 3.6 during the beta phase and
report issues found to bugs.python.org as soon as possible. While the
release is feature complete entering the beta phase, it is possible that
features may be modified or, in rare cases, deleted up until the start
of the release candidate phase (2016-12-05). Our goal is have no changes
after rc1. To achieve that, it will be extremely important to get as
much exposure for 3.6 as possible during the beta phase. Please keep in
mind that this is a preview release and its use is not recommended for
production environments
The next pre-release of Python 3.6 will be 3.6.0rc1, the release candidate,
currently scheduled for 2016-12-05. The official release of Python 3.6.0
is currently scheduled for 2016-12-16. More information about the release
schedule can be found here:
https://www.python.org/dev/peps/pep-0494/
--
Ned Deily
nad(a)python.org -- []
PyCA cryptography 1.6 has been released to PyPI. cryptography is a package
which provides cryptographic recipes and primitives to Python developers.
Our goal is for it to be your "cryptographic standard library". We support
Python 2.6-2.7, Python 3.3+, and PyPy.
Changelog (https://cryptography.io/en/latest/changelog/):
* Deprecated support for OpenSSL 1.0.0. Support will be removed in
cryptography 1.7.
* Replaced the Python-based OpenSSL locking callbacks with a C version to
fix a potential deadlock that could occur if a garbage collection cycle
occurred while inside the lock.
* Added support for BLAKE2b and BLAKE2s when using OpenSSL 1.1.0.
* Added signature_algorithm_oid support to Certificate.
* Added signature_algorithm_oid support to CertificateSigningRequest.
* Added signature_algorithm_oid support to CertificateRevocationList.
* Added support for Scrypt when using OpenSSL 1.1.0.
* Added a workaround to improve compatibility with Python application
bundling tools like PyInstaller and cx_freeze.
* Added support for generating a random_serial_number().
* Added support for encoding IPv4Network and IPv6Network in X.509
certificates for use with NameConstraints.
* Added public_bytes() to Name.
* Added RelativeDistinguishedName
* DistributionPoint now accepts RelativeDistinguishedName for
relative_name. Deprecated use of Name as relative_name.
* Name now accepts an iterable of RelativeDistinguishedName. RDNs can be
accessed via the rdns attribute. When constructed with an iterable of
NameAttribute, each attribute becomes a single-valued RDN.
* Added derive_private_key().
* Added support for signing and verifying RSA, DSA, and ECDSA signatures
with Prehashed digests.
Due to the volume of changes in this release the switch to bundling OpenSSL
1.1.0 in the macOS and Windows wheels has been pushed back to version 1.8.
1.7 is tentatively planned to be out in the next 2-3 weeks with some large
features that didn't make the cut for this release.
-Paul Kehrer (reaperhulk)