Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #p
RSS: #python

#python

  • #python3
  • #python_3
  • #python_2.6
  • #python_virtualenv
  • #python’s
  • #python-
  • #python.org
0 | 25 | 50 | 75 | 100 | 125 | 150 | 175 | 200 | ... | 250
  • @debugpoint_com
    DebugPoint.com @debugpoint_com CC BY-SA 13/01/2023

    How to Install Python on Windows [Beginner’s Guide]
    ▻https://www.debugpoint.com/install-python-windows

    https://www.debugpoint.com/wp-content/uploads/2023/01/pyeinhead.jpg

    #python

    DebugPoint.com @debugpoint_com CC BY-SA
    Écrire un commentaire
  • @afnic
    AFNIC @afnic 31/10/2022

    Utiliser l’API de .fr en Python (épisode 2 sur 4) ▻https://www.afnic.fr/observatoire-ressources/papier-expert/utiliser-lapi-de-fr-en-python-2-4

    Using the .fr API with Python (episode 2 of 4) ▻https://www.afnic.fr/en/observatory-and-resources/expert-papers/using-the-fr-api-with-python-2-4

    #Afnic #PointFR #DotFR #Python

    AFNIC @afnic
    Écrire un commentaire
  • @b_b
    b_b @b_b PUBLIC DOMAIN 21/10/2021
    4
    @biggrizzly
    @ericw
    @cy_altern
    @tofulm
    4

    X-VR-SPAMCAUSE decoder
    ▻https://gist.github.com/lkraider/9530798a695586fc1580d0728966f6f0

    Un petit script #python pour décoder l’entête X-VR-SPAMCAUSE des #mails marqués comme #SPAM, bien utile car tous les outils en ligne à ce sujet ne sont plus disponibles cf ▻https://wiki.visionduweb.fr/index.php?title=Installer_Exim#D.C3.A9crypter_le_contenu_de_la_vari

    def decode(msg):
       text = []
       for i in range(0, len(msg), 2):
           text.append(unrot(msg[i: i + 2]))
       return str.join('', text)


    def unrot(pair, key=ord('x')):
       offset = 0
       for c in 'cdefgh':
           if c in pair:
               offset = (ord('g') - ord(c)) * 16
               break
       return chr(sum(ord(c) for c in pair) - key - offset)

     
    if __name__ == '__main__':
       import sys
       print(decode(sys.argv[1]))
    b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @b_b
    b_b @b_b PUBLIC DOMAIN 26/08/2021
    7
    @rastapopoulos
    @arno
    @kent1
    @marcimat
    @gblin
    @7h36
    @nicolas2
    7

    danielgatis/rembg: Rembg is a tool to remove images background.
    ▻https://github.com/danielgatis/rembg

    Can remove the background from a remote image, a local file or all images in a folder.

    https://raw.githubusercontent.com/danielgatis/rembg/master/examples/girl-2.jpg https://raw.githubusercontent.com/danielgatis/rembg/master/examples/girl-2.out.png

    #python #images_background #détourage #cli

    b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @b_b
    b_b @b_b PUBLIC DOMAIN 26/08/2021
    1
    @gblin
    1

    Brython
    ▻https://brython.info

    Brython is designed to replace Javascript as the scripting language for the Web. As such, it is a #Python 3 implementation (you can take it for a test drive through a web console), adapted to the #HTML5 environment, that is to say with an interface to the #DOM objects and events.

    Du python dans le navigateur...

    <html>
    <head>
       <meta charset="utf-8">
       <script type="text/javascript"
           src="https://cdn.jsdelivr.net/npm/brython@3.9.5/brython.min.js">
       </script>
    </head>
    <body onload="brython()">
    <script type="text/python">
       from browser import document
       document <= "Hello !"
    </script>
    </body>
    </html>

    ▻https://brython.info/static_tutorial/en/index.html

    b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 22/01/2021

    debian - How to install Python 3.6? - Unix & Linux Stack Exchange
    ▻https://unix.stackexchange.com/questions/332641/how-to-install-python-3-6/332658#332658

    Utiliser python 3 par défaut (python 2.7 n’est plus supporté)

    #python #howto #debian

    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @touti
    vide @touti 13/05/2020
    1
    @ericw
    1

    Extraction de données en CSV depuis un PDF
    Détection des cellules pour repérer le découpage des tables dans les pages
    ▻https://camelot-py.readthedocs.io/en/master/user/advanced.html
    ▻https://camelot-py.readthedocs.io/en/master/user/how-it-works.html

    $ python pdf_to_csv.py

    Contenu de pdf_to_csv.py
    import camelot
    file = "file.pdf"
    tables = camelot.read_pdf(file, table_regions=['81,475,761,86'], pages="1-end")
    tables.export("def.csv", f="csv", compress = True)

    Concaténer les cvs
    $ cat *.csv >merged.csv

    #camelot
    #python
    #pdf_to_csv

    vide @touti
    • @ericw
      EricW @ericw CC BY-SA 14/05/2020

      Oh pas mal ça. Je garde de côté.

      EricW @ericw CC BY-SA
    • @touti
      vide @touti 17/09/2020

      #OCR #OCR_pdf
      et sans #tesseract mais ça me sert à retrouver ce post

      vide @touti
    Écrire un commentaire
  • @b_b
    b_b @b_b PUBLIC DOMAIN 9/04/2020
    3
    @fredlm
    @cy_altern
    @kent1
    3

    Modoboa - Accueil
    ▻https://modoboa.org/fr

    https://modoboa.org/static/img/modoboa_text.png

    Une solution pour rapidement déployer et administrer un serveur de messagerie complet, compatible avec les dernières normes et optimisé pour la distribution et la protection de la réputation.

    Modoboa is a #mail hosting and management platform including a modern and simplified Web User Interface. It provides useful components such as an administration panel or a webmail.

    Modoboa integrates with well known software such as Postfix or Dovecot. A SQL database (MySQL, PostgreSQL or SQLite) is used as a central point of communication between all components.

    Modoboa is developed with modularity in mind, expanding it is really easy. Actually, all current features are extensions.

    It is written in #Python 3 and uses the Django, jQuery and Bootstrap frameworks.

    ▻https://github.com/modoboa/modoboa

    b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire
  • @olange
    Olivier Lange @olange CC BY-SA 16/01/2020

    « Perlin-range — Find the range of Perlin Noise values using automatic differentiation and gradient descent » by Rudi Chen, 26.04.2016–22.06.2017
    ▻https://github.com/rudi-c/perlin-range

    #perlinNoise #coherentNoise #valueNoise #generativeData #python

    Olivier Lange @olange CC BY-SA
    Écrire un commentaire
  • @stephane
    Stéphane Bortzmeyer @stephane CC BY-SA 16/10/2019
    2
    @ericw
    @cy_altern
    2

    “Researchers find bug in #Python script may have affected hundreds of [scientific] studies [in biology]”

    ▻https://arstechnica.com/information-technology/2019/10/chemists-discover-cross-platform-python-scripts-not-so-cross-platform

    “#Willoughby_Hoye” scripts used OS call that caused incorrect measurements on some platforms.

    The paper showing the problem: ▻https://pubs.acs.org/doi/full/10.1021/acs.orglett.9b03216

    The original paper with the bug: ▻https://www.nature.com/articles/nprot.2014.042

    #bug #science

    Stéphane Bortzmeyer @stephane CC BY-SA
    Écrire un commentaire
  • @severo
    severo @severo PUBLIC DOMAIN 7/10/2019
    4
    @linuxfr
    @simplicissimus
    @fil
    @7h36
    4

    Créer une application web avec Jupyter, ipywidgets et voilà

    ►https://linuxfr.org/news/creer-une-application-web-avec-jupyter-ipywidgets-et-voila-7b03d5dd-ab10-47

    #notebook #jupyter #python #standalone

    severo @severo PUBLIC DOMAIN
    Écrire un commentaire
  • @hlc
    Articles repérés par Hervé Le Crosnier @hlc CC BY 24/05/2019
    2
    @reka
    @grommeleur
    2

    Python’s creator thinks it has a diversity problem — Quartz
    ▻https://qz.com/1624252/pythons-creator-thinks-it-has-a-diversity-problem

    https://cms.qz.com/wp-content/uploads/2019/05/Guido-van-Rossum-e1558635088256.jpg?quality=75&strip=all&w=1400

    In a rare interview with the programmer in October last year, which was recently published on YouTube, he was asked about the lack of diversity among the people working on open-source programming languages. He noted that it was an issue, and said that those who ignore it, because open-source projects are available for anyone to contribute, are not seeing the full picture.

    “It’s not just joining a project that’s the problem, it’s staying in the project, which means you have to feel comfortable exchanging emails and code reviews… with people that you don’t know personally but you communicate frequently with online,” he said. Van Rossum thinks that these exchanges can be difficult for women because of unconscious bias and male-driven cultural norms within open-source communities.

    “It’s not just about writing the code, but you have stand up for your code and defend your code, and there is a certain male attitude that is endemic in many projects where a woman would just not feel comfortable claiming that she is right,” he explained. “A guy who knows less than that woman might honestly believe [he is right], so they present a much more confident image.” In his experience, van Rossum sees incompetent men’s ideas gaining acceptance more often than merited because they are more forceful in how they present them.

    Van Rossum believes that the different attitudes of women and men in programming communities is due to wider societal problems that we need to fix from the bottom up. “I’ve always felt that feminism was right and we need to change the whole society,” he said. In the meantime, he feels a responsibility to act in the places he has influence, like in the Python community.

    He believes the key to making open-source communities more inclusive is establishing (and enforcing) codes of conduct and mentoring. Van Rossum says that he now mentors women and underrepresented minority programmers. “But white guys can forget it,” he said. “They are not the ones who need it most.” (In typical programmer speak, he calls mentoring a “completely distributed, democratic approach.”)

    Rather, he thinks it’s important that men are educated about their biases. “[There are] some guys who are super defensive when you tell about this shit, but the majority of guys just don’t know any better,” he said. “The first time I heard the term unconscious bias was maybe five years ago and it was an eye opener.” It’s changed him, and he thinks it could change others.

    #Python #Logiciels_libres #Genre #Féminisme #Programmation

    • #programmer
    Articles repérés par Hervé Le Crosnier @hlc CC BY
    Écrire un commentaire
  • @simongeorges
    simongeorges @simongeorges CC BY 14/05/2019

    Utilisation de la vision par ordinateur pour redresser des images
    ▻https://makina-corpus.com/blog/metier/2019/redressement-dimages

    Dans un module de comparaison d’images, lorsque deux photographies ne sont pas cadrées de la même manière, non-superposable, c’est frustrant. On vous propose ici d’y remédier avec du redressement d’images par homographie.

    #Python #Machine_Learning #News_Item

    simongeorges @simongeorges CC BY
    Écrire un commentaire
  • @cy_altern
    cy_altern @cy_altern CC BY-SA 9/05/2019

    Can’t find Python executable «python» after installing · Issue #56 · felixrieseberg/windows-build-tools
    ▻https://github.com/felixrieseberg/windows-build-tools/issues/56#issuecomment-308739624

    Sous Windows ajouter Python à node.js via le paquet windows-build-tools

    #node.js #windows #npm #python #gulp

    • #Python
    cy_altern @cy_altern CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 19/04/2019

    How to Hire a Python Developer With Right Skill Set?
    ▻https://hackernoon.com/how-to-hire-a-python-developer-with-right-skill-set-764a12cc5b4f?source=

    https://cdn-images-1.medium.com/max/800/1*ZGK1PbAgmpMHTEty9WKTMQ.jpeg

    Bram Cohen has beautifully crafted Python language in a nutshell, as “simple, clean syntax, object encapsulation, good library support and optional named parameters”.Hence hiring a Python developer is the best approach for any company where it has a huge potential to grow any business to a great extent. Some of the pioneers in the technology industry like YouTube, Reddit, NASA, PayPal, Spotify, Quora etc are the popular projects that are built using Python language. Hire a python developer to get benefited from the compelling features of the Python program.Why Python is a preferable language among the companies?In the era of Artificial Intelligence and Machine Learning certain programming languages always have a standard demand in the market irrespective of the evolution of other niche (...)

    #hire-python-developers #python-programming #python-web-development #hire-python-programmers #python-web-developer

    • #BRAM
    • #Python
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 19/04/2019

    #python is First Step to Data Science
    ▻https://hackernoon.com/python-is-first-step-to-data-science-705911ddf5a1?source=rss----3a8144ea

    https://cdn-images-1.medium.com/max/1024/1*ngq2_x9qcIdc3VbC-ehRsw.jpeg

    The steadily increasing importance of data science across industries has led to a rapid demand for data scientists. It’s been said that the role of data scientist is the 21st century’s sexiest job title. If you wonder why it has become such a sought after position these days, the short answer is that there has been a huge explosion in both data generated and captured by organizations and common people and data scientists are the people who derive valuable insights from that data and figure out what can be done with it.If you go through some job advertisements for data scientists, you’ll see that expertise in data science and Python are considered as two of the most crucial skills described.In this post, we’re going to discuss why these skills are considered must for data scientists.1- What (...)

    #data-science #magnimind-academy #data-scientist #education

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @fil
    Fil @fil 16/04/2019
    4
    @recriweb
    @severo
    @reka
    @lluc
    4

    Pyodide: Bringing the scientific #Python stack to the browser - Mozilla Hacks - the Web developer blog
    ▻https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scientific-python-stack-to-the-browser

    https://hacks.mozilla.org/files/2019/04/pyodide-social.png

    Pyodide is an experimental project from Mozilla to create a full Python data science stack that runs entirely in the browser.

    #notebooks

    • #Python
    Fil @fil
    • @fil
      Fil @fil 17/04/2019

      ▻https://www.youtube.com/watch?v=iUqVgykaF-k

      Fil @fil
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 16/04/2019

    Our 25 Favorite Data Science Courses From Harvard To Udemy
    ▻https://hackernoon.com/our-25-favorite-data-science-courses-from-harvard-to-udemy-9a89cac0358d?

    Originally Posted HereLearning every facet of data science takes time. We have written pieces on different resources before. But we really wanted to focus on courses, or video like courses on youtube.There are so many options, it can be nice to have a list of classes worth taking.We are going to start with the free data science options so you can decide whether or not you want to start investing more in courses.Tip : Coursera can make it seem like the only option is to purchase the course. But they do have an audit button on the very bottom. Now, if you appreciate Coursera, by all means, you should purchase their specialization, I am still uncertain how I feel about it. But, I do love taking Coursera courses.Select the audit course option to not pay for the courseBootcamps and (...)

    #data-science #big-data #python #machine-learning #learning

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 15/04/2019

    Semantic Versioning 101
    ▻https://hackernoon.com/semantic-versioning-101-d2623083714b?source=rss----3a8144eabfe3---4

    https://cdn-images-1.medium.com/max/1024/1*hghixiKhRY9DV49-mZQGmg.png

    Semantic Versioning 2.0.0 (semver.org) is a robust and elementary standard that encapsulates a wealth of information about the software you’re publishing or consuming.Open source veterans know and understand the importance of this standard. If you’ve run a project in long-term maintenance mode, you come to realize its power one way or another. Still, enthusiastic, fast-moving dev teams like to find ways around this standard. I’ve seen more than a few engineers decide to invent their own ideas around major, minor, and patch increments. Their rationale is rooted in aesthetics or their own release schedule.A key principleAside from the concise and complete information at semver.org, it is critical to understand:Semantic versioning is for your consumers. It’s not for your release schedule or (...)

    #python #nodejs #open-source #software-development #javascript

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 11/04/2019

    10 Great Articles On Data Science And Data Engineering
    ▻https://hackernoon.com/10-great-articles-on-data-science-and-data-engineering-d5abdf4a4a44?sour

    https://cdn-images-1.medium.com/max/1024/0*J3WPoftH9XXeYr0I.png

    Data science and #programming are such rapidly expanding specialities it is hard to keep up with all the articles that come out from Google, Uber, Netflix and one off engineers. We have been reading several over the past few weeks and wanted to share some of our top blog posts for this week April 2019!We hope you enjoy these articles.Building and Scaling Data Lineage at NetflixBy: Di Lin, Girish Lingappa, Jitender AswaniImagine yourself in the role of a data-inspired decision maker staring at a metric on a dashboard about to make a critical business decision but pausing to ask a question — “Can I run a check myself to understand what data is behind this metric?”Now, imagine yourself in the role of a software engineer responsible for a micro-service which publishes data consumed by few critical (...)

    #python #big-data #machine-learning #data-science

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 11/04/2019

    Building a #serverless Data Pipeline with #aws S3 Lamba and DynamoDB
    ▻https://hackernoon.com/build-a-serverless-data-pipeline-with-aws-s3-lamba-and-dynamodb-5ecb8c3e

    https://cdn-images-1.medium.com/max/1024/1*X9L-plk6g5uDmDVdzYt1_g.jpeg

    AWS Lambda plus Layers is one of the best solutions for managing a data pipeline and for implementing a serverless architecture. This post shows how to build a simple data pipeline using AWS Lambda Functions, S3 and DynamoDB.What this pipeline accomplishes?Every day an external datasource exports data to S3 and imports to AWS DynamoDB table.PrerequisitesServerless frameworkPython3.6PandasdockerHow this pipeline worksOn a daily basis, an external data source exports data of the pervious day in csv format to an S3 bucket. S3 event triggers an AWS Lambda Functions that do ETL process and save the data to DynamoDB.Install Serverless FrameworkBefore getting started, Install the Serverless Framework. Open up a terminal and type npm install -g serverless to install Serverless framework.Create (...)

    #data-pipeline #python #lambda-layer

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 11/04/2019

    Running #selenium and Headless Chrome on #aws Lambda Layers
    ▻https://hackernoon.com/running-selenium-and-headless-chrome-on-aws-lambda-layers-python-3-6-bd8

    https://cdn-images-1.medium.com/max/1024/1*l0FnCCMp2w-RmMeJUzL2cA.png

    Selenium and Headless Chrome on AWS Lambda LayersAWS has extended the timeout limit for Lambda functions from 5 to 15 minutes, also AWS released new Lambda layers feature at re:Invent 2018, with these new features, we can now move Selenium tests to server-less frameworks without any performance issues!After many attempts of using different version of chrome drivers and binaries — I eventually find a way to get it work — ChromeDriver was able to run and interact with Headless Chrome inside a Lambda Layer.I created #serverless Framework (≥1.34.0) project to publish and use Lambda Layers with Selenium and Headless Chrome, thus team is able to do UI test using Python without running Selenium on server or local machine.Selenium and Headless ChromeIncompatible versions of serverless-chrome, (...)

    #lambda-layer #python3

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 8/04/2019

    #learning Data Science : Our Favorite Data Science #books
    ▻https://hackernoon.com/learning-data-science-our-favorite-data-science-books-d02ada5ed5d?source

    https://cdn-images-1.medium.com/max/333/1*-XAg1_6mb15xS2Hb8j91Hw.jpeg

    Originally Posted HereWhether you are just breaking into data science, or you are looking to improve your data science skills. Books are one great method to get a base level understanding of specific topics. Now, we personally believe nothing beats experience, but in lieu of that, taking a course or reading a book is a great way possibilities that you can build on later when you are trying to practically approach data science.In data science, there are many topics to cover, so we wanted to focused on several specific topics. This post will cover books on #python, R programming, big data, SQL and just some generally good reads for data scientists.Heads Up! — This post contains referral links from Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a (...)

    #big-data #data-science

    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 8/04/2019

    How I finally started learning new things like #cryptography
    ▻https://hackernoon.com/learning-new-things-like-cryptography-ebabc87c8b8?source=rss----3a8144ea

    https://cdn-images-1.medium.com/max/1024/1*HeSM0TsajTD1filvwyap9Q.jpeg

    My experience taking the course Cryptography I by Stanford as offered by Coursera.The first rule of cryptography is never to implement one yourself. “It’s going to get crushed to dust by anyone who knows what they’re doing”mithi/simple-cryptographyLife as I’ve known itI do believe that everyone deep down at one point in their lives has thought that Cryptography — the art of writing and solving codes — is fascinating and considered learning more about it. People want to keep secrets safe, and people want to know the secrets of others.When I was a young child, as a game, my friends and I used to make “cipher algorithms”. These were basically just substitution ciphers with a few complicated but totally useless rules added. It’s embarrassing and quite frankly stupid, but I guess we had fun like with most (...)

    #programming #security #python #tech

    • #coursera
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
  • @hackernoon
    Hacker Noon @hackernoon CC BY-SA 5/04/2019
    1
    @simplicissimus
    1

    #learning Data Science : Our Favorite #python Resources
    ▻https://hackernoon.com/learning-data-science-our-favorite-python-resources-from-free-to-not-877

    https://cdn-images-1.medium.com/max/518/1*TmwjhHeBOr1TNde_UbVMFQ.png

    Python is a common language that is used by both data engineers and data scientists. This is because it can automate the operational work that data engineers need to do and has the algorithms, analytics, and data visualization libraries required by data scientist.In both rolls, the need to manage, automate and analyze data is made easier by only a few lines of code. So much so that one of the books we have read and seen in many data focused practitioners libraries in the book Automate The Boring Stuff With Python.The book covers python basics and some simple automation tips. This is especially good for business analysts who work heavily in Excel.There are also books by O’Reilly that are also a great overview of the basics.You can start your list of books with the Python Cookbook. This (...)

    #programming #machine-learning #data-science

    • #Python
    Hacker Noon @hackernoon CC BY-SA
    Écrire un commentaire
0 | 25 | 50 | 75 | 100 | 125 | 150 | 175 | 200 | ... | 250

Thèmes liés

  • programminglanguage: python
  • #programming
  • #machine-learning
  • #data-science
  • #python
  • technology: machine learning
  • #python3
  • #deep-learning
  • technology: artificial intelligence
  • #news_item
  • #javascript
  • publishedmedium: machine learning
  • #coding
  • technology: machine learning
  • #data-visualization
  • #web-development
  • #artificial-intelligence
  • #technology
  • #software-development
  • #learning
  • position: major
  • company: python
  • company: google
  • #serverless
  • #aws
  • #github
  • technology: neural network
  • programminglanguage: c++
  • #hackernoon-top-story
  • company: github
  • programminglanguage: ml
  • #big-data
  • #docker
  • company: facebook
  • position: programmer
  • position: ceo
  • #cartographie
  • #edtech
  • technology: java
  • #algorithms